Jump to content
Macro Express Forums

floyd

Members
  • Posts

    292
  • Joined

  • Last visited

Posts posted by floyd

  1. I have two macros that I have to exacute. They work fine if I hold the keys for each one. F9 runs before I use F10. Is there a way to exacute the two macros with another Macro. I could use a different macro program to do this but I'm thinking Macro Express will do this. I tryied MacroRun with no luck.

    Macro Run certainly runs macros, but I'm not clear what you are attempting to do.

  2. I would do it like this:

     

    1. Start with a blank string

    2. Get the next server name

    3. Check if server name is in the string yet

    4. If it isn't, then append to string and add to notepad

    5. Loop to 2.

     

    Because sometimes the clipboard don't get the new server name. Don't know why...
    Probably need to add a delay after copying it to the clipboard.
  3. 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

    Please post the relevant Macro Express code using the "

    [/b]" tags. It makes it easier to follow along.
  4. Except for the Else command, there is no grouping. Macro Express will do the Boolean tests in the order they are written using the results of the first test (True or False) to compare with the next test, and so forth. In your example, if the N1 AND N2 test pass then both the N3 AND N4 and N5 AND N6 tests will be ignored.

  5. What is the mechanism for generating the shortcut files? Specifically when does it happen.

    It happens when you click the Apply button in Options->Preferences->Startup. If you open the folder where the shortcut link is kept (see Kevin above) you can see the change take place. If you uncheck Run on Windows' Startup and click Apply, you will see the shortcut link disappear, and vice-versa.

     

    In addition I would like to know what the contingency is for an existing shortcut. If, say, you change the command line parameter does it update the shortcut, generate a new one or what?

    Same goes for changes to the Command Line Parameters field. The shortcut link will be rewritten.

  6. That is odd. I was sure there was a /P. Maybe older versions of Word?

    No, not in any older version either.

     

    Bummer. Is there no way to do the print in Word?

    Yes. Namino has it right. Use the built-in Word Command macro. You will, however, need to wrap the full path document-to-print name in quotation marks within the Program Parameters field i.e "D:\BobsData\My Word\Computer\Sample Print.docx".

  7. VBScript lessons are beyond the scope of a Macro Express forum, but ...

     

    Within VBScript, you need to look at these three functions:

     

    DatePart - Returns the specified part of a given date.

    DateAdd - Returns a date to which a specified time interval has been added.

    DateDiff - Returns the number of intervals between two dates.

     

    What the heck does that mean; "intervals"? Well, an interval can be a year, quarter, month, day of year, day, weekday, week of year, hour, minute, or second. It simply depends on what you tell the command to return in relation to the function call.

     

    Hopefully Joe won't see this ;)

  8. Incrementing a counter each time through a loop is easy; just store the counter to a variable. Displaying the count is trickier because a text box cannot be "refreshed". You can, however, Use the Text Box Close command just prior to popping up a new text box. To avoid screen flicker, use the close command after popping up a new text box with a new variable. This works because Macro Express will close the first text box opened with identical, or empty, captions and not the last one.

  9. Creating a simple, but dynamic, multiple field input form based on parameters supplied by Macro Express (maybe in the format of an INI file) would not be all that difficult to do. It really depends on the end-game, or what you want to prevent the user from inputting.

     

    If it's just a basic form, you need variables for:

    • Width and height of the form (assume a center position on the display)
    • How many text input fields it contains
    • the X and Y coordinates of each each one for placement
    • The label and label position for each field (assume either left of, or above each field)
    • The minimum and maximum number of characters for each field
    • ... and so forth.

    Placing all of this information in an INI file is easy to do for Macro Express, as is generating the script on the fly that presents the form to the user. It's easier than it sounds. In fact, an INI file might be overkill. On the other hand, they are easy to maintain.

  10. Fan? Yes, going back, back, back, back to the Syd Barrett days. As to the 1982 flick/animation starring Bob Geldolf ... not corny to watch it at all (IMHO :-)

     

    Here in Cleveland we have a tribute band named "Wish You Were Here". They are really great and sound very, very much like the originals. They have a flying pig, all the lights, lasers, and circular screen. The show lasts for at least 3 hours. I personally think they sound better than "Aussy Pink Floyd" (whom are probably the most well-know P/F tribute band).

×
×
  • Create New...