Jump to content
Macro Express Forums

dlegate

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by dlegate

  1. Ah yes... I prefer to use ZoneAlarm, however my corporate network requires Windows Firewall be on when I connect to its wireless... lame. So I'm looking for a way to quickly turn it on before connecting. Thanks for the registry tip! Using that, here's my "Toggle Windows Firewall" Macro with confirmation Prompt, if anyone is interested: <REM2:Set N2 to 2 - if choice is canceled it should remain 2><IVAR2:02:01:2><REGRINT:1:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall><SWITCH:N1><CASE:1><REM2:No real need to set T1 here, but can use it for other conditionals if desired><MENU2:1:T:01:CenterCenter:Toggle Firewall OFF?It appears the Windows Firewall is ON Turn it OFF?Turn Off><IVAR2:02:01:0><ENDCASE><CASE:0><MENU2:1:T:01:CenterCenter:Toggle Firewall ON?It appears the Windows Firewall is OFF Turn it ON?Turn On><IVAR2:02:01:1><ENDCASE><ENDSWITCH><REM2:For Debugging - normally next two lines should be disabled><DIS:<TBOX4:T:1:CenterCenter000278000200:000:T1 is %T1% N1 is %N1%\ N2 is %N2%><DIS:<MSTOP><REM2:The macro SHOULD stop of they hit Cancel, but this is just in case.><IFVAR2:2:02:2:2><REGWINT:2:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall><ENDIF> Seems to work great! Suggestions for improvement welcome.
  2. Can ME3 toggle the Windows Firewall On or Off without going through the process of loading the Control Panel window, and selecting the options? Is there a Registry entry that controls this?
  3. rberq's suggestion works great!!! Thanks!!
  4. Here's what I'm trying to do: in a loop I want to increment a number by 1, starting with 1, but I'd like it to output with leading zeros. For the first nine numbers, I'd want: 0000000001 0000000002 0000000003 etc. with 9 leading zeros Once it trips 10, I'd want 8 leading zeros: 0000000010 0000000011 and 100: 0000000100 0000000101 and so on. How can I do this in ME3? Any help is greatly appreciated. Dan
  5. Good point. I should have specified that I know about those macros (have a few running myself), but they only run *once* XX minutes after idle time starts. I want a macro that runs over and over (every 15 minutes) during idle time. So basically, it's a macro that runs every 15 minutes (even during non-idle time), but has a conditional statement "if this is idle time, carry out the next commands, otherwise, don't". Make sense? Thanks for the feedback.
  6. I would love to see a new IF / Conditional / Logic command that would check system idle state and could provide the ability to carry out commands ONLY IF the system has been idle for at least XX minutes. Anyone else ever wanted this ability? Is this possible now with some sort of workaround?
  7. Just wondering if there's a "stop macro on system beep" (or any kind of beep) functionality. Often, when my macros run, the first thing that tips me off that things are going awry is that I start hearing a bunch of beeps. It would be nice if Macro Express had an OPTION to stop a macro if any kind of beep occurred. The reason I capitalize option there is obviously you have macros where you expect beeps, so you definitely don't want that set. Further, it would be nice to be able to specify which KIND of beep a Macro would stop on, but I'll take any kind of beep as a beginning point, since 95% of my macros would NOT expect a beep at any point. If this type of functionality already exists somewhere, please fill me in. :-) Thanks!
  8. Ack! Nevermind. Didn't realize you can Replace characters in a string with <TAB>. Very cool. Got what I needed.
  9. Okay, here's what I want to do. I have many computers in many labs that I need to install all kinds of software on. I have a text file of all our serial numbers to use, but most of the programs I'm installing have the multiple entry boxes where they break up each "section" of the serial number (separated by a dash or space) into different boxes, so you can't just copy-and-paste the s/n from the text file. What I'd love to do, is copy the serial number into the clipboard, then fire off a Macro Express Macro that will replace the dashes (or spaces) with either tabs, or (depending on the installer) nothing at all - just type out the text (without dashes or spaces). I'd pop-up a multiple-choice dialogue for that. What I'm having trouble figuring out is how to parse a string variable (from the clipboard) for certain types of characters. I don't have PGM, and I'd kinda like to figure out how this is done without it, if that makes sense. Do I need to breakup the different "sections" of the s/n into different variables? If so, how? Any help or information is appreciated. Thanks!
×
×
  • Create New...