Jump to content
Macro Express Forums


  • Content Count

  • Joined

  • Last visited

  • Days Won


terrypin last won the day on July 9 2020

terrypin had the most liked content!

Community Reputation

14 Good

About terrypin

  • Rank

Profile Information

  • Gender
  • Location
    East Grinstead, West Sussex, UK

Recent Profile Visitors

1,030 profile views
  1. I’m unable to clearly visualise what you are seeing but I’d definitely agree with @rberq’s suggestion to abandon that approach. The text file method is probably the best. But one alternative you might consider is to place a Variable Set String with a Prompt at the start. Use that variable to type the text. On my iPad at the moment so haven’t tested it. EDIT: Back on my PC I tested that idea and it works as expected. Here's an example macro. It uses two variable commands to make changing the text easy. Variable Set String %tText% to "I'd suggest you first redu
  2. That's intriguing! But I don't seem able to reproduce it. I'm running from debug mode (F9) if that matters. Choose the browser title and hit Enter. Then quickly click anywhere else. Not only does the macro not immediately complete, but it doesn't complete at all and has to be terminated.
  3. Arising out of the current posts by@sdspieg I see that on my Win 10 Pro PC (i7, 4.0 GHz) pixel-hunting macros are now even slower than I last recall. What performance do others get please? For example, try the following macro (modified to suit). Here it takes about 15 seconds to get from y=0 to 842, that's less than 60 pixels/sec! COMMANDS Variable Set Integer %nMouseY% to 0 Repeat Until %nPixCol% Equals "12870323" Get Pixel Color at (187, %nMouseY%) Relative to Current Window into %nPixCol% Variable Modify Integer %nMouseY%: Increment End Repeat Text Bo
  4. Hi, Take care when defining the target position's pixel colour. Sometimes it changes by the very act of placing the mouse cursor over it. Possibly why your macro did not work. Instead of the built in Mouse Locator, use a simple macro that does not require the mouse, with the command Get Pixel Color at (%x%, %y%) Relative to Screen into %PixCol% Terry
  5. Can you post your macro, showing both the script commands and the direct code, so that we can see how far you’ve got. Include Comments wherever a command is not obvious. What is the work environment? Is this all to be done within the macro, or while typing in a text editor or word processor application. Have you experimented by running the macro from @acantor? And extended it by setting %Input% from the clipboard or a Prompt command? Or, if you haven't got anywhere at all yet, work with this simple macro before tackling what sounds a rather challenging one f
  6. OK, looks like we crossed in the post, while I was editing mine after seeing your second post! Much simpler indeed. 😉 Unless you hear back from @cantor beforehand, I'll reply again after breakfast. Terry, UK Sunday 27 December 2020, 0914
  7. Hi, With time zones in mind, before @acantor replies perhaps you could clarify your requirement. Is it really simply to add quotation marks before and after a target string, as your last post implies? Or is it the much more complex requirement to add " and "? If the latter, which is how I first interpreted it could you give three 'before and after' examples of text to which you will apply your macro: 1. Containing the target string, say 'xyz' or 'abc xyz' or whatever. 2. As #1 but also containing one or more instances of 'and' or 'And' inside the target
  8. Thanks Alan. I’ll contact Support about it, as it really would be helpful to get it alphabetised. Just as it is in the Explorer window. That’s my usual first visit before choosing a new hot key, to ensure no global macros will conflict. Have you not encountered difficulties with Alt+ hotkeys, due to Alt often opening a program’s menu? Terry
  9. What order are hotkey candidates meant to be? Was it not once in strict alphabetic sequence? IOW, all hotkeys Alt+ before Ctrl+, etc? At present it's hard to see any logic to the sequence, which makes selecting one difficult, especially if you have many hundreds already assigned.
  10. Can you show us your latest code, with comments if each step is not obvious, matching the explanation you gave. Have you successfully written simpler macros before this? It does sound as if you need to study the basic stuff and work through simple examples. Did you try running the demo I wrote for you a week ago? Do you understand what it is doing? I don’t know Zenfolio, and I suspect none of us regulars here do, so as I said it’s best to work with a more accessible application, like Notepad. Meanwhile I assume you’re implying that the obvious step of using
  11. Kind of you to say so, Alan. But I note that neither of us has had a ‘thank you’ from the OP.
  12. Thanks @Samrae, you've solved the puzzle. I use a 15 or 20 year old hotkey macro to place the full path and filename of any selected File Explorer file onto the clipboard. That turns out to be the cause of the inconsistency. It had a few lines built in to handle files in the root which otherwise misbehaved: If Variable %tFolder% Equals "C:\" Variable Modify String: Replace "\" in %tFolder% with "" End If But C was the only root for which I'd eliminated the double '\\' . Looks like I've never before used the macro on any other, or if I did it never caused trouble!
  13. Meanwhile here's a macro using the more accessible Notepad. Study that and try adapting it to your requirement. Come back if you need further help // Demo for @Jimbojones // Set a variables for TAB Variable Set to ASCII Char 9 to %TAB% // Set TAB // Presumably you want to place the text cursor in a box on some already open web site. // In my version I'll activate 'Untitled - Notepad' (already open). // The macro will use the following CSV file, containing 5 records, each with two fields: Record #1, Jim Record #2, John Record #3, Jack Record #4, Jill Record #5, Janet Window Act
  14. Hi Jim, It would be easier to help if we had your CSV file and the URL (or simplifed non-confidential examples) , and also a much fuller explanation of the task. Are you copying each record of your CSV file into an identical location of successive different web pages? If so, where are the commands that open subsequent pages? Or, are there just two records in the CSV file, copied to two text fields of the web page? Or two fields in each record? It also looks like you're using integer variable %C% but I don't see where it gets incremented? And is y
  • Create New...