-
Posts
47 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by redwards
-
-
I know this isn't the full answer you are looking for but this is how I tell what version each macro is
Variable Set From Misc "Name of Current Macro" into %MacroName%
Variable Set String %Version to "v2014.04.28"
.
.
Log Messages to Default Error Log %MacroName% - %Version%
This writes to the standard log the name of the macro and it's internal version. I use the date I last made a change (Year.Month.Day). You can set %Version% to anything you like.
-
Thanks for the Checkbox article, I have never been able to figure a method to handle checkboxes.
-
I use the macro logs a lot. I'm not sure is this is a problem or not.
When a macro writes to it's log file, it appends it's Index number to the file name. For example if I had a macro called "MEP Report" and it's index was 100.
When it creates it's log file, it would be "MEP.Report100.txt"
Now if I call the macro "MEP Report" from a 2nd macro call "Test" and it's index is 50, the log file is different. In my case it was "MEP Report99.txt" (the index of the called macro less 1)
Is this bug or is this the way things should work?
-
I know you can print a macro from the editor. But I would like to print a listing of the variables.
In addition, place an indicator next to any variable not being used within the script
Please add this to the WISH LIST for future development
Thank You
-
I have this is a MEP script. It is a one liner (Text Box Display) - I use it a reference
ALLUSERSPROFILE = %ALLUSERSPROFILE%
APPDATA = %APPDATA%
LOCALAPPDATA = %LOCALAPPDATA%
COMPUTERNAME = %COMPUTERNAME%
COMMONPROGRAMFILES = %COMMONPROGRAMFILES%
COMSPEC = %COMSPEC%
HOMEDRIVE = %HOMEDRIVE%
HOMEPATH = %HOMEPATH%
OS = %OS%
PATH = %PATH%
PATHEXT = %PATHEXT%
PUBLIC = %PUBLIC%
PROGRAMFILES = %PROGRAMFILES%
SYSTEMDRIVE = %SYSTEMDRIVE%
SYSTEMROOT = %SYSTEMROOT%
TEMP = %TEMP%
TMP = %TMP%
USERNAME = %USERNAME%
USERPROFILE = %USERPROFILE%
WINDIR = %WINDIR%
Other Examples I've used are:
--- Desktop
%USERPROFILE%\Desktop\--- Documents
%USERPROFILE%\Documents\--- Favorites
%USERPROFILE%\Favorites\--- Pictures
%USERPROFILE%\Pictures\ -
The same holds true for VisualBasic 6. I always use the command If Len(variable) = 0 Than.
Numeric compare are much faster than string compare. I don't know what language Macro Express was created with but I guess the same holds true for that complier.
-
WOW. I didn't think this would be so big.
Anyway. To state the problem again. I have two macros, both have logging turned on. Macro A runs at 5:00 PM and Macro B runs at 9:00 PM. Below are the logs
02/24/2013 05:00 PM: Macro Started (Macro A)
02/24/2013 05:00 PM: Macro Completed (Macro A)02/24/2013 09:00 PM: Macro Started (Macro B )
02/24/2013 09:00 PM: Line 1: Macro Run
02/24/2013 09:00 PM: Macro Completed (Macro B )Why doesn’t Macro A record it has been run at 9:00 PM. You can see in Macro B's log, it run Macro A
-
On Microsoft's website, it lists the Windows Logo+A: Starts Accessibility Options (if installed)
-
Under Misc. Log All Errors
-
I've created a Macro and it is activated using a scheduled event. I need it to run twice a day so I made a 2nd Macro (again using scheduled event) to run the 1st.
When I look ate the log files I see
* The 1st Macro runs at it's scheduled time.
* The 2nd Macro runs at it's scheduled time.
Why dosen't the 1st Macro record anything in it's log about being run the 2nd time?
-
You could turn on "Log All Errors" on the Misc tab for the Macros you want to track or you use "Log All Errors" under Preferences, Playback, Misc.
This would record a brief message in a text file something like this
11/30/2012 10:05 AM: Macro Started (MACRO NAME)
11/30/2012 10:05 AM: Macro Completed (MACRO NAME)12/31/2012 10:05 AM: Macro Started (MACRO NAME)
12/31/2012 10:05 AM: Macro Completed (MACRO NAME)Would you then have to process these file(s) using a loop
-
How does one get updates for the portable version
-
You could copy the file to a temp folder on the local hard drive, then do your processing. When your done, delete the file.
This assumes your shared CSV files are static.
-
Not necessarily, it depends on your method. In cases like these you should clear the variable before reading the next batch in with the "Clear Variables" command.
And of course there's a much simpler way to avoid all these issues
Cory, you say there is a simpler way then leave us hanging with no answer. I read the forums for tips.
-
The 3rd line does a select all
Now that the text is selected, you need to copy it the the clipboard with either:
<control>c or MacroExpress command Clipboard Copy
Window Activate: Document - WordPad
Wait for Window Title: Document - WordPad
Text Type (Simulate Keystrokes): <CONTROL>a<DELETE>
Mouse Left Click
Clipboard Paste
The 3rd line should delete the text the 5th should do a past. It will not. But if I manually click in the wordpad window
it will do the delete and past.I have tried every thing in the last couple of hours.
-
-
I am trying to allow the user to select the folder to save a notepad file to.
I use the Variable Set String with folder prompt to get the path into %Foldername%.
When it comes time to save the processed file I have tried the "Open folder in explorer to" & "Change directory/folder to" to no avail.
I think Notepad defaults to the current user's "My Documents" folder. So any folder structure would start from there. And don't forget about networked drives. Why not just use <Ctrl><S> to bring up Notpad's save dialog box and let the user select the folder, yuo could pre-fill in the file name.
-
Can you share your macro file? I'll give a test
-
Is is better to set the global keystroke delay in MEP Preferences or set it inside each macro as needed. On my install of MEP the Preferences is set to 300 milliseconds which is most likely the default.
-
I use ClipMate v7 with MacroExpress Pro. The only time the two don't play well together is when I want to use a feature in ClipMate called PowerPaste. When I need the PowerPaste feature I disable MEP then re-enable after. But I use PowerPaste rarely. Other than that I run both together all the time.
-
Well thanks guys. It doesn't look like it's an easy thing to do. And sorry about misspelling the title, it should have read "Disable"
-
Why does this return a string in all lower case? When I look at the filname with Windows Explorer or xplorer2 (a 3rd parth file manager) both show the file as mixed case
-
I just noticed on ISS's site a link to a video where a guy wrote a macro to play
, has anyone else here seen this? Talk about a macro God! Is this one of the forum members?For some reason the attachment didn't take (the forum software didn't like the .RAR file format). Here is my 2nd try
-
I just noticed on ISS's site a link to a video where a guy wrote a macro to play
, has anyone else here seen this? Talk about a macro God! Is this one of the forum members?I downloaded this ages ago. I have attached the file
Create folder in current folder
in Macro Express and Macro Express Pro
Posted
Cory
Your "contact me" link for fine for me