![]() |
| |||||||
Workspace Macro Pro - Automation Edition Post messages and questions related to Macro Software for Windows Automation here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hello. I am upgrading to WM-pro after being frustrated with WM-standard. To save me from more days of experimenting, can someone please tell me if WM-Pro can solve the following problems? I use WM to help me play online games. I can easily program WM to choose certain game windows from another program, open that window for 15 minutes, then close it, etc. The problem... Inevitably, a certain game is no longer available (they come and go) or there is an internet disconnection, or the game window simply fails to open... Result is that Workspace Macro shuts down because it "can't find window..." If WM would just go on to the next click-sequence as programmed--no problem! OR... if WM would shut down every window on the desktop, then shut down--so it could restart fresh--no problem! Instead, with WM-standard, the macro just stops in the middle. And it cannot restart, because then it trys to open the master program that is already open. And that causes error messages, etc. So I need either.... a. If the macro does not find a window to close... just proceed to next click sequence (which will tell it to close the main window)... do not stop... ...Or... b. Before running the main macro every hour, run another macro that "finds every window that is open and closes it, regardless of what it is." (Then I can be sure that if anything goes wrong, all the error windows will be closed and within an hour, the macro will be running again with a clean slate.) Can this be done with WM-pro? Thank you anyone. ...P.S... Some windows fail to close for no apparent reason. Sometimes it works, sometimes it doesn't. But I seem to be making headway by "scheduling" the macros. I make the main macro 27 minutes, and run every 30 minutes starting at 00.00.00 hours every day. (This requires using the Windows XP control panel to modify further the "schedule" that is produced by Workspace.) Then I made 2 separate extra "window-closer" macros, every 30 minutes, starting at 00.28.00 hours and 00.29.00 hours. It is a bit comical because if the "smart macro" cannot find the window it is supposed to close--i.e., if the closing is not needed because the window closed properly in the main sequence--then for one program, the macro reopens the window so that it can close it. I did not expect this and I hope all these 48 extra opens and closes daily don't wear something out...! So far this works. But can the pro version be told not to reopen the window if it is already closed...? (For the other program--if the window is not found open, the macro produces a temporary error message, "Can not find program..." This is more what I expected and is no problem at all.)
__________________ Smallmac Last edited by smallmac; 02-21-2010 at 11:09 PM. |
| |||
|
Hello, Unfortunately, Workspace Macro 4.6 does not provide editor to insert the conditional command. However, our advanced macro product, Workspace Macro Pro does provide macro editor and 'If Window Exists' conditional command to check if particular window is present then take the necessary actions inside If-Endif block. If you want to perform certain actions only if certain window exist or does not exist then you can use conditional If-Endif commands. You can also wait for a condition to be true. Let's say you want to perform some action only if a window exists. You know it might take anytime between 5 seconds to 5 minutes for that window to come up.Workspace Macro Pro takes care of this. In the textbox in the If command, specify the maximum time (in seconds) up to which you like to wait for the window to appear. Let us say 5 minutes i.e. 300 seconds. Workspace Macro Pro will keep on checking for the window up to 300 seconds and as soon as the window appears, will execute actions within the conditional commands. So in this case, it will wait only 30 seconds and then performs the actions. If you leave the textbox empty or provide 0 then Workspace Macro Pro checks the condition right away and if it is met it will execute the actions otherwise it will skip those actions and proceed to actions after Endif. To see the demo on how to use Workspace Macro Pro click on below given link: http://www.tethyssolutions.com/ProDemo.html Create macro in minutes using templates, http://www.tethyssolutions.com/autom...tplace-wmp.htm Below link shows few specific examples of how Workspace Macro Pro's advanced features can be used. http://www.tethyssolutions.com/macro-examples.htm Hope that helps. |
| |||
|
Thank you that has been helpful... But further testing has produced another problem: freeze-ups of the subject programs. I definately need something to "close" any and all open windows. This gets tricky with freeze-ups because of the annoying "do you want to inform Microsoft" windows. etc... I see that WM-Pro has an "auto shut down" template. Could I easily edit this so it does not shut down the computer--but just closes any open programs (whether or not they are frozen)? Thank you.
__________________ Smallmac |
| |||
|
Hello, You can try inserting 'Close Window: Close All Open Windows’ command to close all open windows. You can find this command under Commands section in Macro Editor. Just double click the command and select 'close all open windows' option from drop-down. |
![]() |
| Thread Tools | |
| Display Modes | |
| |