AutoHotkey Community

It is currently May 23rd, 2012, 6:18 am

All times are UTC [ DST ]


Search found 15 matches
Search these results:

Author Message

 Forum: Support   Topic: Timeout

 Post subject: Error Popup
Posted: June 9th, 2009, 10:25 pm 

Replies: 3
Views: 215


Unfortunately that is indeterminate. The application seems to stop at a number of places so I can not easily determine presence or absence (actually I do detect lack of activity in window as below to know when the ocr is complete) Loop { Sleep, 6000 SetTitleMatchMode,2 ifWinNotActive,OCR {...

 Forum: Support   Topic: Timeout

 Post subject: Timeout
Posted: June 9th, 2009, 9:17 pm 

Replies: 3
Views: 215


The OCR conversion of documents using Autohotkey seems to work well, but occasionally seems to "get out of step" and the process freezes I am trying to write a timeout facility so that if the normal routine stops the name of the offending file is written to a text file and the autohotkey p...

 Forum: Support   Topic: Detecting no window changes for a period

 Post subject: Fixed
Posted: June 8th, 2009, 1:22 am 

Replies: 9
Views: 1018


By moving the function into the main script

 Forum: Support   Topic: Look for value from website to trigger AHK action?

Posted: June 7th, 2009, 10:02 am 

Replies: 5
Views: 2818


That he mentioned to me http://www.autohotkey.com/forum/viewtopic.php?t=22100&start=0&postdays=0&postorder=asc&highlight=regionwaitchange _________________ Steve F AKA Superfraggle http://r.yuwie.com/superfraggle If you know where the change appears then this may help to trigger from...

 Forum: Support   Topic: Detecting no window changes for a period

 Post subject: Error Message
Posted: June 7th, 2009, 4:57 am 

Replies: 9
Views: 1018


Just trying to use the code in the example #z:: #Include RegionWaitChange.ahk Run, notepad ; open notepad WinWait, Untitled - Notepad ; wait for window to exist ControlSetText, Edit1 ; delete any current text MsgBox, Notepad is empty`, press F12 to fill it with random text. ; monitor the region of 1...

 Forum: Support   Topic: Detecting no window changes for a period

 Post subject: Does this help
Posted: June 6th, 2009, 3:50 am 

Replies: 9
Views: 1018


Certainly does, exactly what I was after- thank you

 Forum: Support   Topic: Detecting no window changes for a period

Posted: June 5th, 2009, 5:24 am 

Replies: 9
Views: 1018


SetTitleMatchMode, 2 ; Work on abreviated title Loopcount:=0 IfWinActive, OCR { Sleep,1000 ;sleep 1 second Loopcount=Loopcout+1 IfWinNotActive, OCR ; if the top window becomes inactive { Loopcount :=0 ; reset the loop counter - can you do this ? } If %Loopcount%=10 { return ...

 Forum: Support   Topic: Detecting no window changes for a period

Posted: June 5th, 2009, 5:14 am 

Replies: 9
Views: 1018


If the top window is tiltled "OCR- Page 1 0f 5" then I am guessing the following code may work to detect if the application is idle SetTitleMatchMode, 2 ; Work on abreviated title IfWinActive, OCR { Sleep,1000 ;sleep 1 second IfWinInactive, OCR ; if the top window becomes inactive ...

 Forum: Support   Topic: Detecting no window changes for a period

 Post subject: Got Focus
Posted: June 5th, 2009, 2:52 am 

Replies: 9
Views: 1018


No control seems to get focus when process complete, but I do notice that the top window focus comes and goes during processing (Dark blue becomes shaded while the application is busy and focus is lost). So to know when I can safely close I probably need to check it the main window has the focus uni...

 Forum: Support   Topic: Detecting no window changes for a period

Posted: June 4th, 2009, 11:59 pm 

Replies: 9
Views: 1018


This automating an OCR application is driving me nuts. Main issue is that some conversions take seconds, other minutes depending upon the complexity. And this all happens in the same window (although the window title changes this does not reflect the activity) so I can not trigger off window changes...

 Forum: Support   Topic: Closing an application

Posted: June 4th, 2009, 9:54 am 

Replies: 3
Views: 265


Looking at the documentation some more 2: A window's title can contain WinTitle anywhere inside it to be a match. The * in WinWait, OCR* may be interpreted as a character, and possibly WinWait OCR will match all entries like "OCR Page1 Scan2" whereas WinWait, OCR* will not. Will try that a...

 Forum: Support   Topic: Closing an application

 Post subject: Thanks for your reply
Posted: June 4th, 2009, 5:06 am 

Replies: 3
Views: 265


Thanks for that suggestion- I will look more into how

Was trying to use

SetTitleMatchMode, 2
WinWait, OCR*
IfWinNotActive, OCR* , , WinActivate, OCR*,
WinWaitActive, OCR* ,
;saved - close application
Send, {ALTDOWN}f{ALTUP}x

But not sure if I have the SetTitleMatchMode correct

 Forum: Support   Topic: Closing an application

 Post subject: Closing an application
Posted: June 4th, 2009, 4:42 am 

Replies: 3
Views: 265


I am trying to automate an OCR Package It opens fine with calling the application EXE with "Run" and runs perfectly but I need to close the application, then re-open it passing in another file to convert I have tried "Winkill", "Send, {ALTDOWN}f{ALTUP}x","CloseApp&...

 Forum: Support   Topic: Detecting when cursor change is stable

 Post subject: Thanks
Posted: June 3rd, 2009, 10:36 pm 

Replies: 4
Views: 256


Marvelous - so easy for the experts

 Forum: Support   Topic: Detecting when cursor change is stable

Posted: June 3rd, 2009, 4:53 am 

Replies: 4
Views: 256


My Apologies if the answer to this is in a FAQ, but a quick search did not find it. In the application I am automating there are a whole series of windows that open and close, all with different names. The easiest way to detect when to do the next task is to wait till the cursor changes from an hour...
Sort by:  
Page 1 of 1 [ Search found 15 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group