Search found 16 matches
- Thu Sep 16, 2010 5:57 pm
- Forum: Technical / Scripting
- Topic: send string to Command Prompt window with embeded quotes
- Replies: 5
- Views: 6680
Thanks to adroege for a very good suggestion. In my application I need to send text to the Console window that has very long and complex strings. These contain embedded spaces and also embedded double quotes. I made the adroedge example into a full macro then complied it into MyCommand.EXE. Here is ...
- Thu Sep 16, 2010 5:02 pm
- Forum: Technical / Scripting
- Topic: Return error messages from Command Prompt window?
- Replies: 6
- Views: 7922
Thanks much for the suggestion. I have verified that the > method works. It turns out I need to capture Standard Out and also Standard Error, so the Scheduler code is modified as follows: setfocus>C:\WINDOWS\system32\cmd.exe* sendtext>%mycommand% >> C:\Temp\Statusmsg.txt 2>&1 In this example, The Co...
- Wed Sep 15, 2010 2:34 pm
- Forum: Technical / Scripting
- Topic: Return error messages from Command Prompt window?
- Replies: 6
- Views: 7922
- Wed Sep 15, 2010 2:33 pm
- Forum: Technical / Scripting
- Topic: send string to Command Prompt window with embeded quotes
- Replies: 5
- Views: 6680
- Wed Sep 15, 2010 2:14 pm
- Forum: Technical / Scripting
- Topic: Return error messages from Command Prompt window?
- Replies: 6
- Views: 7922
Return error messages from Command Prompt window?
If a command is submitted to the Command Prompt Window from Macro Scheduler, is there a way to detect and return error messages? Here is a typical string being sent to the Command Prompt: runprog.exe -a -f "C:\My Folder\filename.txt" Note that this command string runs an EXE inside the command promp...
- Wed Sep 15, 2010 2:03 pm
- Forum: Technical / Scripting
- Topic: send string to Command Prompt window with embeded quotes
- Replies: 5
- Views: 6680
send string to Command Prompt window with embeded quotes
My string looks something like this:
runprog.exe –a –f “C:\My Folder\filename.txtâ€
runprog.exe –a –f “C:\My Folder\filename.txtâ€
- Tue Sep 29, 2009 11:05 am
- Forum: General Discussion
- Topic: compile options line keeps accumulating
- Replies: 2
- Views: 4389
compile options keep accumulating
Yes thanks, that is clear.
-Greg
-Greg
- Mon Sep 28, 2009 5:28 pm
- Forum: General Discussion
- Topic: compile options line keeps accumulating
- Replies: 2
- Views: 4389
compile options line keeps accumulating
Here is a sample of the first line in a macro written in MS Pro, after several times using "create exe" from the Tools Menu Bar: // COMPILE_OPTS|C:\Catia_Libraries\OtherApp-Startup\Power_Copy\PowerCopy.exe||CONSOLE=0|INCLUDES=1| /LOGFILE=\dev\nul /HIDE /LOGFILE=\dev\nul /NOSYSTRAY /HIDE /LOGFILE=\de...
- Mon Aug 10, 2009 3:43 pm
- Forum: Technical / Scripting
- Topic: How can I retrive values from MacroScheduler's .EXE call?
- Replies: 2
- Views: 4016
Thanks, that is exactly what was needed.
Thanks, Bob
For my particular application, a simple text file will be OK.
I know what to do now.
Greg Papp
For my particular application, a simple text file will be OK.
I know what to do now.
Greg Papp
- Mon Aug 10, 2009 12:58 pm
- Forum: Technical / Scripting
- Topic: How can I retrive values from MacroScheduler's .EXE call?
- Replies: 2
- Views: 4016
How can I retrive values from MacroScheduler's .EXE call?
I use Macro Scheduler Pro to make .EXEs and they work very well.
I know that I can pass values into MacroScheduler using the argument list, but I would like to know how I can pass values (or strings) back to a Vb6 calling program.
Thanks,
Greg
I know that I can pass values into MacroScheduler using the argument list, but I would like to know how I can pass values (or strings) back to a Vb6 calling program.
Thanks,
Greg
- Thu Jul 17, 2008 11:03 am
- Forum: General Discussion
- Topic: Can I disable keybaord and mouse when running a macro?
- Replies: 2
- Views: 5514
blocking mouse & keyboard
Thanks for the reply, BlockInput is exactly what I needed.
I checked the old release notes, but I did not check back far enough.
Have a good day,
Greg
I checked the old release notes, but I did not check back far enough.
Have a good day,
Greg

- Wed Jul 16, 2008 6:22 pm
- Forum: General Discussion
- Topic: Can I disable keybaord and mouse when running a macro?
- Replies: 2
- Views: 5514
Can I disable keybaord and mouse when running a macro?
Please excuse me if this has already been covered. I was hoping that Macro Scheduler had an environment setting to do this. All I can find so far is from Bob Hansen on Oct 31, 2003, that refers to a link at: http://home.att.net/~geekStuff/wshBlockInputPage.htm Unfortunately, this link is not accessi...
- Wed Apr 12, 2006 7:31 pm
- Forum: Technical / Scripting
- Topic: Can't get AutoLogin to work
- Replies: 2
- Views: 6454
Can't get AutoLogin to work
I have Windows XP Pro, and am running Macro Scheduler 8.0.1. Here is what I have done so far: 1. Turned OFF the windows welcome by unchecking the box "Secure Logon" (by the way, this is found in Settings->Control Panel->User Accounts->Advanced). 2. In Macro Scheduler, I turned ON the Scheduling Serv...
- Thu Aug 04, 2005 7:13 pm
- Forum: Technical / Scripting
- Topic: Cannot place data from a variable into a Dialog Edit box
- Replies: 2
- Views: 4559
Cannot place data from a variable into a Dialog Edit box
Thanks for the suggestion, I will try it out soon.
-gpapp
-gpapp
- Thu Aug 04, 2005 6:17 pm
- Forum: Technical / Scripting
- Topic: Cannot place data from a variable into a Dialog Edit box
- Replies: 2
- Views: 4559
Cannot place data from a variable into a Dialog Edit box
Here is how the edit box is declared inside Dialog1 in my code: Edit=msEdit1,264,184,57,erow when the macro starts, I set the following: let>erow=5000 Show>Dialog1, result But the text does not appear. I also have tried the following without success: let>Dialog1.msEdit1=erow Show>Dialog1, result Any...