Jump to content
Macro Express Forums

Brain Virus

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by Brain Virus

  1. what happens if you do a wait for window?
  2. you could also check for a window title
  3. Agreed. I do some fairly complex actions at my job and i would be hard pressed to go over 200 lines. I know I cant because its a work macro but I would LOVE to look at that macro and see how much fat could be trimmed off of it. As for exercises... just find something you want to automate and go after it. Then if you hit a roadblock come post on here and we are happy to help. Another thing that helped me a TON was reverse engineering. Take a macro that was already written and then see how they do certain actions and handle certain situations.
  4. I was dinking around in ME today and found another option you could use. <IFONLINE> it checks to see if you are online. So that way you dont have to ping or do an IP check
  5. Hey here is a mock build of what you need. <GETIPADD:1><REM2:disable the card here><GETIPADD:2><IFVAR2:4:01:1:T2><REM2:disable the card again><ENDIF>
  6. In my testing I noticed the ping command is near instantaneous, but you bring up a good point. /bows
  7. dang you are fast. OP, Another idea is to use the ping site command. If its connected it will grab a bunch of ping info. If its not connected it will return the variable "Unknown Host" But either idea should work fine.
  8. you know, you can get the help for free. Just post the macro on here and tell us the problem and we can trouble shoot it.
  9. That shouldn't be to hard, you would have to determine those in the macro itself. Probably the easiest way would have a predetermined list of menu options that the user could type into their templates to activate the macros. Then have the dialog boxes set to save item text to %T80% or something. then do an if %T80% = user report email, run user report macro, end if and then just do that for all the different options. make sure to add this after the If statement for Delete Menu File and start over... hrmmm you know, i could write this so instead of the user typing in the options and risking a typo, you could have it present a list of different options for them to select from for each menu option. if you need that, go ahead and let me know and i will see what i can do.
  10. hrmm thats not good. Try this. Open up notepad and type some gibberish in it. Activate the macro. ALT Tab over to the notepad again. (dont click anywhere because the macro waits for a left mouse click to pull the first coordinate) Left click at the beginning of the text (i.e. if you typed "gibberish" click just to the left of the "g") pause for a second Then left click at the end of selection. the it should go and highlight the selection and then copy it and display a text box with the copied information. Now, we should be able to integrate this into your current macro, how does the text on the first program get selected in the first place?
  11. Thats if it has a cursor, i was thinking about that and just having them do that, but then I got thinking.. what if their program doesn't have a cursor?
  12. Meg See attached macro. It will allow you to define the area to select. It waits for the mouse click at the beginning and then grabs the coordinates and then it waits for you to click at the end of the selection. it will then go back and highlight the text in between and then copy it to the clipboard. Have your macro then open the second tool and do whatever it needs with the text and then have it reopen the first tool and repeat the first part of the macro so it will automatically highlight the selection again. Just a note, wait a half beat after clicking at the front and the end of the selection. If you click and move at the same time, it will grab a wrong coordinate. Text_Selection_Macro.mex
  13. it looks like you are using vista. I was getting the same error when my .mex file was in: C:\Program Files\Macro Express3 try moving your .mex file to C:\Users\USERNAME\Documents you will be able to use a macro to delete protected macros then
  14. it was a pain in the butt, but i wrote a demo menu for you. Going off this you can expand it as needed. Run the macro, and follow the prompts then run the macro again and voila... user defined macro menus! so far only main menu options 1 and 2 allow for editing a sub menu. from here using my example you can add variables that control the individual macros you need. sorry if i am rambling/cant type, its 4:22 am.... ping me if you have any questions/need help (I promise I will be more coherent later ) oh if you are running this on vista you need to run macroexpress program as an admin because it saves the macro menu info to C:\macro menu.txt. (obviosuly you can change that) right click on macroexpress icon and then click run as administrator. you owe me a cookie User_Defined_Multiple_Choice_Menu_Demo.mex
  15. well the thing is, even if i make my own generator (which i am going to try now thank you ) i still need to make sure it doesnt contain Ii,Ll or 0Oo can you help with that?
  16. I use my macro express to manipulate a program that generates random passwords and saves it to a variable. I would like to be able to edit that variable through macro express so it contains the requirements that our system uses. For example say it pulls the password of F9/vL30= I want to replace the /,L,0,and = with somthing else. I dont want characters like (@#%$, or Ll,Ii,Oo and 0 in the password. Also The password needs to have one upper case letter and one lower case letter and one number at minimun Or better yet, is it possible to write a password generator that will generate a password with those requirement with macro express?
×
×
  • Create New...