Jump to content
Macro Express Forums

eatc7402

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by eatc7402

  1. Is there option to set somewhere that will cause the ME editor window to MINIMIZE when it begins to run a macro? I've looked but did not seem to find it. eatc7402
  2. It turns out that the intention of leaving the PSP7 App open was to avoid the 5 second delay required to avoid the time the 'splash screen' was open for. It urnes out the splash screen can be turned off in the apps preferences. That then makes it much more acceptable to open and close the app each time passing %T1% param each time .
  3. If I use Activate or Launch with a %T1% command line parameter in a Repeat with Folder loop and CLOSE app in the loop reopening it every time' it seems to work as expected... opening a new file each time. As in the following code.. // A macro to open and resize jpg into thumbnails - dbf - 2009-07-09 // first loop thru dir and get rid of thumb.db if there Repeat with Folder If Variable %T99% = "thumbs.db" Text Box Display: Delete File or Files: "thumbs.db" End If Repeat End // now loop thru the dir and process the image files Repeat with Folder Clipboard Copy Text Box Display: // If PSP Is Already Running, There Will Be No Splash Screen to Wait For. If Window Title "Jasc Paint Shop Pro - " is running Variable Set String %T1% "Skip Delay" End If // / Activate or Launch: "Jasc Paint Shop Pro" OR "psp.exe" // wait for aadvertising window to disapper If Variable %T1% <> "Skip Delay" Wait Time Delay 5 Seconds End If Text Type: <SHIFT>S Wait For Window Title: "Resize" Get Control %C1% (Resize: Button) Set Focus to %C1% Text Type: <ENTER> Delay 1 Seconds // do save as... Text Type: <F12> Wait For Window Title: "Save As" Get Control %C2% (Save As: Edit) Set Focus to %C2% Text Box Display: Variable Get Control Text: %C2% to %T1% Text Type: TH-%T1% Delay 0.5 Seconds Pause: Basic Text Type: <ENTER> Wait Window Lose Focus: "Save As" Delay 0.5 Seconds Text Type: <CONTROL><F4> Pause: Basic End Case End Switch Pause: Basic Program Shut Down: "Jasc Paint Shop Pro" Repeat End Delay 3 Seconds But if I move the Program Shut Down: "Jasc Paint Shop Pro" outside of the Repeat with Folder loop leaving it open. it appears not to precess the NEXT %T1% file in the loop, and files 2 thru x do not get opened. Is this EXPECTED behavior??? Do you have to clear the %T1% variable to get the Activate part of Activate or Launch to process the variable?? Because it seems not to be processing it. eatc7402
  4. yesw u r correct, and ill fix THAT. but my propblem is it wont enter the CASE at all... and thats what is puzzleing me. But thanks for sure. eatc7402
  5. When processing a dir full of image files i keep running into the thumbs.db file as part of the file list. im trying to get rid of it so i dont process it as anm image... with.. Text Box Display: If Variable %T1% = "C:\eaahmpg\work3\thumbs.db" Text Box Display: End If Switch (T1) Case: C:\eaahmpg\work3\thumbs.db Text Box Display: Delete File or Files: "%T1" Program Shut Down: "Jasc Paint Shop Pro" End Case End Switch The 'if' works... but the CASE doesnt... hmmm. Whats wrong with my case?? ive triede adding quotes, = . but cant seeem top figure it out.
  6. yes , you were correct, a search found the .mex file... in a ' strange' place but it was found. I will 'adjust' my save a copy proceedures accordingly. eatc7402
  7. well i opened ME today, and ALL the macro i hd been working are GONE. no explanation, but the macros and catagories all dissapeared AFTER running thee samples.nex file. eatc7402
  8. well i manged to get focus but the control does not seem to react to typing... ive changed to the following but theres nop reaction to the 'enter' text... Activate or Launch: "Jasc Paint Shop Pro" OR "psp.exe" // wait for aadvertising window to disapper Wait Time Delay 5 Seconds Text Type: <SHIFT>S Delay 0.5 Seconds Get Control %C1% (Resize: ) Wait for Control %C1% to gain focus Text Type:<ENTER> Delay 1 Seconds eatc7402
  9. Im attempting to set focus to a control with no luck... using the following. Doesnt seem to work. Activate or Launch: "Jasc Paint Shop Pro" OR "psp.exe" Text Type: <SHIFT>S Get Control %C1% (Resize: ) Set Focus to %C1% the Resiize control does get activated correctly, but i cant to get the focus on it to perform furthur operations. eatc7402
×
×
  • Create New...