Jump to content
Macro Express Forums

acantor

Members
  • Content Count

    999
  • Joined

  • Last visited

  • Days Won

    6

acantor last won the day on May 29

acantor had the most liked content!

Community Reputation

9 Neutral

About acantor

  • Rank
    Master

Contact Methods

  • Website URL
    www.cantoraccess.com
  • ICQ
    0

Profile Information

  • Location
    Toronto

Recent Profile Visitors

696 profile views
  1. It's easy to change a macro activated by hotkey into a macro that is activated by the window title. In fact, the same macro can be activated by either a hotkey, or a window title. Open the script in the Macro Explorer, and go to the "Activations" tab. Click "Add" and then choose "Window Title." There are a lot of options, e.g., window gains focus or opens, partial or exact match of the title, etc. Some options are more reliable than others: for example, some people on this forum (but not all), recently noted that a trigger of a window gaining focus worked better than a trigger of a
  2. It might be possible. Perhaps captures the current window title, revise it (or prompt the user to revise it), and save the result in a global variable that is restored the next time the macro is activated? Store the new name in a file that the macro reads when it is run? Try to avoid creating a macro that modifies another by manipulating the MEP user interface. I know it's possible because I've done it, but phew!!! It was a lot of work. Although result was almost 100% reliable, it failed occasionally... and spectacularly.
  3. I just created a Macro Express script scoped to Google Chrome. It's triggered by Alt + Y: Text Type (Simulate Keystrokes): <CONTROL><SHIFT>o It brings up the Bookmarks screen. I'm not sure why it's not working for you. Try deleting the line and recreating it. If that doesn't work, try recreating your entire script from scratch.
  4. I don't think it matters in this case, but there is something to keep in mind about the "Text Type" instruction. The input is case sensitive. For example, Text Type (Simulate Keystrokes): <CONTROL>B is equivalent to: Text Type (Simulate Keystrokes): <CONTROL><SHIFT>b If you want Ctrl + B, do this: Text Type (Simulate Keystrokes): <CONTROL>b Not this: Text Type (Simulate Keystrokes): <CONTROL>B
  5. Hopefully this is the final refinement! Once I had a script to insert the texts in sequence, it seemed reasonable to make a second script to insert the texts in reverse order. I have assigned Keypad period to go forward, and Keypad zero to go backward. In actual use, press the Forward key to cycle forward. Text 1 --> Text 2 --> ...--> Text 5 --> Text 1... Press the Backward key to cycle in reverse: Text 1 --> Text 5 --> Text 4... FORWARD: // Cycle FORWARDS through five pre-defined texts, %Text[1]% - %Text[5]%, and insert into a
  6. Since "upgrading" to Windows 10 about six months ago, I've been underwhelmed by its lacklustre performance, whether or not I am using macros. Many hotkey and shortkey scripts fail to run the first time, and sometimes the first several times, I activate them. My pixel hunting scripts have become useless, even after I modified them to check every 10 or 100 pixels instead of every pixel. Everything happens in slow motion in Windows 10. The performance of my first computer (an XT clone running MS-DOS, circa 1988) was snappier!
  7. // Cycle through five pre-defined texts, %Text[1]% - %Text[5]%, and insert into a field. // Each time text is inserted, the field gets selected. // When the macro is activated again, the next text in the cycle replaces the old. // The first time the macro is activated, insert %Text[1]%. // The second time the macro is activated, insert %Text[2]%. // etc. // The sixth time the macro is activated, reset the counter to 1, which restarts the cycle with %Text[1]%. // Counter %x% tracks which text was last inserted. // The value of %x% is saved each time the macro completes, and restored each t
  8. Here is a refinement. In this version, the five texts are saved in a plain text file, which will allow the user to edit the texts. In the file, each text must be wrapped in quote marks, and there must be a Tab character between the texts. Note 1. You must substitute a press of the Tab key for each [TAB] in the file.) Note 2. When saving the file, make sure the encoding is set to "ANSI" not "UTF..." The scripts appears in the next message...
  9. Check with Insight, as my recollection may not be accurate, which is that Macro Express 3 became Macro Express 5, and Macro Express 4 morphed into Macro Express 6. The two new products were harmonized, e.g., Version 5 began supporting named variables. That sort of thing. Version 5 lacks a handful of advanced features such as Boolean variables, Code Snippets, and the like. I made the switch to Pro 11 years ago, so my memory of the switchover is a bit fuzzy. But I recall early releases of MEP did not seem as stable as the original ME. But the stability issues seem to ha
  10. Thank you, Cory! I had no idea that Notepad now supports Unicode. Saving the file and specifying ASCII encoding fixed the problem and solved the mystery.
  11. I have written a script to import five sentences from a text-only file. ASCII File Begin Process: "C:\Test.txt" (Tab Delimited Text (.txt)) ASCII File End Process <ASCII FILE BEGIN PROCESS Filename="C:\\Test.txt" Format="Tab" Start_Record="1" Process_All="TRUE" Records="1" Variable="%Text%" Start_Index="1" Parse_Blank_Lines="FALSE" Clear_Array="TRUE"/> <ASCII FILE END PROCESS/> I pressed the tab key once between each of the five sentences. My sample shows where each tab is located: "Hello this is 1."<TAB>"And this is 2."<TAB>"Three = 3!"<TA
  12. I also started using Macro Express about 20 years ago. (I just unearthed a paper I wrote in 1999 in which I describe how I use Macro Express to create shortcuts for people with disabilities, so perhaps I started a year or two earlier?) I think I have paid for Macro Express three times: during the late-1990s; when Macro Express Pro was released (around 2009); and when Version 6 came out (about two years ago). The cost of three licenses has been insignificant compared to the benefits I've derived from the product. I clearly remember the moment I decided to buy Macro Expre
  13. In the Macro Express Explorer, click "Help" and then "About." The About screen has a message that tells you whether your version is up-to-date. It's possible I am using a "Test" version of Version 6. (I don't remember how this happened.) According to the revision history, there were eight (!) releases during the past month, and some last June; but the enhancements appear to be minor and cosmetic: If Macro Express doesn't update itself to the most recent version when you check the "About" screen, I think it's best to assume the above changes will
  14. The good people at Insight Software have issued an update to Macro Express Pro that makes my challenge irrelevant! The developers "[m]odified commands so the cursor is in the first field of the command dialog when it first opened." How nice that they pay attention to the feature requests and bug reports that users submit. I sent in my request for this about four weeks ago, so the response time was fast.
  15. Maybe something like this? Text File Begin Process: C:\Test Folder\Test.txt Text Type (Simulate Keystrokes): %Line%<ENTER> Text File End Process <TEXT FILE BEGIN PROCESS Filename="C:\\Test Folder\\Test.txt" Start_Record="1" Process_All="TRUE" Records="5" Variable="%Line%"/> <TEXT TYPE Action="0" Text="%Line%<ENTER>"/> <TEXT FILE END PROCESS/>
×
×
  • Create New...