Jump to content
Macro Express Forums

joe

Members
  • Posts

    1,002
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by joe

  1. Welcome to the forum! It sounds like you are dealing with a drop-down list? If this is true, can you copy the highlighted word to the clipboard? If so then you just need to test the word in the clipboard.
  2. Great stuff IceBox ... great stuff, indeed!
  3. Welcome to the forum! I think this is more like what you are trying to do: // Infinite loop. Repeat Until %N1% <> %N1% // Get the pixel colors. Get Pixel: Screen Coords: 100,100 into %N1% Variable Modify Integer: Copy %N1% to %N6% Get Pixel: Screen Coords: 200,200 into %N2% Variable Modify Integer: Copy %N2% to %N5% // Loop until the N1 pixel color changes. Repeat Until %N6% <> %N1% Get Pixel: Screen Coords: 100,100 into %N6% Repeat End // Type the first set of commands. Text Type: <CONTROL><F4> Text Type: <CONTROL>9 // Loop until the N2 pixel color changes. Repeat Until %N5% <> %N2% Get Pixel: Screen Coords: 100,100 into %N5% Repeat End // Type another set of commands. Text Type: <CONTROL><F3> Text Type: <CONTROL>9 // Delay for 8 seconds and then do the whole thing again. Delay 8 Seconds Repeat End <REM2:><REM2:Infinite loop.><REP3:08:000002:000002:0001:1:01:N1><REM2:><REM2:Get the pixel colors.><GETPX:1:S:000100:000100><NMVAR:07:01:0:0000006:0:0000000><GETPX:2:S:000200:000200><NMVAR:07:02:0:0000005:0:0000000><REM2:><REM2:Loop until the N1 pixel color changes.><REP3:08:000002:000002:0006:1:01:N1><GETPX:6:S:000100:000100><ENDREP><REM2:><REM2:Type the first set of commands.><TEXTTYPE:<CONTROL><F4>><TEXTTYPE:<CONTROL>9><REM2:><REM2:Loop until the N2 pixel color changes.><REP3:08:000002:000002:0005:1:01:N2><GETPX:5:S:000100:000100><ENDREP><REM2:><REM2:Type another set of commands.><TEXTTYPE:<CONTROL><F3>><TEXTTYPE:<CONTROL>9><REM2:><REM2:Delay for 8 seconds and then do the whole thing again.><DELAY:8><REM2:><ENDREP><REM2:>
  4. Hello Scott! Congratualtions. You will never want to go back to dial-up. When it comes to broadband, I am only familiar with our own DSL, and with it. There is no online/offline to toggle. You are always connected. It is just a matter of launching your browser, and going places.
  5. Well one of the reasons I used PKZip is because we went way back to the good old days of DOS together ... it was just something I was used to using for a long, long, long time. The reason I used WinZip is because PKZip started charging for updates and, well, I do not like to pay for something that I can get legally for free somewhere else. I am a Capitalist at heart ... and now so is WinZip, because they too have started charging for upgrades. All this means is that if you can resolve an issue using something that comes with your O/S then that would be the route to take. However, you need to answer a couple of questions for yourself: Is your drive setup as an NTSF drive? Do you need to transport zip files to clients?
  6. Welcome to the forum! Thanks for posting what you found out. It saved us time in researching an answer to something that has already been resolved ... and I appreciate that.
  7. Welcome to the forum! I do not know enough about ftp and proxy servers to give a good, or bad answer. However, in searching through some information, I ran across a site named www.net2ftp.com. They appear to tunnel ftp through http without having to install anything on your computer.
  8. Hello Les! Which zip are you using? WinZip, PKZip, ... other? And is there a command line interface for it?
  9. There must be something else going on, especially if it works some of the time. Have you taken into account that offsets are calculated from the control's upper-left corner, and not the center? ... I'm sure you have because they are the same coordinate system as the Mouse Move command, which you say works. Does the Mouse Move command (then click) work all the time? Or does it only work part of the time? Another thought. Macro Express can work faster than your computer's peripherals. Sometimes a macro can zoom ahead of expected events. Does the macro work more reliably if you slow it way down?
  10. Welcome to the forum! Unless something has changed very recently, using an offset X/Y works just fine. Are you sure the coordinates being used are relative to the control?
  11. The Caps Lock, Num Lock, and Scroll Lock commands do not test the state of the key. But neither are they toggles. On our computers, if I run the Caps Lock On command, and my caps lock is already on, it stays on. Same with the other two keys. We use Win2k and WinXp. As to something that can return the value of the Caps Lock state, we have had a request from a client to look into it. If we find a solution it will be posted.
  12. I like this idea, too. The last release was on Aug-13-2004 (3.5b). Did you put this in their suggestion box? Options | Configure Bug Reporter | Request a Feature
  13. Hello Mephisto! Yes. Take a look through the Logic category at the If Variable command. Take a look through the Clipboard category. Remember that one way to use Macro Express to duplicate the keystrokes that you would take yourself. In this case you would normally highlight text that you want and then hit Ctrl+C. It is very much dependent on your application. These keystrokes can be emulated within Macro Express by using the Text Type command found in the Text category in addition to the Clipboard Copy command.
  14. Great! A very nice (and easy) solution.
  15. Welcome to the forum Scott! Not sure what you mean. Are you wanting Macro Express to program the mouse buttons by using the Browser Mouse utility? If so, then chances are that it can be done. You would take the same steps using Macro Express as you would to run the software yourself. Or am I missing something?
  16. Hello Lucas! Macro Express lacks the ability to calculate dates. However, our PGM Functions Library has a Date and Time category that contains the necessary functions to do what you are asking ... and a lot more. Here is a link to more information on them and a link to where you can download and try them. Here is a link to the PDF Document explaining each of the functions in the library.
  17. There have been so many things! Here are two: 1) The interface that we created between Macro Express and Visual FoxPro. It allowed us to use Macro Express as a controlling program for automating tasks within the accounting package that some of our customers use (entering data, table maintenance, generating reports, and so forth). For our purposes, it extended the Macro Express language. 2) When Macro Express 3.0 was released, we had a project that required watching and trapping auction pages lists (about 20,000 per month). The client had a bank of computers that saved items and item numbers, parsed them to get the descriptions, auction amounts, bid countdowns, and so forth. All of the data was sent to another computer where the pictures would be grabbed and saved, and the descriptions parsed to create subclasses of the items. Each bit of data was saved in tables where a "history" was being kept. Except for the database work, was all generic Macro Express ... merrily humming along ... 24/7.
  18. Hello! Macro Express needs something to grab, like an event, in order to do what you want. A Window Control, Window Title, and so forth would need to change. It may be possible to use Get Pixel Color to trace what is happening, but I am not sure that it is practical in your case.
  19. Hello Randall! The macros within the PGM Functions Library depend on each other to run. One macro calls another, and so forth. The best thing to do is to create a separate category in your library (.mex) file to hold the PGM macros and import all of them from our library to yours and into this new category. If you are interested only in a subset of the macros, then review the Function Dependency chapter in the manual to determine which macros to import. Thanks for your interest!
  20. How about using the If Macro Enabled and If Macro Disabled commands?
  21. Hello! Here is an untested thought. What if you were to create a shortcut to your printer and place it on the desktop. Then use the Program Launch command to engage it? A shortcut can be created by right-clicking on the printer in the Control Panel.
  22. Welcome to the forum! Take a look at this thread Hyperlink to a Macro. It may point you in the right direction.
  23. Welcome to the forum! You can use the Move File or Files command. Place the source folder name in the File(s) Path/Name field (e.g. "c:\FolderA") and the destination in the New Path field (e.g. "x:\FolderA"). I have tried this on a few folders and also across a network. None of the folders were real big.
  24. Welcome to the forum Lucas! Macro Express does not support variable arrays. The Run Macro in Variable command is used to run macro string(s) placed into it, which is usually only done if you are generating dynamic macros.
  25. Hello Lars! If another macro is not scheduled to run at that time, I wonder if it could be a symptom of the 24 hour clock problem that is being discussed in this thread. Did you report this to Insight Software Solutions?
×
×
  • Create New...