AutoHotkey Community

It is currently May 27th, 2012, 7:31 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: June 29th, 2006, 7:51 pm 
Offline

Joined: June 29th, 2006, 7:41 pm
Posts: 1
I am getting an error after I record commands using the AutoScriptWriter. It records fine but I get the following error when I run it:


Error: Requires at least one of its window parameters.

Line#
---> 001: WinWait,

The program will exit.


Appreciate any info to fix this. Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 29th, 2006, 9:22 pm 
Offline

Joined: March 2nd, 2005, 10:59 am
Posts: 59
just look into the help.
its very good explained
syntax:
WinWait [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
ciao
Michael


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2006, 10:14 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
This issue can occur when the active window has a blank title. If you confirm via Window Spy that the window does indeed have a blank title, you could try using the ahk_class method instead. For example:
WinWait ahk_class Notepad


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: HotkeyStick, oldbrother, sjc1000, SKAN, thor and 62 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