Jump to content
Macro Express Forums

mcZenner

Members
  • Posts

    14
  • Joined

  • Last visited

mcZenner's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. macros launched by VR would be cool.... I can image that it can be done, with a small java app or other that had the commands (words on a popup window for example), when spoken would trigger some action that ME could recognize.... if not by triggering a macro ... by changing something (files, windows etc.) that a running monitoring macro is watching and then responds to ... calling another macro .... there is a function called >>>>> Windows Speech Recognition Macros << for Vista .. and a beta (Preview) is available for Windows 7 and it will be released later this year (at MS site)
  2. >>>HKEY_CURRENT_USER\DEMO\MacroExpress\image_number and I don't see "DEMO" anywhere. Are you creating this folder? yes, i chose current user and added the DEMO Key for the example (i checked first , nothing was there, and i can delete it after the demo) could make it HKEY_CURRENT_USER\xxxxtest\ or whatever... just don't collide with any other keys (controlled mostly by company/product name) most settings to a new software installation are normally stored under HKEY_LOCAL_MACHINE\Software ie. HKEY_LOCAL_MACHINE\Software\America Online HKEY_LOCAL_MACHINE\Software\Business Objects HKEY_LOCAL_MACHINE\Software\Dell Computer Corporation so you could create a unique name and the subkeys would be safe Settings that are user-definable, and which could have different values for different users of the computer, are stored under HKEY_CURRENT_USER\Software\ HKEY_LOCAL_MACHINE\Software\DAVIDCUSTOM link to notes about the Registry and also Microsoft's recommendations about the Window's Registry before inserting a new key.. always a good idea to READ the branch first (where you intend to insert a new key) and verifty it DOES exists then read to make sure the intended new key DOES NOT exist (so you don't override one unintentionally) then insert
  3. HKEY_CURRENT_USER\DEMO\MacroExpress\image_number Read Registry Integer: "image_number" Text Box Display: show current value Variable Modify Integer: Inc (%N5%) Write Registry Integer: "image_number" Text Box Display: show new value <REGRINT:5:HKEY_CURRENT_USER\DEMO\MacroExpress\image_number><TBOX4:T:1:CenterCenter000278000200:000:show current value%N5%><NMVAR:08:05:0:0000001:0:0000000><REGWINT:5:HKEY_CURRENT_USER\DEMO\MacroExpress\image_number><TBOX4:T:1:CenterCenter000278000200:000:show new value%N5%> <REGRINT:5:HKEY_CURRENT_USER\DEMO\MacroExpress\image_number><TBOX4:T:1:CenterCenter000278000200:000:show current value%N5%><NMVAR:08:05:0:0000001:0:0000000><REGWINT:5:HKEY_CURRENT_USER\DEMO\MacroExpress\image_number><TBOX4:T:1:CenterCenter000278000200:000:show new value%N5%> double click the Read or Write Registry and the you can change it to read/write a text string etc. (forum ops ... why is this post so wide?)
  4. ah that's great news. I too have been waiting for the Vista fix for the window names.. i get a copy today...
  5. if i understand correctly, wouldn't this work.. ( i assume that a ALT TAB while the program is running would allow you to switch to another app or window;; it that application closes itself in the case of a user ALT TAB... it won't work, but I've never seen a pgm do that, (except MS cp) open the some dialog (menu whatever) (or txt file) before the program .... then when you have the program window open ... ... trigger a macro then with some hotkey (though it could be otherwise) THE FIRST STATEMENT of the macro would get the current active window name... (before doing any disply, the pgm window would still be on top) SET VALUE TO TOPMOST WINDOW TITLE and save it into a variable %T11% then do whatever processing you want, ...then (REactive the PGM window ) ACTIVATE WINDOW ONLY with exact Window Title &T11% ///////// ...
  6. set the scope to Notepad if you don't want it to run, the tutorial sets it to global
  7. just make a loop UNTIL the target time NOW Time: Save hhmmss (150423) into %T5% THEN (Target) Time: Save hhmmss (150423) + 10 minutes into %T6% Repeat Until %T5% > %T6% // work code Time: Save hhmmss (150423) into %T5% Repeat End The date/time function (under Text) has options for settting the time in relationship to "NOW" (and that can be prompted, and formats for time, cool)
  8. anyway to run a macro, pause---get a choice from a floating menu, and continue the macro with actions based that choice? I have a program that processes directories and lists (one at a time) the files, I then enter a rating value (a b c d e) that determines where that file should be moved to ... (a = folder a , b = folder b, c= folder c etc.) i have this working, BUT am trying to improve performance of this, the problem is the Multi-choice menu takes to redisplay, so I'm trying to use a floating popup instead.. seems the floating menu would be very fast since it doesn't need to be recreated... but I can't communicate between the floating choices (because only 1 macro can run at a time, the menu choice must only run a macro) i thought I could restructure the program (macro), to do do the FOLDER scan.. find 1 file and exit ? (saving state VARS) then FLOATING choice relaunchs the macro and the macro resumes , but the REPEAT WITH FOLDER function would start over again...
  9. Hey this is cool... but I'd like to use it directly in functions such as RepeatWithFolder (as the variable for "Place Name In" ... "T%N1%" ) instead of through assignment, it would be nice to have a native use of it
  10. here's a MACRO demo for the previous post 1. Run it: you'll be prompted to choose a folder 2. it will list one at a time, all the files in that folder and subfolders (in a status window NOTEPAD file 3. while it runs, Click on the Volume control in the system tray Then the Text box will give the PROMPT 1 = abort 2= continue // requires file = c:\status.txt then uses it to update progress (listing folder contents) // can use MOUSE position for break, or click VOLUME control Activate or Launch: "status.txt" OR "status.txt" Window Reposition: Top Left - status.txt - Notepad Window Resize: status.txt - Notepad - (Width: 500, Height: 200) Activate Window: "status.txt - Notepad" Text Type: <CONTROL>a<BACKSPACE> Text Type: start Variable Set Integer %N1% to 0 Variable Set String %T1% from Folder Name Repeat with Folder Activate Window: "status.txt - Notepad" Text Type: <CONTROL>a<BACKSPACE> Text Type: %T2% Variable Modify Integer: Inc (%N1%) // / --- check --- to pause loop for user input If Window Title "Volume" is on top Variable Set Integer %N5% from Prompt If Variable %N5% = 1 Macro Stop End If End If // // end of check for MACRO control input Repeat End Activate Window: "status.txt - Notepad" Text Type: <CONTROL>a<BACKSPACE> Text Type: finished counter = %N1%
  11. this is a simple way to do what I think you want 0. in some processing loop add this section 1.periodically check for any window on top (SUCH AS VOLUME control in the system tray) 2. click on the "Volume" control and you'll pause the macro and gain keyboard input , in this example I prompt for user action to ABORT or CONTINUE // check for MACRO control input /// If Window Title "Volume" is on top Variable Set Integer %N5% from Prompt If Variable %N5% = 1 Macro Stop End If End If // // end of check for MACRO control input WHILE the macro is running, click on Volume control in the system tray, the macro will launch the Dialog for user input
  12. if I have CHANGING or Updating status information to display as the macro runs ... I open a notepad file window and use that for the messages here's an example that lists the files in a directory Activate or Launch: "status.txt" OR "status.txt" Text Type: <CONTROL>a<BACKSPACE> Text Type: start Window Reposition: Top Left - status.txt - Notepad Window Resize: status.txt - Notepad - (Width: 500, Height: 200) Variable Set Integer %N1% to 0 Variable Set String %T1% from Folder Name Repeat with Folder Activate Window: "status.txt - Notepad" Text Type: <CONTROL>a<BACKSPACE> Text Type: %T2% Variable Modify Integer: Inc (%N1%) Repeat End Activate Window: "status.txt - Notepad" Text Type: <CONTROL>a<BACKSPACE> Text Type: finished counter = %N1% <LAUNCHYES3:0:0112status.txt<LAUNCH:c:\status.txt><TEXTTYPE:<CONTROL>a<BACKSPACE>><TEXTTYPE:start><WPOS2TL:"status.txt - Notepad"><WSIZE:00500,00200status.txt - Notepad><IVAR2:01:01:0><TVAR2:01:10:enter folder><REP3:07:000001:000001:0002:0:01:%T1%><ACTIVATE2:status.txt - Notepad><TEXTTYPE:<CONTROL>a<BACKSPACE>><TEXTTYPE:%T2%><NMVAR:08:01:0:0000001:0:0000000><ENDREP><ACTIVATE2:status.txt - Notepad><TEXTTYPE:<CONTROL>a<BACKSPACE>><TEXTTYPE:finished counter = %N1%><DELAY:5><WCLS:status.txt - Notepad><TEXTTYPE:n<ENTER>>
  13. could use a timestamp instead random generation .. immediately unique
  14. if the pointer changes (to an hourglass) you can just wait for it to change back (i find it usually needs a delay before to allow it to change to the hourglass before it is evaluated Delay 1-4 Seconds Wait for Mouse Cursor: Arrow
×
×
  • Create New...