Jump to content
Macro Express Forums

Beaue

Members
  • Posts

    18
  • Joined

  • Last visited

Beaue's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yeah, I didn't think there would be, but I was hoping. Thanks Cory!
  2. Hey guys. Is there a way built in to MacEx to pull a list of your macros (preferably from a specified category folder) and put the macro titles into a variable or a multiple choice menu? So far I've just got a list of macros saved to a text file that the script pulls from (for a multiple choice menu) and I also include an "Other" option in the menu that, if selected, triggers a prompt that will add a new title (based on what you type in the prompt) to the end of the text file. This adds another menu item to the dialogue next time the macro is run. What I don't like about that method is that I have to open Macro Express and find the title and either copy it from the macro or type it out exactly. I'd prefer it to update itself dynamically based on the macros I put into a certain category. Any ideas?
  3. Not sure which forum to post this in, and wasn't able to find a prior thread about this, but: Is there an easy way to convert Macro Express Pro scripts to Macro Express 3 scripts? I mean I could take the same commands from each program and manually make a macro that replaces text and pastes it in the other format, but that would take a really long time, and I don't think everything would translate over. Looking for something easier and faster. The reason I ask is because I work with people who could benefit from scripts I make, but they use ME3 and I use MEP. Personally I'd prefer they all just buy ME Pro but it's their money and I can't tell them what to do with it.
  4. I generally need to restart Macro Express Pro about once a day to fix weird issues. Every few hours might be excessive, but your mileage may vary.
  5. I would think that MacEx would be moving on from that step if it acted too quickly on the file though. It was getting hung up on the "Wait for file to exist" step, not the "copy file from one path to another" step. Regardless, I did try the "Wait for file to be ready" command anyway, and got the same results. I don't actually create the file, I only save it from an email attachment in Outlook to the network drive. It often does take awhile to save it from Outlook, because the network drive is based out of Europe. Hah, when I was creating the test script as you suggested, I just found the error. %ID[1]% was supposed to be %ID[%N[1]%]% in the below line: <VARIABLE SET STRING Option="\x00" Destination="%Path[1]%" Value="Z:\\%ID[1]%.ID" NoEmbeddedVars="FALSE"/> So it was looking for the first ID file every time, rather than the current ID file. The issue makes complete sense now. Thanks for the assist.
  6. Hi Guys, I've been running into an issue with a couple of lines of script. I've tried two different ways of doing this and my macro keeps stalling at this step every other time I run it. I will run the macro once and it will work, then it will stall the 2nd time through, then work the third. It's really boggling. The entire script repeats on a loop determined by a variable at the beginning of the script. It copies a Lotus Notes ID file from an attachment in an Outlook email to a network drive that the script previously mapped, this is where it stalls. The script succeeds in saving the .ID file to the network drive every time. Afterwards, it i supposed to wait for the file to exist on the network drive and then proceed. The problem is that it's not proceeding. I have to manually cancel the macro, and the next time I run it, it works fine. I have even deleted the .ID file from the network drive as a troubleshooting step to basically "reset" the script to run as if it hadn't done anything yet. I wanted to see if it just wasn't refreshing the network drive to look for the file, but the script still functions fine when I run it again. I know the problem happens in this section of the script because I have the dialogue box set to tell me what line it was canceled on (as a side note, it is quite annoying that the "Don't show this again" box is ticked by default, making it so that I have to untick it every time). Anyway, I've tried the simple "Wait For File To Exist" command: <WAIT FOR FILE TO EXIST Filename="%Path[1]%" Indefinite="TRUE" Hours="0" Minutes="0" Seconds="0"/> <COPY FILE/FILES Source="%Path[1]%" Dest="%Path[2]%" Progress="TRUE" Recurse="FALSE"/> and the slightly more complicated "infinite loop until file exists" script: <REPEAT UNTIL Variable="%T[1]%" Condition="\x01" Value="%T[1]%"/> <DELAY Flags="\x02" Time="500"/> <IF FILE EXISTS File="%Path[1]%" Search_Path="FALSE"/> <REPEAT EXIT/> <END IF/> <END REPEAT/> <COPY FILE/FILES Source="%Path[1]%" Dest="%Path[2]%" Progress="TRUE" Recurse="FALSE"/> In an earlier version of this script I was merely using Z:\%ID%.ID as the path, where %ID% was the filename (I had to add the extension .ID to it because they weren't saving as ID files) but it wasn't saving at all until I started setting the entire path and file name to the variable %Path[1]%. I guess it didn't like embedded variables or something. Anyway, in both scripts above, I can see that the file exists, yet the script will not proceed beyond this point. It is copying the filename directly from the file and saving it to a variable before it saves it to the Z: drive, so it's not an issue of syntax or spaces in the name (and if it were, it shouldn't work the 2nd time I run the script either). Anyone have any ideas as to a fix or the root issue?
  7. Hmm, your post has sparked an idea. I will have to look at the direct editor more and mess with it. In the meantime I found a work-around that I've been using to accomplish the same thing, but it is a little clunky. As soon as I have some time I'll revisit this one. Thanks!
  8. Interesting, I've never used the Split String command before. I'll play with it.
  9. Hi guys, I realize this thread is rather old, but I'm looking for a method to do something that was mentioned in Paul's original post. I'm wanting to find a method to store rich text in a variable. The clipboard would probably work too, but I would prefer to find a way to just store rich text directly in a variable, to make it easier on the rest of the script. The Text Box Display command doesn't suit my purposes. You kinda lost me when you suggested dynamically creating a file and loading a macro text file. Can ME4 save data to, and pull data from an .rtf file? Is that similar to what you were suggesting? I noticed that the Load Macro Text File command looks for .txt files and .mxe files. Are .mxe files rich text or plain?
  10. Thanks for the suggestion! It sounds like this is what I'm looking for. I'll read up on it in the help file (I love the MacEx help file) and see if this will work for my purposes.
  11. Hi All, I wasn't sure what to search for to see if this topic has already been covered somewhere, and I looked through the MacEx help file. Is there a way to shorten excessively long logic statements, for example, if my logic statement is as follows: If Variable %T[1]% Containts "1" OR If Variable %T[1]% Containts "2" OR If Variable %T[1]% Containts "3" OR If Variable %T[1]% Containts "4" OR If Variable %T[1]% Containts "5" OR If Variable %T[1]% Containts "6" OR If Variable %T[1]% Containts "7" OR If Variable %T[1]% Containts "8" OR If Variable %T[1]% Containts "9" Is there a way to shorten this to say something like: If Variable %T[1]% Containts "1-9" or: If Variable %T[1]% Containts "1,2,3,4,5,6,7,8,9" I know %T[1]% isn't a good variable name, I'm just using it as an example to illustrate my question. Basically I want to know if I can search for multiple characters individually in a string, rather than collectively, with one logic statement. Are there any modifiers in MacEx that allow this? As it is now, if I used the above, it would search for "1-9" and "1,2,3,4,5,6,7,8,9" rather than 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9.
  12. There are no other 3rd party backup programs such as Carbonite running on this machine. I did find a macex backup copy for this morning. Oddly enough, when I changed the setting back to "Backup to the same folder as the macro file" I found backups. My guess is that it does backup to the same folder as the macro file unless you specify a path, even if you have the setting set to "Backup to a specific path." Anyway, I am breathing sighs of relief right now.
  13. Hi guys, I made a huge mistake and deleted a whole category of macros when I was trying to delete an individual macro. I don't see the category or the individual macros that were in it in the MacEx Recycle Bin. I tried looking for backup files because I had it set to save 5 backups, but in the preferences for backups, it was set to backup to a specific location with no location specified. I don't know how that setting happened, because I used to have backup files. Anyway, I couldn't find any backups other than the ones I did manually a couple months ago. I don't know what changes I've made over the last couple months, but I'd prefer to restore the macros I just deleted today if possible. Do I have any hope of this?
  14. Oooh, I hadn't thought of using the registry. Brilliant! I'll give that a go. Edit: Looks like it's working. Thanks guys!
  15. Update: It looks like this work-around works for the first variable, but it is only saving the first of the three to the .ini file. The other two variables aren't being saved. Oh well, it was worth a shot. Appreciate the effort.
×
×
  • Create New...