Search found 11 matches
- Tue Jan 31, 2006 5:17 pm
- Forum: Technical / Scripting
- Topic: Don't run a script if another's still running
- Replies: 2
- Views: 4773
Thank you, it's not quite what I thought I was looking for! I was expecting some sort of external program setting, but using a sync is very sensible! I modified it slightly to use an If statement that then made a log (bigScript still running, exiting script) and then Goto>endscript. This way it won'...
- Tue Jan 31, 2006 3:16 pm
- Forum: Technical / Scripting
- Topic: Don't run a script if another's still running
- Replies: 2
- Views: 4773
Don't run a script if another's still running
I'm using Suresync Scheduler to call upon a MS script at midnight using the format: "c:\dir\msched.exe" c:\dir\runBigScript.scp This task can take quite a while, and is taking longer each time it is run every night. We have another script (runSmallScript.scp) that is run by Suresync Scheduler on the...
- Fri Dec 16, 2005 4:34 pm
- Forum: Technical / Scripting
- Topic: LibFunc>user32 - reading data
- Replies: 6
- Views: 8350
- Fri Dec 16, 2005 4:33 pm
- Forum: Technical / Scripting
- Topic: IfWindowOpen jumps to False Statement
- Replies: 5
- Views: 7354
Your solution does away with the IF statement. I'm only trying to close the window IF it is open - and I won't know that it is open for sure. Focusing it isn't a problem, I can do this. And this is what I do JUST before calling the Login Window (the other instance of this problem). I focus on it, th...
- Fri Dec 16, 2005 4:18 pm
- Forum: Technical / Scripting
- Topic: LibFunc>user32 - reading data
- Replies: 6
- Views: 8350
- Fri Dec 16, 2005 3:54 pm
- Forum: Technical / Scripting
- Topic: LibFunc>user32 - reading data
- Replies: 6
- Views: 8350
Basically, I'm trying to copy into a variable in the script the error code (005) and the error message (Connection refused for user USER. Enter another username or another password) from the open window. The details of the open window are here below (taken from your Open Windows program): 1771330 - ...
- Fri Dec 16, 2005 3:46 pm
- Forum: Technical / Scripting
- Topic: IfWindowOpen jumps to False Statement
- Replies: 5
- Views: 7354
Hiya, I'm running the new Macro Scheduler Pro v.6.0 beta 007. We do own a previous version, but I thought this would be better to play with! My aim is to close down a program called AGS before running some code. To do this the script does the following: 1 - checks that an instance of AGS is running,...
- Fri Dec 16, 2005 2:50 pm
- Forum: Technical / Scripting
- Topic: Can't Focus on a window without title.Focus using ClassName?
- Replies: 3
- Views: 5896
- Fri Dec 16, 2005 2:49 pm
- Forum: Technical / Scripting
- Topic: LibFunc>user32 - reading data
- Replies: 6
- Views: 8350
LibFunc>user32 - reading data
Hi again, I would like to be able to read more information from a program in use. When it returns an error window, I would like to log the details of the error (error number - listed in the title - and the error description - listed in one of the "Static" fields). I was very helpfully provided with ...
- Fri Dec 16, 2005 2:39 pm
- Forum: Technical / Scripting
- Topic: IfWindowOpen jumps to False Statement
- Replies: 5
- Views: 7354
IfWindowOpen jumps to False Statement
Hi there, I have 3 uses of IfWindowOpen. The first works, the other two jump to the False statment. Note: If you would like the full code to look over, can you please give me an email address to send it to as I don't want to paste it ALL on here. Thank you. Repeat>loopCount // If Error window open, ...
- Fri Dec 09, 2005 1:21 pm
- Forum: Technical / Scripting
- Topic: Can't Focus on a window without title.Focus using ClassName?
- Replies: 3
- Views: 5896
Can't Focus on a window without title.Focus using ClassName?
I have a problem... I am trying to ensure that a program on our server, AGS, is closed before processing another instance of AGS. The trouble is, if it is logged in I can close it no problem (ALT + fx), but if it is only at the login screen - I just need to focus on it and Press ESC or Cancel. But t...