AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem to build a function to display a text to the screen
Goto page Previous  1, 2
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
YMP



Joined: 23 Dec 2006
Posts: 266
Location: Russia

PostPosted: Sun Oct 21, 2007 5:02 pm    Post subject: Reply with quote

lexikos wrote:

Yes.
Quote:

It can make scripts easier to create and maintain since the WinTitle and WinText of the target window do not need to be repeated for every windowing command.

Sounds like good advice to be giving beginners...

In Help we trust? Wink
I didn't actually mean remembering which commands can use it, but which window is LastFound at the moment, which commands update it and which do not. Sorry if I was unclear. To me it's a bother and probably another trap for a beginner.
Easier to create (less typing)? Maybe. And certainly harder to debug.
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 2739
Location: Australia, Qld

PostPosted: Mon Oct 22, 2007 1:03 am    Post subject: Reply with quote

Harder to debug? Not if used responsibly. It's easy - update LFW with (If)WinExist/Active, use it with everything else. If you have a hard time remembering if a command updates the LFW, don't rely on it doing so. Anyway, I'm sure each scripter can decide whether or not it suits them.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group