AutoHotkey Community

It is currently May 27th, 2012, 10:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: SetTimer question
PostPosted: June 28th, 2007, 9:44 pm 
I have a script that's just a bunch of commands in a loop.

I'd like to add a SetTimer to check for something every 5 min but .. I want it to interupt the loop immediately (critical).

What do I set the "Priority" too to make this happen?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 28th, 2007, 10:39 pm 
You don't need priority for this case, the timer will interrupt the loop right where it is, then continue it when the timer is finished.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2007, 2:31 am 
It doesn't do that though on a slow computer.

On a P3 800 laptop it takes about 2 min (after the timer goes off) for it to execute the timer subroutine.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 1st, 2007, 1:12 am 
Offline

Joined: June 27th, 2006, 2:38 pm
Posts: 385
Location: Canada
can you please post some of your code? (The relevant parts)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, tomoe_uehara, XstatyK and 64 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group