Jump to content
Macro Express Forums

efreedus

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by efreedus

  1. This seems to work for me. Instead of listing the .exe as the program to execute, list the .lnk link. And before you do, edit the properties of the link under the compatibility tab to "Run as administrator". Until I did that, my macros that used to call up the .exe itself reported "couldn't find the path or file".
  2. Got it!!! <TVAR2:60:01:<IVAR2:98:13:%N70%\s>> Didn't know about that little \s !!!!! Finally saw reference to it in another posting. Hey, only took about three hours!
  3. I trying to get the integer position of the ")" in T71 (the variable I search increments to T72 , etc.dynamically). Separated for readability. <TVAR2:71:01:ASDF)ASDFASDF> <IVAR2:70:01:71> <TVAR2:60:01:<IVAR2:98:13:"%N70%"> <RUNMACVAR:60> ME crashes and closes. For the third line, I've tried to reference the T71 variable: "%N70%" %N70% 70 N70 I've tried storing %N70% to T70 and making the expression: <TVAR2:60:01:<IVAR2:98:13:"%T70%"> And without quotes <TVAR2:60:01:<IVAR2:98:13:%T70%> This last one doesn't crash but doesn't set N98 to anything when it should be 5. What am I missing?
  4. My macro opens emails in a folder and prints each into a separate Acrobat.pdf with "CE" followed by the date and time of the email in the filename. e.g. CE 20060819 8-03 PM.pdf I "grab" the time by opening the email, putting the cursor where the Date Sent always appear, copying to the Clipboard, parsing and tweeking the date and time, and printing to an Acrobat PDF file of that name. What I'm looking for is a way to get Outlook objects into some variables to put more info into the named PDF. I want: SenderName ReceivedByName Subject CreationTime So I thinking either a Macro in Outlook or VBScript (same as a macro?) or VBA code, etc written and "resident" in Outlook to be run as a macro or called by ME. Anyone have such code or point me in the right direction?
  5. The database program uses the F9 key to open a file that is listed in a field by running the program associated with the extension of the text in the field and opening that file. The database program uses the F9 ONLY when there is a certain view "documents". There is another view "Facts" where the F9 key does not do this. But by other mouse/key strokes, I can open the linked file just as F9 does. I've written a macro that does all those steps, but... I can determine which view I'm in and use logic to choose which program branch executes. If I see that the DBF is in the "documents" view, I would like the macro to text in "F9" and let the internal DBF function work. Since Macro Express traps the F9 keystroke, if I have the macro Key F9, the macro runs again (only once though and puzzles me but I don't care). I thought there'd be a "IF MACRO RUNNING" function, but not. I tried "disabling the F9 macro before "keying in the F9" but that doesn't seem to do it. I know I can adopt another hotkey altogether and either run my code or key in F9, but that's "inelegant" <g>. Is there a "key in 'non-macro triggering' text"?
×
×
  • Create New...