Jump to content

confidentstrategery

Members
  • Posts

    9
  • Joined

  • Last visited

confidentstrategery's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Or, maybe decide the stopping index first, and then execute the while loop. Something like this: If $MODE = 1 Then $iStop = 5 ElseIf $MODE = 2 Then $iStop = 10 EndIf While $S < $iStop MsgBox(0, "..", "...") Wend
  2. I didn't find {BREAK} in the help file. Alternatively, maybe you can try: Send("{APPSKEY}") Send("r") to open up the context menu and select "Properties".
  3. If you want your script to open up notepad, you can try Run("notepad.exe"), then wait for the window to become active, then use Send() to send that information to notepad. But if you mean, you want to press a key and have that information typed out, then you probably want to change MsgBox to Send. Then put that inside a function. Then bind the function to a hot key. See HotKeySet in help file.
  4. Your $1 and $2 variables are defined inside the "MOB" section after "Then". So, if you enter the "POP" section, the "MOB" section never got executed, meaning the variables were never defined. If you need $1 and $2 always defined, then you need to bring those two declarations to the top level, outside of the "MOB" section.
×
×
  • Create New...