Search found 3455 matches

by JRL
Wed May 18, 2005 2:35 pm
Forum: Technical / Scripting
Topic: Debugger not resolving %SCRIPT_DIR% correctly
Replies: 4
Views: 6283

Sorry, I guess I didn't read your initial post carefully enough. When you are running the macro in the editor what does the Watch List tell you the value is for "SCRIPT_DIR"? If it tells you you are currently in the "Finacials" directory then I think only support can help you. If it says you are in ...
by JRL
Wed May 18, 2005 2:21 pm
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 10998

Can you use the stringreplace command to remove any slashes from the variable before it is passed to the macro? Then use the stringreplace comand within the macro to put the slashes back.

Hope this was helpful,
Dick
by JRL
Wed May 18, 2005 1:45 pm
Forum: Technical / Scripting
Topic: Debugger not resolving %SCRIPT_DIR% correctly
Replies: 4
Views: 6283

Just a thought. Spaces in file names and directory names are sometimes a problem. Does it work correctly if you rename the file:

Open_Security.scp

Hope this was helpful,
Dick
by JRL
Mon May 16, 2005 5:20 am
Forum: Technical / Scripting
Topic: FTP up multiple files?
Replies: 5
Views: 6982

Untested but depending upon how your particular OS handles ftp it should be close. Wait times may need to be adjusted. Let>file_list=//file with each of the file names listed line by line //in this example files names only, exclude the path. Let>dir_files_are_in=//path to drive and directory where t...
by JRL
Fri May 13, 2005 4:58 pm
Forum: Technical / Scripting
Topic: Character problem within a variable.
Replies: 8
Views: 10998

Could not find a way to make the text pass specifically but this technique might work as a workaround to the problem. //Instead of //Let>var=/abc /cbs /nbc //Use Let>var=~abc ~cbs ~nbc deletefile>c:\grouptestmacro.scp //then do a StringReplace in the to-be-run macro Writeln>c:\grouptestmacro.scp,res...
by JRL
Fri May 06, 2005 5:15 am
Forum: Technical / Scripting
Topic: Need Help With Dialog
Replies: 12
Views: 12998

This is an example of a Dialog that will complete and close whenever the Enter key is pressed. This is intended as a proof of concept and has not been thoroughly tested. You may have to find your msched.exe file and change the path to it in the macro to make this work on your machine. Mine is in the...
by JRL
Thu May 05, 2005 2:48 am
Forum: Technical / Scripting
Topic: Need Help With Dialog
Replies: 12
Views: 12998

Bad post. Please ignor.
Thanks,
Dick
by JRL
Tue May 03, 2005 3:21 pm
Forum: General Discussion
Topic: Macro date and time update without a save
Replies: 30
Views: 36247

Macro date and time update without a save

If I open Macro Scheduler, select a macro, open it in the editor, select some text, press CTRL+C to copy the text, exit from the editor without going anywhere near the file menu and without having pressed CTRL+S... The date and time on my macro is updated to the current date and time. Also, the date...
by JRL
Fri Apr 29, 2005 1:53 pm
Forum: General Discussion
Topic: Capture Dos Window
Replies: 7
Views: 9614

Is there a reason you need to stay in full screen mode? ALT + Enter will toggle a DOS window between full screen and a window. I tested calling ALT + Enter from a script while in full screen mode and it does make the session go to a window. Label>start SetFocus>Command* Press ALT Press Enter Release...
by JRL
Thu Apr 28, 2005 4:21 pm
Forum: General Discussion
Topic: Capture text in Dos Window
Replies: 4
Views: 7994

This works on my machine: SetFocus>Command Prompt* MouseMoveRel>15,15 LClick Wait>0.5 Press Down*7 Press Right Press Enter Wait>0.2 Press Shift Press Right*80 Press Down*30 Release Shift Press Enter You will have to setfocus on the correct window name and you might have to adjust the wait times or e...
by JRL
Thu Apr 28, 2005 1:51 pm
Forum: General Discussion
Topic: Capture text in Dos Window
Replies: 4
Views: 7994

Not sure what you mean by: I cannot get it with copying to the clipboard In the upper left hand corner of a DOS window there is an icon, it is part of the DOS window banner. If you pick on that icon you will get a menu. One item in that menu is "edit". If you pick "edit" you will see another menu it...
by JRL
Mon Apr 25, 2005 5:07 am
Forum: Technical / Scripting
Topic: Dialog box redefinition
Replies: 1
Views: 5037

Edit-1 Sept. 3,2005 A better example of what I'm trying to convey: DeleteFile>c:\~dialog~.scp Let>Wide=500 Let>High=300 Let>Xloc=200 Let>Yloc=100 Dialog>Dialog1 Caption=Repeating redefining dialog Top=%Yloc% Width=%Wide% Left=%Xloc% Height=%High% Label=Width of window,104,40 Label=Height of window,1...
by JRL
Thu Apr 21, 2005 2:59 pm
Forum: General Discussion
Topic: Virtual Key Problems
Replies: 2
Views: 5941

I could be wrong, its happened before, but I recall a discussion in this forum in which it was pointed out that the mouse virtual key codes do not work. I searched for this discussion and all I found was this: http://www.mjtnet.com/usergroup/viewtopic.php?t=140&highlight=virtual+mouse+key I do know ...
by JRL
Thu Apr 21, 2005 3:00 am
Forum: Technical / Scripting
Topic: Need Help With Dialog
Replies: 12
Views: 12998

Try this: Dialog>SatTrakInput Caption=SatTrak Input Screen Top=0 Width=416 Left=0 Height=138 Edit=DConfirmation_Number,16,40,185, Edit=DTicket_Number,16,80,185, Edit=DName,216,40,185, Label=S a t T r a k I n p u t S c r e e n,8,0 Button=Send To SatTrak,256,0,99,25,3 Button=Cancel,360,0,43,25,4 Edit=...
by JRL
Wed Apr 20, 2005 7:03 pm
Forum: Technical / Scripting
Topic: Dialog box redefinition
Replies: 1
Views: 5037

Dialog box redefinition

Why will this not work? (Abbreviated for clarity) Let>x=0 Label>start Let>x=x+1 Dialog>dialog%x% //dialog stuff EndDialog>dialog%x% show>dialog%x% Label>Actionloop GetDialogAction>dialog%x%,r //result stuff If>r=5,start If>r=6,end Goto>Actionloop Label>end When I try this I get the message: Error - ...
cron
Sign up to our newsletter for free automation tips, tricks & discounts