Jump to content
Macro Express Forums

Rossco

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Rossco

  1. Another simpler approach is to name or append the name of the file with a date stamp. Something like 20071011-083416 where you actually drill down to the second. This will guarantee uniqueness. Just use the Date/Time command under text to generate a string var.

     

    Hi Cory,

    thanks for the reply, I will give the time stamp a go....;-)

     

    cheers and regards

    Rossco

  2. Please post the relevant Macro Express code using the "
    [/b]" tags. It makes it easier to follow along.

     

    Hi Floyd,

    sorry about that...it may be better if I explain what I am trying to achieve in ME...

     

    I have a program that I am needing to export about 2 or 3 thousand files and after each file is exported it prompts for a file name to save it as. I type that file name then press enter to save it. as the file name does not need to reflect anything in particular, it can be anything, so I am using numbers...1, 2, 3, 4......25, 26, 27 etc, working up until the last file is exported.

     

    Currently I have ME doing the export part of the process, but I am manually tying in the name and pressing enter, then restarting the macro with the short keys etc.

     

    For me, the ultimate would be to have ME do everything and carry on until the last file was exported, but initially I would like to have it name the file automatically and press enter to save and I can restart the macro...

     

    I hope that explains things clearer.

     

    Cheers and regards

    Rossco

  3. This sounds fairly simple if you are going to use a single folder and a range of numbers for file names, say 0000.gif through 9999.gif. When you are ready to save a file, use the Repeat with Folder command to find the largest file number used to-date, add 1 to it, and then use the Text Type command to enter the name in the prompt field.

     

    Hi,

    I am trying to do a similar thing, renaming files autmatically after I have exported them out of a program, but can't seem to get my head around how to do it....

     

    I use the Repeat with folder command, select the folder, then select Files Only and Filename Only and Place name in T1 then add a Variable Modify Integer command selecting Increment, variable to Increment N1

     

    Then Repeat End

     

    That's it and nothing aside from the export of the file and the save as command comes up but no number automatically input...

     

    I can't seem to see the wood for the trees in this one...can someone please help me out?

     

    cheers and regards

    Rossco

  4. Hi there,

    I have some macros that work great on the PC but fail on my laptop...I will explain as follows...

     

    I have a macro that moves mouse to tray icon, then Right clicks that icon, moves the mouse again to an area of the menu that comes up from right clicking the icon, then it needs to perform a Left click.

     

    This works great on my PC (running XP Pro SP2) and only partly works on my Laptop (also running XP Pro SP2)....when it comes to the Left click, it doesn't happen.

     

    I have redone the macro to have left button down then up, still does not work, and I have tried using keyboard text type command to hit the Enter key which also works fine on my PC, but not my laptop....

     

    ...is there something about the left click on laptops that is different to PC's (which I know sounds like a really dumb question)?....

     

    The Laptop is a Toshiba Satellite 17" Widescreen model.

     

    Cheers

    Rossco

  5. Hi there,

    I have been trying to figure out how I can use the "Move to Tray Icon" for the same icon but for 2 different names/titles...as follows.

     

    I want to move the tray icon to the Zone Alarm icon, which I can do, however when there is no network activity, the icon name is "ZoneAlarm Security Suite" but if there is network traffic, the icon name is just "Traffic"

     

    I have tried figuring out some if/else statements but can't seem to work around this issue....

     

    ....Is there a way I can tell the macro that if the icon reads as "Traffic or ZoneAlarm Security Suite" to still execute etc....?

     

    I have tried using partial match and adding the word "Traffic" to the words, but still no go..

     

    cheers & Regards

    Rossco

  6. Hi Joe,

    thanks for the reply. It doesn't launch a window, but it does create that icon in the system tray that says "Safely Remove Hardware"..

     

    In the meantime, I have done a work around for "If Folder Exists" and that folder being the drive letter of the usb drive when it is plugged in.

     

    Plus I have given it a complex pause, so if the folder does not exist, then the macro stops/aborts.

     

    Lengthy work around, but it seems to work.

     

    cheers

    Rossco

×
×
  • Create New...