Jump to content
Macro Express Forums

shaidyn

Members
  • Posts

    14
  • Joined

  • Last visited

shaidyn's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Much obliged. I suppose I thought the %version% variable didn't exist until line two, so I couldn't reference it in line one. Thanks for the pointer. It works smoothly now.
  2. Hi there, folks, I'm making a little macro to launch various versions of an application I have. I'd like to set the default choice of the multiple choice menu to B. I've read the help file and the FAQ and the forum post, and they all say the same thing: Variable set string %T[1]% to B and you're golden. The problem is, I've done that (or at least I think I have) and it's not working. Here's my macro: <VARIABLE SET STRING Option="\x00" Destination="%T[1]%" Value="B" NoEmbeddedVars="FALSE"/> <MULTIPLE CHOICE MENU Style="\x00" Result="\x00" Dest="%version%" Title="Policy Manager Launcher" Prompt="Which version of CA Policy Manager would you like to launch?" Options="9.1\r\n9.2\r\n9.3" Left="Center" Top="Center" Monitor="0" Width="443" Height="296" OnTop="TRUE" Columns="Auto"/> <SWITCH Variable="%version%"/> <CASE Value="B"/> <ACTIVATE OR LAUNCH Title="CA API Gateway - Policy Manager 9.2.00" Exact_Match="FALSE" Wildcards="FALSE" Path="C:\\Program Files (x86)\\CA Technologies\\CA API Gateway Policy Manager 9.2.00.6809\\CA API Gateway Policy Manager.exe" Mode="\x00" Default_Path="TRUE" Wait="1" Wait_For_Program="12"/> <END CASE/> <END SWITCH/> If I've missed something simple, which I hope, please let me know. If not, I'd love some help getting the multiple choice menu to have the second option, 9.2, pre-selected. Thanks
  3. Hi there, folks, I have a macro that opens applications using the "Program Launch" command, and it works fine. I took one of said applications and made a shortcut for it, with the same name. I opened the Program Launch command window, rebrowsed to the location, and selected the shortcut. It changed the name to "Notepad.exe.lnk". When I run the macro, I get the following error: The following error was encountered: The program could not be launched "[File Path]\Notepad.exe.lnk" I know the file is there, and I know the shortcut and application both work. I can run the macro pointing at the application, but not the shortcut. Can macro express not launch shortcuts? Thanks.
  4. It's not in a web browser, so I'm not sure what it could be. Here's a picture of the error: Everything else on my machine doesn't seem to have a problem.
  5. Hi there, I'm trying to make a macro using a control variable. I lauch the utility, drag the purple X over the window, and it fills in something like this in the details: > . - [Program] When I hit okay to save the control details to the variable, it says "You must first select a control. Please correct." How do I grab a control if the program's developers didn't give it a name?
  6. Very much a noob question, but I can't figure it out. If I want macro express to press a button, it's easy as pie, I use text type. However, how can I make macro express hold one key down for a length of time? For example, how would I hold down the k button for 5 seconds? Thanks!
  7. Closing the ME window worked perfectly. Thank you for the help!
  8. Hi there! If I have macro express running in the background, and am playing world of warcraft, pressing F1 brings up the Macro express help. Suspending macro express does not stop this. Any ideas?
  9. I'm considering using macro express (one of my favourite tools) to interact with a number of online games I play. The purpose is not so much to cheat, as it is to challenge myself. Does anyone have any experience with such? Are there issues with lag, with controls, windows, that sort of thing? And since the program simply sends signals to mouse and keys same as the input devices themselves would, I wouldn't expect that it's detectable. Anybody come into any trouble? I mostly play wow, but a little warhammer too, nwo.
  10. Text Type: %T1% OR %T2% OR %T3% (<<-- **RANDOMLY CHOOSE**) <TAB> This is how I'd accomplish this. Set Integer N90 random, 0-2. If variable N90=0 Text type T1 End if If variable N90=1 Text type T2 End if If variable N90=2 Text type T3 End if But I'm a psycho for logic commands, so it could just be me.
  11. Hi there peoples, I run macro express 3.4b, build one, 3.4.2.1 (this is from the About option). I'm not sure what my OS is, but it's not 95 and it's not Vista, it's somewhere in between. Recently, whenever I click on 'all categories' to view my whole list of macros, the program crashes. It gives me a little box that says 'fatal' error and asks me to report the error. But I can't fix it, I can't make it go away, and I really need to be able to view and organize all my macros. Has anybody else come across this error? Is there any way to fix it?
  12. Hi there! I know I can make a macro that goes off as soon as a window title is on top, or a specific control has focus. however, is it possible to make a macro, that is scheduled to go off, when a window pops up, but is hidden behind other windows. I have a program that asks for prompts, but those prompts don't steal focus. I wand a macro that will note as soon as one of them shows up, go to it, hit enter, and then go back to what I was doing. Is that possible?
  13. Hmmm, it seems like I've opened quite the can of worms. Thanks so much for the information so far, it looks like my macro building is about to move to the next level. One thing that I'm missing is how to make macro express recognize the hex line breaks so that I can modify them as I see fit. I want to turn this: Tom Dick Harry into this: Tom,Dick,Harry What I have right now is this: Clipboard Copy Variable Set String %T1% from Clipboard Wait Left Mouse Click Text Type: %T1% <CLIPC><TVAR2:01:03:><WAITLM:000><TEXTTYPE:%T1%> Somewhere in that I need it to recognize the carriage returns and turn them into commas. I'm a bit lost still. Any advice?
  14. Hey there! This is my first post, so my apologies if this topic has been widely discussed. I have a macro that I want to copy a list of names, and then remove all the carriage returns with commas, so that it can be brough into an existing excell spreadsheet without heavy modification. Right now I highlight the text, run the macro, and it copies it into the clipboard, then assigns it to %T1%. I've tried a few things, but all I can do is remove the CR/LF, I can't get the macro to insert commas where the CRs used to be. It's late and I'm tired, but I hope there's a way to do this.
×
×
  • Create New...