Jump to content
Macro Express Forums


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About MakaPakaTobyHannah

  • Rank

Profile Information

  • Gender
  • Location
  1. MakaPakaTobyHannah

    Gmail / Googlemail settings

    Yes, nothing in Spam. I opened an smtp-pulse account, no luck yet, Cory, but will try to work this out. If it works for you, it should work for me. This would be quite cool... thanks for staying engaged! I’ll update the thread, as (and if) i make progress.
  2. MakaPakaTobyHannah

    Gmail / Googlemail settings

    Thanks for the feedback so far. I am trying SMTP-Pulse at the moment; so far, no success... My aim is a simple one: I have one particular macro that works with a 16-bit DOS program (yes!), running in DOSBox, that processes any number of files in succession, but depends on keyboard input being piped into the program. For this reason, when this macro runs, my computer is captive; I can’t work on anything else, as the next keyboard input string then would not properly pipe into the DOS program when the macro executes the next iteration. So I tend to go off and do something else (coffee break - whatever). I would like ME to notify me by email when the process is completed. It’s cute, I know... but still, I’d like to get this to work. Thanks to Cory (as always) and rberg. If I find a solution, I’ll post again. Or if anybody else knows something, I’d love to find out. Cheers.
  3. MakaPakaTobyHannah

    Gmail / Googlemail settings

    I have been unable to configure the email settings in preferences to allow me to send an outgoing email via my googlemail account. I applied the following settings: Host: smtp.gmail.com Port: 465 The system requires authentication: check. (Entered my username and password). The macro executes, takes a few seconds, then returns: "The message could not be sent. ’Connection Closed Gracefully.’" I did try Port 25, though I don’t believe that’s the correct setting. I noticed, in the gmail SMTP instructions: Gmail SMTP TLS/SSL required: yes. I see no option for specifying anything like this in the email settings. I have always wanted to use the send email feature, but have never been able to do so. Perhaps it isn’t possible with gmail? Any advice, anyone? I couldn’t find a "gmail" specific discussion here in the forum. Many thanks!
  4. MakaPakaTobyHannah

    Macro Express with Quark 8.02

    I don’t know if this has been discussed here before; I couldn’t find a reference. Anybody have experience with Macro Express and Quark 8.02, in Windows 10? In my installation, none of my Macro Express keyboard shortcuts (such as "type text" macros) activate. I have a whole range of "diacritic" keyboard shortcuts, for umlauts, letters with accents, etc. etc. I use those in any application. But within Quark, they will not execute. Does anyone have any insight? Thanks.
  5. MakaPakaTobyHannah

    Editing an XML file

    I am trying to edit an XML file by deleting all text between certain tags, including the tags themselves. For instance: <system-layout> <system-margins> <left-margin>22</left-margin> <right-margin>0</right-margin> </system-margins> <top-system-distance>218</top-system-distance> </system-layout> could be part of the XML file. I would want to delete all text between the tags "<system-layout>" and "</system-layout>", including the tags themselves. The tags could occur multiple times in any given XML file. I wish there were an option in ME to "delete substring" within the text variable I assign the XML content to, where the content between the tags could be represented by wildcard characters, such as "delete "<system-layout>*</system-layout>" (you get the drift). I'm sure there I could come up with something by splitting the text string multiple times (yada yada), but that seems like a pain. Anybody have a "simple" solution to this problem? Cheers, MakaPaka
  6. MakaPakaTobyHannah

    Passing variables between Macro Express and AutoIT

    I knew it... I would get some good responses. Thanks for the feedback, this is very helpful and clarifies what's doable and what isn't. Cheers, everybody!
  7. This may be very simple, but that's never stopped me from not being able to figure things out. I'm doing a bit more now with embedding AutoIT scripts as "External Scripts" into my macros, mostly for building more sophisticated GUIs. My question is: how do you pass the values of variables OUT of the AutoIT script portion into Macro Express? Passing Macro Express variables INTO the AutoIT script portion is easy, of course. But I can't figure out an easy way to do the reverse. The way I've been doing it is by copying an AutoIT variable to the clipboard, and upon completion of the AutoIT portion assigning a new variable in the Macro Express macro from the clipboard. That seems very clumsy. Also, it's a bit of a problem if the AutoIT script portion references multiple variables, possibly of different types. I'd have to concatenate all those variables into one string, for instance, with some separator characters, such as $^$^ (something like that), then in Macro Express get the variable as a string from the clipboard, split the string at the separator characters, convert types (some portion of it may need to be an integer or a decimal), blabla. That all seems very daft... What am I missing? I thought that the %console% variable might help; alas, it doesn't. The help file explains: >> Save Console Output To: This function saves the output from the script to a text string variable and is only used if the output is sent to one of the console screens. << I don't even know what that means. Which console screens? I know what a console screen is (at least I thought I did), but I just don't understand what that means, and why the console output variable is required. So... maybe this is a two-part question: 1) how to pass variables out of the AutoIT script portion into Macro Express; and 2) what is the purpose and use of the required console output variable. Thank you! Each time I post on this forum, I learn new things, and have always received solutions, or enough feedback to help me come up with a solution...
  8. MakaPakaTobyHannah

    rename to next

    How would you decide which files to copy? Would you decide that yourself? Would you select the file(s) with which you want to do this yourself? Where would you want the copies to be placed? Into the same directory? Is the directory path fixed, or will it vary? Knowing this would make it easier to decide which is the most efficient solution to your question.
  9. MakaPakaTobyHannah

    Saving the value of a variable for "next time"

    Thanks for the suggestions!
  10. I am calling up a multiple choice window. I've set up a default assignment of the "choice" variable within the multiple choice window so that, when the multiple choice window appears, a specific button is preselected (as the default); in other words, I assign a value to the choice variable (say "A") before the multiple choice window appears, causing the button by choice "A" to be preselected. Now, if I actually wish to make another choice, I can of course click on another multiple choice button, say button "B". What I am looking for is for the new choice to become the new default, so that, when I run the macro again, the preselected button will be "B", not "A". I know I can get this effect by saving that assignment to a text file, and then when I run the macro again have the "choice" variable assigned by reading the content of that text file - in effect, the default button becomes the button that was selected the last time I ran the macro. Fine, no problem. But rather than populating my disk with such "ini" files of sorts, or making one huge ini file to store all such settings, I wonder if it is possible to change the static assignment of a variable within the macro to reflect the choice made in the multiple choice window. As it is, I define the default "choice" like this: >> Variable Set String %printJob% to "A" Multiple Choice Menu: Make EPS files << In the Multiple Choice Menu, button "A" will now be preselected. But is there any way to pass the value "B" to the Variable Set String command, if I chose button B in the multiple choice menu, and have that new value saved somehow inside the macro to function as the new default next time I run the macro? Hm...
  11. MakaPakaTobyHannah

    How to repeat, go down a list etc.

    The only potential problem I can see with the loop / iteration method is that the speed at which ME will execute this will be fixed - but I can easily imagine some sort of processor activity going on that may temporarily interrupt, or delay, the buffering of the keystrokes, which, as you get into the hundreds, may well select the wrong report at some point. Once you're off by one single arrow stroke, everything following will be wrong. Just a word of caution...
  12. MakaPakaTobyHannah

    Manipulating a text file

    Thank you Cory, as always... for your very helpful response. It's good to know I'm not the only who has experienced this kind of issue. I will explore your suggested solutions. I've only just begun using external scripts as part of ME routines; for instance, input windows with both radio buttons and check boxes - and maybe roll-down menus etc. are in-your-dreams-only features of ME, at least for now - but can be accomplished by inserting external scripts. Cheers to everyone who chimed in. And to conclude, based on Cory's suggestion, this macro now works in a fraction of a second, when it could have easily taken up to one minute: Variable Set String %origEPSFile% to "*.EPS" // this will display only EPS file in the next line Variable Set String %origEPSFile%: Prompt for a filename // I select the EPS file to be processed here External Script: AutoIT //The AutoIT script looks like this: // //#include <file.au3> //Dim $aRecords //_FileReadToArray("%origEPSFile%",$aRecords) //For $x = 1 to $aRecords[0] // if stringinstr($aRecords[$x], "statusdict") then _FileWriteToLine("%origEPSFile%", $x, "", 1) //Next // //End of AutoIT script Text Box Display: "Statusdict" command has been removed. Good thing, that!
  13. MakaPakaTobyHannah

    How to repeat, go down a list etc.

    I'm wondering if there isn't a more reliable method of obtaining your result. For instance, you write, "(select dropdown (down) enter.. then the next one select dropdown (down)(down)(enter) 730 times", which seems to indicate that for each new report, you'll have to add another "(down)" statement to your selection method, up to 730 times: is that what you intend? Also, I'd probably stay away from doing too much with mouse clicks, especially if processing speeds may vary depending on what's going on in your computer at the time. Finally, what happens if you now have more, or fewer, than 730 reports? I would probably aim at constructing a solution that will work for you regardless of how many files (reports) there are. Is it possible for you to call up a report as a file, say, by using some kind of "Ctrl-open" command? Are these reports stored as individual files on your system? If so, I'd probably investigate assembling a text file that lists all of the report files in order, like this, report1.rpt report2.rpt report3.rpt or whatever. Then, you can call up each file to do what you want simply by using the "Text File Begin Process" method. Anyhow, I'm just speculating, as I don't fully understand the environment you're working on. Maybe you can provide more specifics?
  14. MakaPakaTobyHannah

    Font display problem

    I am running Windows 7. Among my fonts, I have a font called "Terminal," which includes certain "console" characters not available in other fonts. When I use this font in Notepad, for instance, I can call up program-internal helpscreens that were designed to display in a DOS window, and all characters display correctly in Notepad / Windows. The font is properly installed, as far as I can see. Without using this font, the text display items become garbled and unusable on the Windows side. I made a macro to read in this set of helpfiles and then displaying the contents in a text box. In the text box, I have indicated "Terminal" to be used as the display font. Yet, the font does not display. What could possibly be the problem?? Without solving this issue, the macro becomes unappealing, as I do not want to launch Notepad in order to display the help file contents - I just want a text box that closes when I click OK. Any ideas? Thanks in advance.
  15. MakaPakaTobyHannah

    Manipulating a text file

    Yes, I am running