Jump to content
Macro Express Forums

GregChi

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by GregChi

  1. github.com/Air16/NotepadEx github.com/vxiiduu/NotepadEx github.com/AndrewCherabaev/notepadex etc//
  2. Sorry, I didn't realize there is more than (1) notepadex. I am using the "Dutch replacement for the infernal Notepad in Windows. Author: Timo van Roermund" Notepadex 1.7.7.4 circa 1992 Tjme to update?? Greg NotepadEx by T.A. van Roermund v.1.7.7.4 I think what i am looking for is something like a Hot Key Detective to show me who is taking keystrokes over.... (so I can get them back....)
  3. I'm using the notepad replacement Notepadex. CTRL-ALT-D macro works in win7 OE notepad, wordpad, open office,etc, works in same in win10 except for Notepadex . What is different in win10 that is dis-allowing this? Any thoughts? using ME6.6.1.1 filedatetimestamp(Ctrl-Alt-D).mex
  4. I may go online/offline 30 times in a day, so I want a macro to auto-control this. I don't believe in inet always connected, too many phissures,scammers, etc.
  5. This gives me the fast response I desire, now to learn how to program 'cmd' Thanks, Greg
  6. When I want to go online, I want a fail-safe indicator that the connection from my computer to the net is functioning. If, when I ping & get a response almost immediately, then i am set. If I DON'T get a response, I have to wait 'till any response is finished (up to 35 sec) before I can continue. If I don't do this, there is no indication as to why my access to the net is not working,,,,, Determining this will clue me as to where the problem is occurring. (sometimes my macros don't react as I programmed them to do 😩) Various 'chrome' g***le browsers love to skip/steal keystrokes...... I want 'my' macros to respond in a reasonable fashion. end of rant
  7. OK, then is there a way in ME6 to set a trigger that responds to a 'no reaction/response from the cmd in 2-5 seconds'?
  8. I have Comodo firewall which has a button to stonewall the internet from my cptr. This allows me to NOT be 24/7 allowing G***Le access to my personal info. Frustrating to wait that long for a response from?? It would be nice to know where the info would come from, but just having a response would be all I need. Greg
  9. When I use the command "pingsite", if there is no connection, response time is a long wait (up to 35 real seconds!!!). If there is a connection, response time is almost immediate. Is there a way to make the 'no connection' respond faster? 'Seconds to wait...' doesn't make any difference. code: <IF PING SUCCESSFUL URL="www.macros.com" Wait="1" NoEmbeddedVars="FALSE" _IGNORE="0x0007" _PROMPT="0x0003"/> <OR/> <IF PING SUCCESSFUL URL="www.comcast.com" Wait="1" NoEmbeddedVars="FALSE" _IGNORE="0x0007" _PROMPT="0x0003"/> <SOUND FILE File="E:\\Sounds\\Sparcle.wav" Wait="TRUE" _PROMPT="0x0007"/> <ELSE/> <SOUND FILE File="E:\\Sounds\\Fart.wav" Wait="TRUE" _PROMPT="0x0007"/> <END IF/>
  10. Very happy! This situation has been resolved via ME v6.1.1.4 . All is well. Thanks to all concerned Greg (not very newbe)
  11. Yes, I may do that. I have been faithful since ME2 & hate to 'abandon' updates for an excellent tool. The idea that a window size restriction for ALL is hard to accept. I would think a "Macro" for JUST the "OK" button would suffice. (baby & bathwater syndrom) Greg (Of course, the $34.00 has a very slight bearing on the situation)
  12. ME6.1.1.1, Win xp sp3, 1024x768 ME6: txtbox display minimum size change: I have many "text box display's". I cannot size the windows to MY sizes(the height is restricted to 103{px?} minimum & width to 108 minimum). using ME4.9.0.1 the min height was 27. Some of my height settings are 45. I have my text boxes set to fit & work with other programs(many ancient). This has been so since ME2. Stan "checked with one of our developers about this. It looks like there was a change made to have a minimum size so that the OK button would fit in the window. Unfortunately there is not a way to make it smaller." This is ridiculous. I NEED to locate & change the (MacScript.exe?) bytes setting this height back to at least 45. Does someone know the offset location for this? The baby was thrown out with the bathwater...... Thanks in advance, Greg Chichester
  13. Download & change the .htm to .jpg & view w/ Photoshop........
  14. Win98se I have (2) computers that use different modems. I want to determine which modem is active so i can use the correct on hold software. I found a key in HKEY_DYN_DATA\Config Manager\Enum\, but it changes dynamically. I use an image between the computers that has both modems set up. When the image is put on the second unit, the other modem is recognised by windows, but I can't find a 'flag' in the registry for ME to recognise it.
  15. Win98se How do I get ME to determine if a link is on the desktop? The link is SM56pci LtMoh.lnk I can find a file or directory buy not a .lnk.
  16. Never mind, figgured it out // OOo calc DateFixer( Ctrl-Shift-keypad /) Clipboard Empty Repeat Until %T1% <> %T1% // edit cell [switch to overstrike (always starts as insert)] Text Type: <F2><INSERT><ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT> Wait for Text: "/" OR Wait for Key Press: ESC Text Type: <SHIFTD><ARROW LEFT><SHIFTU> Clipboard Copy Variable Set String %T1% from Clipboard If Variable %T1% <> "/" Text Type: <ESC><ARROW DOWN><ARROW RIGHT><ARROW UP> Macro Stop End If Text Type: /06<ENTER> // repeat on next cell Repeat End CODE <REM2:OOo calc DateFixer( Ctrl-Shift-keypad /)><CLIPE><REP3:08:000002:000001:0001:1:01:T1><REM2:edit cell [switch to overstrike (always starts as insert)]><TEXTTYPE:<F2><INSERT><ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT>><WAITTXTN2:000000:000000:/><OR><WAITKEY2:000000:000000:48><TEXTTYPE:<SHIFTD><ARROW LEFT><SHIFTU>><CLIPC><TVAR2:01:03:><IFVAR2:1:01:2:/><TEXTTYPE:<ESC><ARROW DOWN><ARROW RIGHT><ARROW UP>><MSTOP><ENDIF><TEXTTYPE:/06<ENTER>><REM2:repeat on next cell><ENDREP>
  17. OK If i waitfor the ESC key at the start of my macro, // DateFixer( Ctrl-Shift-/ ) // edit cell Text Type: <F2> // switch to overstrike Text Type: <INSERT> Text Type: <ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT> waitfor the esc key here Where can I find if the esc key was pressed? Would it be captured in any variable? the macro knows it was pressed, but I want to do something if it is pressed. If esc clean up & exit macro, Else continue with the macro. I can't find this 'flag'.
  18. Only that this is a generic/demo way to locate a color also outside the Tray.
  19. I guess in your case you will need to scan over an area of your screen to locate the specific color & then proceed. (hope this helps) This is a copy of a previous msg I sent (WHEN USING NEWSGROUPS!!!!) as regards tray icons: methods to determine & select screen colors. Some guy Kevin :-) suggested a method for locating an icon the TrayNotifyWnd: "I do not have a suggestion about how to reliably activate programs by clicking on the system tray because, as you point out, the icons are not in consistent locations. The only thing I can think of is to use the Get Pixel Color command to see if a specific icon is in a certain location. However, this would be cumbersome and you would have to check enough pixels to distinguish one icon from any number of other icons." Ya, cumbersome. But possible with a lot of patience ....... These are my test/samples I finally built: 1st one shows the colors at many locations on the tray. 2nd one actually auto-searches for the colors. ----------------------------------------------- 1.FIND the colors of the icons: // Ctrl-W is hot key // use Scroll lock & Pause/Break to cancel // Method to determine (2) EXACT colors at a toggling (or not) icon // { Enable 'repeat' & 'dec' below to step thru all combinations} // // EXAMPLE..... // To get MacroExpress icon (find a color pair for it's icon): // Turn OFF: options, preferences, appearance, 'system tray' 'show running icon' // // If MacroExpress icon is 2nd from the right, // at aprox left (992/990) N4 =16711680/ N5=8421376 // at aprox left (991) N4 =8421376/ N5=16711680 // [ 12632256 appears to be Win98 BACKGROUND!!!!! ] // // screen is set at 1024 x 768 // use mouse locator 1st to get location // Set N9 to lowest possible horizontal location of search (800?) //(disabled)Variable Set Integer %N9% to 800 Variable Set Integer %N9% to 970 // set N3 to 'upper' row (aprox 746-767) Variable Set Integer %N3% to 755 // set N2 to 'lower' row (aprox 746-767) Variable Set Integer %N2% to 760 // Set N1 to highest possible horizontal location of search (1024?) // or for 1 specific location, set N1 to the horizontal location of search // (a toggling icon, for example; don't allow decrement) //(disabled)Variable Set Integer %N1% to 1024 Variable Set Integer %N1% to 1010 // Enable below items [repeat & dec] to step/ 'loop' thru tray Repeat Until %N1% = %N9% Variable Modify Integer: Dec (%N1%) Mouse Move Screen %N1%, %N2% Get Pixel: Under Mouse into %N4% Mouse Move Screen %N1%, %N3% Get Pixel: Under Mouse into %N5% // move mouse out of the way to observe w/o pop-up msg Mouse Move Position 0, 8 Text Box Display: variables Text Box Close: Repeat End Sound Wave File: Utopia Exclamation.wav Text Box Display: Done.... CODE <REM2: Ctrl-W is hot key><REM2: use Scroll lock & Pause/Break to cancel><REM2:Method to determine (2) EXACT colors at a toggling (or not) icon><REM2: { Enable 'repeat' & 'dec' below to step thru all combinations}><REM2: ><REM2:EXAMPLE.....><REM2: To get MacroExpress icon (find a color pair for it's icon):><REM2:Turn OFF: options, preferences, appearance, 'system tray' 'show running icon'><REM2: ><REM2: If MacroExpress icon is 2nd from the right, ><REM2: at aprox left (992/990) N4 =16711680/ N5=8421376><REM2: at aprox left (991) N4 =8421376/ N5=16711680><REM2: [ 12632256 appears to be Win98 BACKGROUND!!!!! ]><REM2: ><REM2: screen is set at 1024 x 768><REM2: use mouse locator 1st to get location><REM2:Set N9 to lowest possible horizontal location of search (800?)><DIS:<IVAR2:09:01:800><IVAR2:09:01:970><REM2:set N3 to 'upper' row (aprox 746-767)><IVAR2:03:01:755><REM2:set N2 to 'lower' row (aprox 746-767)><IVAR2:02:01:760><REM2:Set N1 to highest possible horizontal location of search (1024?)><REM2: or for 1 specific location, set N1 to the horizontal location of search ><REM2: (a toggling icon, for example; don't allow decrement)><DIS:<IVAR2:01:01:1024><IVAR2:01:01:1010><REM2:Enable below items [repeat & dec] to step/ 'loop' thru tray><REP3:08:000001:000002:0001:1:01:N9><NMVAR:09:01:0:0000001:0:0000000><MMS2:1N,2N><GETPXM:4><MMS2:1N,3N><GETPXM:5><REM2:move mouse out of the way to observe w/o pop-up msg><MMP2:0,8><TBOX4:T:1:000060000428000293000218:001:variablesCOLUMN n1= %N1% ROW, lower n2= %N2% color, lower n4= %N4% ROW, upper n3= %N3% color, upper n5= %N5% Select the combination you want to find: <Spc> to step thru (write them down on a REAL notepad...)><TBCLOSE:><ENDREP><WAV2:C:\WINDOWS\MEDIA\Utopia Exclamation.wav><TBOX4:T:1:000371000455000278000200:001:Done....COLUMN n1= %N1% ROW, lower n2= %N2% color, lower n4= %N4% ROW, upper n3= %N3% color, upper n5= %N5% > ----------------------------------------------------------------- 2. GET the colors: // Sample__GET MacEx Variable Icon inTrayNotifyWnd // Ctrl-Z // Method to find an icon that may display various pairs of // colors in the TrayNotifyWnd // can also find just 1..... // Also example of 'nested repeats' & early exits If Not Program Name "MACEXP.EXE" running Macro Stop End If //(disabled) Macro Playback Speed: 7 Times Slower than Normal //(disabled) Mouse Speed: 5 Milliseconds // set outer repeat loop size...(If missed 1st time thru, do again) Variable Set Integer %N10% to 10 Repeat Until %N10% = 0 // set upper row Variable Set Integer %N3% to 755 // set lower row Variable Set Integer %N2% to 760 // set left column limit (final set to 850) Variable Set Integer %N9% to 970 // set start/right column (final set to 1024) Variable Set Integer %N1% to 1024 // set primary repeat loop limit Repeat Until %N1% = %N9% // decrement counter N1 (move left) Variable Modify Integer: Dec (%N1%) // move mouse to lower position Mouse Move Screen %N1%, %N2% // get pixel in lower location N2 to N4 Get Pixel: Under Mouse into %N4% // move mouse to upper position Mouse Move Screen %N1%, %N3% // get pixel in upper location N3 to N5 Get Pixel: Under Mouse into %N5% // Show what we have HERE (disable text box for speed) Text Box Display: variables // TextBoxClose Absolutely needed to prevent multiple OPEN windows!!!!!! Text Box Close: variables // check for possible sets // start of set 1 If Variable %N4% = 8421376 AND If Variable %N5% = 16711680 // if found, set flag for found search Variable Set Integer %N10% to 11 Sound Beep // & exit out of inner loop Repeat Exit End If // end of set 1 If Variable %N4% = 16711680 AND If Variable %N5% = 255 Sound Beep Variable Set Integer %N10% to 11 Repeat Exit End If // etc If Variable %N4% = 16711680 AND If Variable %N5% = 8421376 Sound Beep Variable Set Integer %N10% to 11 Repeat Exit End If // // inner loop exit Repeat End // is flag set for found ? If Variable %N10% = 11 // Yes: jump past next repeat end Repeat Exit End If // N1 must = N9 // wasn't found; decrement & run thru scan again Variable Modify Integer: Dec (%N10%) //(disabled) Text Box Display: vars //(disabled) Text Box Close: vars // outer loop exit Repeat End // is flag set for found ? If Variable %N10% = 11 // yes: Do your operations on the item Sound Wave File: Musica Default.wav Mouse Move Position 0, 8 Text Box Display: Got it !!! //(disabled) Mouse Right Button Click //(disabled) Delay 1 Seconds //(disabled) Mouse Left Button Click //(disabled) Wait For Window Title: "close application - SNET internet caller ID" //(disabled) Text Type: <TAB><ENTER> Macro Stop End If // search failed find Text Box Display: Couldn't find those combinations CODE <REM2:Sample__GET MacEx Variable Icon inTrayNotifyWnd><REM2:Ctrl-Z><REM2:Method to find an icon that may display various pairs of><REM2: colors in the TrayNotifyWnd><REM2: can also find just 1.....><REM2:><REM2:Also example of 'nested repeats' & early exits><REM2:><IFOTH:14:1:MACEXP.EXE><MSTOP><ENDIF><DIS:<SPEED:00007><DIS:<SPMSE:00005><REM2:set outer repeat loop size...(If missed 1st time thru, do again)><IVAR2:10:01:10><REP3:08:000001:000002:0010:0:01:0><REM2:><REM2:set upper row><IVAR2:03:01:755><REM2:set lower row><IVAR2:02:01:760><REM2:set left column limit (final set to 850)><IVAR2:09:01:970><REM2:set start/right column (final set to 1024)><IVAR2:01:01:1024><REM2:set primary repeat loop limit><REP3:08:000001:000002:0001:1:01:N9><REM2:decrement counter N1 (move left)><NMVAR:09:01:0:0000001:0:0000000><REM2:move mouse to lower position><MMS2:1N,2N><REM2:get pixel in lower location N2 to N4><GETPXM:4><REM2:move mouse to upper position><MMS2:1N,3N><REM2:get pixel in upper location N3 to N5><GETPXM:5><REM2:Show what we have HERE (disable text box for speed)><TBOX4:F:3:000593000215000278000200:001:variablesn1 %N1% n10 %N10% n2 %N2% n3 %N3% n4 %N4% n5 %N5% ><REM2:TextBoxClose Absolutely needed to prevent multiple OPEN windows!!!!!!><TBCLOSE:variables><REM2:><REM2:check for possible sets><REM2: start of set 1><IFVAR2:2:04:1:8421376><AND><IFVAR2:2:05:1:16711680><REM2: if found, set flag for found search><IVAR2:10:01:11><REM2:><BEEP><REM2: & exit out of inner loop><EXITREP><ENDIF><REM2: end of set 1><REM2:><IFVAR2:2:04:1:16711680><AND><IFVAR2:2:05:1:255><BEEP><IVAR2:10:01:11><EXITREP><ENDIF><REM2: etc><IFVAR2:2:04:1:16711680><AND><IFVAR2:2:05:1:8421376><BEEP><IVAR2:10:01:11><EXITREP><ENDIF><REM2: ><REM2:inner loop exit><ENDREP><REM2:is flag set for found ?><IFVAR2:2:10:1:11><REM2:Yes: jump past next repeat end><EXITREP><ENDIF><REM2:N1 must = N9><REM2:wasn't found; decrement & run thru scan again><NMVAR:09:10:0:0000001:0:0000000><DIS:<TBOX4:T:2:000087000448000278000200:005:varsn1 %N1% n10 %N10% n2 %N2% n3 %N3% n4 %N4% n5 %N5% ><DIS:<TBCLOSE:vars><REM2:outer loop exit><ENDREP><REM2:is flag set for found ?><IFVAR2:2:10:1:11><REM2: yes: Do your operations on the item><WAV2:C:\WINDOWS\MEDIA\Musica Default.wav><MMP2:0,8><TBOX4:T:4:000590000220000278000200:005:Got it !!!n1 %N1% n10 %N10% n2 %N2% n3 %N3% n4 %N4% n5 %N5% ><DIS:<RCLK><DIS:<IDELAY:1><DIS:<LCLK><DIS:<WAITWIN2:000000:000010:close application - SNET internet caller ID><DIS:<TEXTTYPE:<TAB><ENTER>><MSTOP><ENDIF><REM2:search failed find ><TBOX4:T:1:000708000271000278000200:035:Couldn't find those combinationsn1 %N1% n10 %N10% n2 %N2% n3 %N3% n4 %N4% n5 %N5% > ---------------------------------------------------- Your color combinations WILL vary..... rsvp the ""newsgroup"" please I use these to 'kill' various programs that don't want to quit. (ZA free is a GREAT example) (do you really, really want me to terminate?????) (answer Yes or NO then press enter)
  20. Thanks, OK this does find either / or ESC ..... Now I need to know which it did find before the macro continues. If I clipboard start/end copy, I capture ME cmds (<WAITTXTN2:000000:000000:/><OR><WAITKEY2:000000:000000:48>); If I <shift>-left arrow & the '/' was pressed, the clipboard has it, but if ESC was pressed, the macro goes berserk. Anything else I have tried gets nothing. What command will get the result? How do I capture what was pressed; a key or <esc>,<tab>,<alt>,<shift>? // DateFixer( Ctrl-Shift-/ ) // edit cell Text Type: <F2> // switch to overstrike Text Type: <INSERT> Text Type: <ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT> Repeat Until %T1% <> %T1% Clipboard Empty Clipboard Start Copy Wait for Text: "/" OR Wait for Key Press: ESC Clipboard End Copy // ??How do I capture the results here?? // ?? if not ' / ' exit macro // if ' / ', finish & goto (down) to next cell Text Type: 06 Text Type: <INSERT> Text Type: <ENTER> // repeat on next cell Macro Run: DateFixer( Ctrl-Shift-/ ) Repeat Exit Repeat End CODE <REM2:DateFixer( Ctrl-Shift-/ )><REM2:><REM2:edit cell><TEXTTYPE:<F2>><REM2:switch to overstrike><TEXTTYPE:<INSERT>><TEXTTYPE:<ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT><ARROW LEFT>><REP3:08:000002:000001:0001:1:01:T1><CLIPE><BEGCLIP><WAITTXTN2:000000:000000:/><OR><WAITKEY2:000000:000000:48><ENDCLIP><REM2:><REM2:??How do I capture the results here??><REM2:?? if not ' / ' exit macro><REM2:><REM2:if ' / ', finish & goto (down) to next cell ><TEXTTYPE:06><TEXTTYPE:<INSERT>><TEXTTYPE:<ENTER>><REM2:repeat on next cell><MACRUN2:DateFixer( Ctrl-Shift-/ )><EXITREP><ENDREP>
×
×
  • Create New...