| View previous topic :: View next topic |
| Author |
Message |
YMP
Joined: 23 Dec 2006 Posts: 266 Location: Russia
|
Posted: Sun Oct 21, 2007 5:02 pm Post subject: |
|
|
| 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?
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 |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2739 Location: Australia, Qld
|
Posted: Mon Oct 22, 2007 1:03 am Post subject: |
|
|
| 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 |
|
 |
|