Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Workspace Macro
Register FAQ Search Today's Posts Mark Forums Read

Workspace Macro Post messages and questions related to Macro Recorder or Windows Macro here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2009, 06:17 AM
cbyrne cbyrne is offline
Junior Member
 
Join Date: Jun 2009
Posts: 1
Default Run Macro fails to launch "Run" command

I programmed a macro that go to "Start", "Run", then opens a program from command line. Once open and appropriate wait times completed, it closeds the program.
It runs successfully when I run it manually after recording. For some reason, though when I leave it to run on a schedule, it kicks off at the correct time, but never gets to the "Start", "Run" location properly, thus errors out because it never opens the "Run" window. If I leave the command window open, it works fine.

It seems like when it runs from the schedule, it loses its position on the screen, thus doesn't locate the "Start" menu and execute the "Run". Also, once it has failed in this manner, I can no longer run it manually either. It fails for the same reason.

Is it possibly something with the machine getting logged out and back in that might be causing it to lose its locational reference ? Any quick tips one could suggest to rectify this issue ?

Thanks,
chris
Reply With Quote
  #2 (permalink)  
Old 06-30-2009, 12:59 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,337
Default

Following are few points that should be considered while recording a macro for its errorless execution.

1) While recording we recommend using more of keyboard short cuts instead of mouse clicks as they are more reliable than mouse moves/clicks irrespective of change in screen resolution or window size. Mouse clicks/moves are subject to work on a screen resolution they were recorded on. However, keystrokes will work as expected no matter whatever screen resolution you set to. For e.g. Up/Down arrow key would work in a reliable way than using mouse to scroll in an excel sheet.

2) While recording after you perform an action, wait for few seconds so that command gets enough time to execute on replay. Insufficient delay can skip any command and hence can mess up the commands. After recording, you can also edit your macro through Tools->Macro Editor to insert Delay command (Available in Workspace Macro Pro 6.5).

3) Using Workspace Macro Pro you can edit mouse clicks to perform activities relative to windows. Please follow the steps given below:
. Double click on Mouse Click command.
. Click on 'Advanced' button.
. From 'Relative To' frame select option 'Window' and save the command.
. Perform the above steps for every Mouse Click command in question.
. Save the macro and run it.

4) Here is a link to best practices for our macro products, Workspace Macro 4.6 and Workspace Macro Pro 6.5

http://www.tethyssolutions.com/bestpractices.htm

Hope that helps!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved