Jump to content
Macro Express Forums


  • Posts

  • Joined

  • Last visited

JohnGarziglia's Achievements


Newbie (1/14)



  1. As an addendum, although I have rarely posted to this forum (or relied upon it because I have not had to), I have been using the FTP commands referenced above in ME3 since 2003 and only recently am getting the FTP "Can't check for file existence" error and a result that the specified file is either not downloaded from the FTP site or deleted from the FTP site. That this error message appears, given no change in computers, OS, ISP or remote server, is perplexing.
  2. I have run into the same error on a each of the macros I am running which results in files that should be deleted not being deleted, and thus unwanted files proliferating. The issue appeared to start sometime in mid-November 2020. The error occurs regardless of whether ME 3 is running in Windows 10 or Windows XP.
  3. Randall, This also appears like it would keep a web link from being executed and is very helpful. I had not considered what the "If Mouse Cursor ... " command could do and it looks like it could be useful for a number of things so I appreciate you suggesting how it can be used. Thanks! John
  4. One of my partners came up with another solution which I pass along. It is to do a "find", search for a space, and then escape out of the find dialog. His description: Ctrl+F -- Initiate find [space] -- Search for space [Enter] -- Initiate search [Escape] -- Dismiss find dialog This works, but has the downside of the moving the link cursor to the very next link past the found "space", no matter where it was previously on the page. Thought I would pass it along. John
  5. Lemming, This worked great and was what I needed. Many thanks! An ancillary benefit is that your solution caused me to look closely at the "Get Control" commands which up until now I had not learned about. I really appreciate your advice on this. John
  6. This is more of a Microsoft Internet Explorer question rather than an ME question but I am asking it here because (1) I cannot figure this one out for numerous ME macros I am running and (2) this question would not arise but for automated operation under ME. In order to place the text on a web page into a text variable, I am using the "Edit" / "Select All" or a "Control-A" command which blocks an entire web page for the "copy [to clipboard]" function. My question is: OTHER than using a left mouse click, is there any way to then de-select the text on the web page? I am now using a left mouse click but that is problematic as depending upon where the mouse cursor is on a web page, it sometimes activates an unwanted link (i.e. the mouse cursor is unexcpectedly over an active link and that link is activated taking the macro to an unwanted web page). I have tried every conceivable keystroke I could find to "Deselect All" once "Select All" is used. I have been unable to come up with any way to Deselect All other than by using a left mouse click which as I note above has proved to be problematic. Any assistance with this is greatly appreciated. Thanks. John
  7. If an error message is present as a result of an email message failing to send, I want the macro to try again at a later time to send the email message. It appears that email messages will fail to send for a variety of reasons -- slow internet connection, email server down or slow, and who knows what else. Most of the email error messages on the log start out with the text "E-Mail Send Error: ...". The elegant solution would be a feature which is present in the "FTP Send File" command which is to have an option to save the result of the Email Send to a Text Variable. There is, however, no such feature in the "Email Send" command. I think I have found what appears to be a workaround solution to this. Since I am running a daily default error log all the time, simply having the macro check the error log for a message would not work since once the error appeared, the macro would think that the error occurred each time the macro ran for the remainder of the day. I thought about parsing down the default error log so that it only checked the last few lines but since the error messages I occasionally got had different numbers of characters and different text, I was afraid I would miss an unexpected one. So what I did was to create an alternate error log just for the portion of the macro in which the email message is to send, have the macro check to see if the alternate error log is created at all, and if it is, then to re-send the email at a later time as well as save the contents of the alternate error log to the daily default error log so I know what happened. The portion of the macro looks like this: If File Does Not Exist: "[EmailTrackingFile.txt]" Delete File: "EmailError.txt" Log Errors: "EmailError.txt" E-Mail Send: Know Recipients, Text from File, No Attachments If File Exists "EmailError.txt" Variable Set String %T29% from File: "EmailError.txt" Delete File: "[EmailTrackingFile.txt]" Variable Set String %T25% "ERROR" Log Message (%T29%) to Default Error Log Else Clipboard Save Text: "[EmailTrackingFile.txt]" Log Message (Successful Email Send) to Default Error Log EndIf EndIf Thus, for several lines of the macro, the default error log is "turned off", since apparently starting the Log Errors to a specific file turns off the logging to the default file, and once information from that alternate log file is read, the default error log is turned back on. Not as elegant as simply having a "result" message sent to a Text Variable by the Email Send command, but it appears to work. I have requested via the ME Feature Request that a "result" message be added to the Email Send command which would eliminate the need to do this alternate error log procedure. John
  8. Is there any way to capture an error message into a text variable, or otherwise act on it in the running of a macro. Example: On occasion, the error message "E-Mail Send Error: Socket Error # 10060" is written to the ErrorLog, showing that an email message was not sent. Is there a way that the error message to have the macro put this error message into a text variable so the macro would do something different upon the occurrence of this error message? Any help is much appreciated. Thanks.
  • Create New...