Search found 12 matches
- Mon Mar 13, 2017 4:04 am
- Forum: Technical / Scripting
- Topic: Command line variable - how to check
- Replies: 3
- Views: 3983
Re: Command line variable - how to check
Excellent! I hadn't known about the Assigned function. It is perfect for checking the existence of a variable assigned by the command line or otherwise. Thank you!
- Sat Mar 11, 2017 2:54 pm
- Forum: Technical / Scripting
- Topic: Command line variable - how to check
- Replies: 3
- Views: 3983
Command line variable - how to check
When a compiled macro runs, sometimes it needs to check to see if a Command Line Parameter is present. Here is some code that illustrates how to check for a command line parameter: // COMPILE_OPTS|c:\programs\test.exe||CONSOLE=0|INCLUDES=1||RUNTIMES=1|BMPS=1 // Test for presence of a command line pa...
- Sat Mar 11, 2017 2:41 pm
- Forum: Technical / Scripting
- Topic: How to insert a column at the beginning of the sheet
- Replies: 1
- Views: 2412
Re: How to insert a column at the beginning of the sheet
The shortcut key combination, Ctrl-Shift-+ (Control Shift Plus) brings up a menu. Press C and Press Enter to insert a column. So the MacroScheduler code would look something like: Press Ctrl Press Shift // Insert a short delay after every Send command Let>SK_DELAY=20 Send>+ Release Shift Release Ctr...
- Wed Feb 29, 2012 10:26 pm
- Forum: General Discussion
- Topic: Bug in Crypt command
- Replies: 3
- Views: 15337
Crypt fails on these strings
Note: While writing this post and doing more testing, I discovered: The bug is limited to CRYPT_LEVEL 2. When CRYPT_LEVEL is 1 or 3, all is well. - - - - - The Crypt command always fails on every single string that I have tried when the second character is l (the lowercase letter L). So these string...
- Mon Feb 27, 2012 11:51 pm
- Forum: General Discussion
- Topic: Bug in Crypt command
- Replies: 3
- Views: 15337
Bug in Crypt command
I discovered what I believe is a bug in the Crypt command. It appears that the Crypt command chokes if the second letter of the text to be encrypted is the lower case letter "l". (That is l as in "low"). Crypt outputs just one character in this situation. I am not sure if this is specific to my envi...
- Fri Feb 25, 2011 4:36 pm
- Forum: Technical / Scripting
- Topic: Minimize and reuse a dialog
- Replies: 7
- Views: 8830
How do you hide a Dialog? Would I use: SetDialogProperty>Dialog1,frmDesign_1,Visible,False ? I assume I would need to use that code in the actions for each of my 3 buttons. But then I am not sure how the user could get back to the dialog. If I make the dialog visible again when a button's actions fi...
- Fri Feb 25, 2011 3:48 pm
- Forum: Technical / Scripting
- Topic: Minimize and reuse a dialog
- Replies: 7
- Views: 8830
Minimize and reuse a dialog
I am working on an app that is compiled as an .exe file. I would like the app to display a dialog with, say, 3 buttons and a Close button. Pressing any one of the 3 buttons performs a related task, such as setting focus on a Window and entering some test. After the user presses one of the 3 buttons,...
- Fri Jan 14, 2011 12:45 am
- Forum: General Discussion
- Topic: Video Tutorial - Custom Dialogs - Thank You!
- Replies: 1
- Views: 5989
Video Tutorial - Custom Dialogs - Thank You!
Marcus, thank you very much for the excellent two videos on Custom Dialogs! What a time-saver for learning to use their power. If you haven't seen them, go to: http://www.mjtnet.com/blog/2010/12/16/video-tutorial-an-introduction-to-custom-dialogs/ I really appreciate your responsiveness to customer ...
- Fri Jan 14, 2011 12:40 am
- Forum: Technical / Scripting
- Topic: Continue after DBQuery or DBExec
- Replies: 1
- Views: 2986
Continue after DBQuery or DBExec
The database functions in Macro Scheduler are wonderful: clear and powerful. Is there some way that a Macro Scheduler script can detect when a DBQuery on a MS SQL Server table has completed? Right now I am just having it wait 5 seconds. But if the query finishes quickly, I'd rather the user did not ...
- Tue Jun 15, 2010 12:37 pm
- Forum: Technical / Scripting
- Topic: How to move a macro to another linked folder
- Replies: 1
- Views: 3080
How to move a macro to another linked folder
I have multiple folders of linked macros. What is the best way to move a macro, such as diskspace.scp, from one folder to another.
It is not so simple as just moving the underlying file using Windows Explorer.
Thanks in advance.
It is not so simple as just moving the underlying file using Windows Explorer.
Thanks in advance.
- Fri Apr 07, 2006 4:06 pm
- Forum: General Discussion
- Topic: Increasing memory usage by looping macro
- Replies: 1
- Views: 4718
Increasing memory usage by looping macro
This macro checks for a particular open window. If it finds it, it does a Save operation (Ctrl-S). It waits for 5 minutes, then loops back and repeats the check and the Save, running until it is manually stopped. The RAM used by this macro increases a little after some but not all loops. Also, the a...
- Sat Mar 04, 2006 10:04 pm
- Forum: Technical / Scripting
- Topic: Roll the mouse wheel?
- Replies: 3
- Views: 10988
Roll the mouse wheel?
Is there any way to script the rolling of the mouse wheel forward or backward? I work with an application that changes the font size in a viewing window only if the Ctrl key is depressed and the mouse wheel is rolled forward. There are no other controls that affect the font size. Is there any chance...