Cheating Network
 
 

Go Back   Cheating Network > General Computing > Programming
Reload this Page AHK Help- Starting and Stopping scripts at certain times



Programming

This is a discussion about AHK Help- Starting and Stopping scripts at certain times within the Programming section, where you will Anything related to programming or scripting should go here.



Reply
 
LinkBack Thread Tools Display Modes
Old 03-09-2008, 07:07 PM   #1 (permalink)
Member
 
Join Date: Dec 2007
Posts: 90
Reputation: 0
ronaldo is an unknown quantity at this point
Default AHK Help- Starting and Stopping scripts at certain times

So i have my ahk script. Now i can use Windows Scheduler to start my ahk script say at 2 AM. My ahk script then runs and opens up a program that runs. Say i want everything to close out at 3:30 AM because i have another script scheduled to run at 4 AM. How would i go about doing this?
ronaldo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-09-2008, 07:11 PM   #2 (permalink)
Senior Member
 
Seatbelt99's Avatar
 
Join Date: Dec 2007
Location: Grand Rapids, MI
Posts: 1,069
Reputation: 68
Seatbelt99 will become famous soon enough
Send a message via AIM to Seatbelt99 Send a message via MSN to Seatbelt99
Default

why can't you run two scripts at once?

***As for an answer I will look it up in a bit, I am busy right now. Sorry**
__________________
Seatbelt99 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-09-2008, 07:18 PM   #3 (permalink)
Member
 
Join Date: Dec 2007
Posts: 90
Reputation: 0
ronaldo is an unknown quantity at this point
Default

I guess i could do this right?

At the end of my script i put a sleep for 3,600,000,000 (1hour)
and then after that just put WinClose the windows that are open?


Would that work if my mouse was being controlled by another program besides ahk?
ronaldo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-09-2008, 07:31 PM   #4 (permalink)
banned
 
hobdiddy's Avatar
 
Join Date: Dec 2007
Location: Los Angeles, CA
Posts: 766
Reputation: 132
hobdiddy will become famous soon enoughhobdiddy will become famous soon enough
Send a message via AIM to hobdiddy Send a message via MSN to hobdiddy
Default

uh, well is your script always repeating?
__________________
INSTANT PAYOUTS! JOIN TODAY!


thanks R3TLAW
hobdiddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-09-2008, 07:37 PM   #5 (permalink)
Member
 
Join Date: Dec 2007
Posts: 90
Reputation: 0
ronaldo is an unknown quantity at this point
Default

Quote:
Originally Posted by hobdiddy View Post
uh, well is your script always repeating?
no my ahk script is used to open up scar and programs like that, that use the mouse. So the sleep and close window should work even if the mouse is being controlled by another program other than ahk?
ronaldo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
ahk, scripts, starting, stopping, times


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rules for Starting a Conga Slingshot377 Conga Central 19 07-07-2008 08:47 PM
Hats off to LSC... lulz and good shipping times!!! sc4fpse Club Live 6 04-28-2008 02:16 PM
They're starting to be a little more reasonable Tyroz WebRidesTV 9 03-04-2008 11:32 PM
Previous user... starting back up? Sedivy94 Club Live 14 12-24-2007 01:24 PM


Powered by vBulletin
Copyright © 2000-2008 Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.