Jump to content
Macro Express Forums

patgenn123

Members
  • Posts

    371
  • Joined

  • Last visited

Posts posted by patgenn123

  1. Why does the "Show Variable Values" work 100% of the time when the Macro button "Test Run" is pressed, but doesn't work when you want to see all the information pass through the Variable at full speed and visibly open?

     

    In other words, when I am testing a macro and have the debug screen "Show Variable Values" open, you never see it work when you are testing the macro at full speed(almost), but it does work when you hit the "Test Run" on the macro profile itself.

     

    I have a macro that is triggered by a mouse click(finding text right underneath the mouse). I have the "Show Variable Values" screen open to see what is happening with the data when I click the area of the screen. I can't see a darn thing happening. When I hit "Test Run", it shows the text. It is not because I am moving the mouse to hit the "Test Run" button, because I have tried this on many areas of the scrren and the text is easily retrievable

     

    Pat

  2. Thanks John,

     

    Actually, I took it straight from the link. I was able to make it work with ME3, but not this version. I didn't see anywhere in the old post(am I an old man!! Ha) that T1 had any significance as a Macro variable in the prior post. I think it's a trigger for the command line rather than something for ME. I could be wrong though. I will give it a shot.

     

    Pat

  3. Kevin,

     

    That's a very nice macro. However, I am trying to add a context menu entry to Internet Explorer and I want it to show itself only when you highlight text in Internet Explorer. I know how to do this, but my command line is wrong. Can you take a look at it again?

     

    I just need to know if my command line in my first post is wrong. If so, what is the correct command line to put in the registry?

     

    Thanks again Kevin.

     

    Pat

  4. Hello everyone.

     

    I have finally started to learn how to "text Process" with some text files and I am having a hard time figuring out how ME is supposed to know where the end of a chunk of data versus the end of the text line.

     

    Am I supposed to tell ME that when it discerns a CRLF, then do something? In other words, ME reads the text line-by-line, but I want it to be able to tell it that it needs to gather the whole chunk and create another temporary text file by appending everything that I want by looking for the CRLFs?

     

    Just some suggestions/explanation please. I hope that no one writes a script for me.

     

    Thanks!

     

    Pat

  5. Sorry, this one:

     

    <LOCK PLAYER Wait="TRUE"/>
    <VARIABLE SET TO ASCII CHAR Value="13" Destination="%T[95]%"/>
    <VARIABLE SET TO ASCII CHAR Value="10" Destination="%T[96]%"/>
    <VARIABLE SET STRING Option="\x00" Destination="%T[95]%" Value="%T[95]%%T[96]%"/>
    <VARIABLE SET STRING Option="\x03" Destination="%T[99]%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" Strip="FALSE"/>
    <VARIABLE SET STRING Option="\x00" Destination="%T[99]%" Value=" "/>
    <VARIABLE MODIFY STRING Option="\x11" Destination="%T[99]%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" CRLF="FALSE"/>
    <DELAY Flags="\x02" Time="750"/>
    <REPEAT WITH FOLDER Path="E:\\" OnlyFiles="TRUE" Destination="%FilesinE%" FullPath="TRUE" ProcSubfolders="TRUE"/>
    <VARIABLE SET FROM FILE Filename="%FilesinE%" Option="\x00" Date="\x00" Month="%Month%" Day="%Day%" Year="%Year%" Flags="\x07" _IGNORE="0x0007" _IGNORE="0x0003"/>
    <VARIABLE SET INTEGER Option="\x10" Destination="%Month1%"/>
    <VARIABLE SET INTEGER Option="\x0F" Destination="%Day1%"/>
    <VARIABLE SET INTEGER Option="\x11" Destination="%Year1%"/>
    <IF VARIABLE Variable="%Day%" Condition="\x00" Value="%Day1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Month%" Condition="\x00" Value="%Month1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Year%" Condition="\x00" Value="%Year1%" IgnoreCase="FALSE"/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesInECopy%" Value=" "/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesInECopy%" Value="%FilesinE%"/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesInECopy%" Value="%T[95]%" _ENABLED="FALSE"/>
    <VARIABLE MODIFY STRING Option="\x12" Destination="%FilesInECopy%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" CRLF="FALSE"/>
    <END IF/>
    <END REPEAT/>
    <UNLOCK PLAYER/>
    <VARIABLE SET STRING Option="\x00" Destination="%FilesInECopy%" Value="%FilesInECopy%"/>
    <MULTIPLE CHOICE MENU Style="\x00" Result="\x00" Dest="%FilesInECopy%" Options="%FilesInECopy%" Left="Center" Top="Center" Monitor="0" Width="443" Height="296" OnTop="FALSE"/>

  6. I added more to the script and the CRLF is not appending. Is there something I am missing?

     

    <VARIABLE SET STRING Option="\x00" Destination="%T[99]%" Value=" "/>
    <VARIABLE MODIFY STRING Option="\x11" Destination="%T[99]%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" CRLF="FALSE"/>
    <DELAY Flags="\x02" Time="750"/>
    <REPEAT WITH FOLDER Path="E:\\" OnlyFiles="TRUE" Destination="%FilesinE%" FullPath="TRUE" ProcSubfolders="TRUE"/>
    <VARIABLE SET FROM FILE Filename="%FilesinE%" Option="\x00" Date="\x00" Month="%Month%" Day="%Day%" Year="%Year%" Flags="\x07" _IGNORE="0x0007" _IGNORE="0x0003"/>
    <VARIABLE SET INTEGER Option="\x10" Destination="%Month1%"/>
    <VARIABLE SET INTEGER Option="\x0F" Destination="%Day1%"/>
    <VARIABLE SET INTEGER Option="\x11" Destination="%Year1%"/>
    <IF VARIABLE Variable="%Day%" Condition="\x00" Value="%Day1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Month%" Condition="\x00" Value="%Month1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Year%" Condition="\x00" Value="%Year1%" IgnoreCase="FALSE"/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesInECopy%" Value=" "/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesInECopy%" Value="%FilesinE%"/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesInECopy%" Value="%T[95]%" _ENABLED="FALSE"/>
    <VARIABLE MODIFY STRING Option="\x12" Destination="%FilesInECopy%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" CRLF="FALSE"/>
    <END IF/>
    <END REPEAT/>
    <UNLOCK PLAYER/>
    <VARIABLE SET STRING Option="\x00" Destination="%FilesInECopy%" Value="%FilesInECopy%"/>
    <MULTIPLE CHOICE MENU Style="\x00" Result="\x00" Dest="%FilesInECopy%" Options="%FilesInECopy%" Left="Center" Top="Center" Monitor="0" Width="443" Height="296" OnTop="FALSE"/>

  7. OK, I got it all figured out and it works!

     

    Here is the code:

     

    <VARIABLE SET STRING Option="\x03" Destination="%T[99]%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" Strip="FALSE"/>
    <VARIABLE SET STRING Option="\x00" Destination="%T[99]%" Value=" "/>
    <VARIABLE MODIFY STRING Option="\x11" Destination="%T[99]%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" CRLF="FALSE"/>
    <DELAY Flags="\x02" Time="750"/>
    <REPEAT WITH FOLDER Path="E:\\" OnlyFiles="TRUE" Destination="%FilesinE%" FullPath="TRUE" ProcSubfolders="TRUE"/>
    <VARIABLE SET FROM FILE Filename="%FilesinE%" Option="\x00" Date="\x00" Month="%Month%" Day="%Day%" Year="%Year%" Flags="\x07" _IGNORE="0x0007" _IGNORE="0x0003"/>
    <VARIABLE SET INTEGER Option="\x10" Destination="%Month1%"/>
    <VARIABLE SET INTEGER Option="\x0F" Destination="%Day1%"/>
    <VARIABLE SET INTEGER Option="\x11" Destination="%Year1%"/>
    <IF VARIABLE Variable="%Day%" Condition="\x00" Value="%Day1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Month%" Condition="\x00" Value="%Month1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Year%" Condition="\x00" Value="%Year1%" IgnoreCase="FALSE"/>
    <VARIABLE SET STRING Option="\x00" Destination="%FilesInECopy%"/>
    <VARIABLE MODIFY STRING Option="\x08" Destination="%FilesinE%" Variable="%FilesInECopy%" _ENABLED="FALSE"/>
    <MACRO RUN Use_ID="FALSE" Name="CRLF" ID="-1" Wait="FALSE" _ENABLED="FALSE"/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesInECopy%" Value="%FilesinE%"/>
    <VARIABLE MODIFY STRING Option="\x12" Destination="%FilesInECopy%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" CRLF="FALSE"/>
    <END IF/>
    <END REPEAT/>

     

    While the macro was running, I tried to add another file to the folder and it didn't pick it up. Is there a reason why? I thought ME could run multiple macros at once. I would assume that the same macro cannot be run at the same time? So how can I pickup an added file while the macro is running?

     

    Pat

  8. Thanks John. I am not used to how variables are defined in this version. it was much easier in the last version. I didn't think it was my code, but rather maybe that the file sometimes take a few seconds sometimes to show in the folder while it's being dragged.

     

    I guess it's just a matter of practice.

     

    Thanks again.

     

    I will post the solution for all when i get it down.

     

    Pat

  9. Hello.

     

    I have been tinkering with Directory Modification and can't seem to get it to work.

     

    <DELAY Flags="\x02" Time="750"/>
    <REPEAT WITH FOLDER Path="E:\\" OnlyFiles="TRUE" Destination="%FilesinE%" FullPath="TRUE" ProcSubfolders="TRUE"/>
    <VARIABLE SET FROM FILE Filename="%FilesinE%" Option="\x00" Date="\x00" Month="%Month%" Day="%Day%" Year="%Year%" Flags="\x07" _IGNORE="0x0007" _IGNORE="0x0003"/>
    <VARIABLE SET INTEGER Option="\x0F" Destination="%Day1%"/>
    <VARIABLE SET INTEGER Option="\x10" Destination="%Month1%"/>
    <VARIABLE SET INTEGER Option="\x11" Destination="%Year1%"/>
    <IF VARIABLE Variable="%Day%" Condition="\x00" Value="%Day1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Month%" Condition="\x00" Value="%Month1%" IgnoreCase="TRUE"/>
    <AND/>
    <IF VARIABLE Variable="%Year%" Condition="\x00" Value="%Year1%" IgnoreCase="FALSE"/>
    <VARIABLE MODIFY STRING Option="\x08" Destination="%FilesinE%" Variable="%FilesInECopy%"/>
    <MACRO RUN Use_ID="FALSE" Name="CRLF" ID="-1" Wait="FALSE"/>
    <VARIABLE MODIFY STRING Option="\x06" Destination="%FilesinE%" Value="%FilesInECopy%"/>
    <VARIABLE MODIFY STRING Option="\x11" Destination="%FilesInECopy%" Filename="C:\\Documents and Settings\\Pat\\Desktop\\New Files Added to F.txt" CRLF="FALSE"/>
    <END IF/>
    <END REPEAT/>
    <TEXT BOX DISPLAY Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 %FilesInECopy%\r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/>

     

    There is a few other things bothering me about ME Pro. For some reason, when I "test run" the program, I see all the files moving along in "Debug - Show Variable Values". Now when I test the macro by moving a file into the directory folder, nothing happens in the "Show Variable Values" debug window. it's like it's standing still.

     

    Also, after a few tests, I gave up on it for a few hours. Now when I came back and had Macro Express Closed, I decided to move a file into the specific folder and it seems like it took ten minutes for it to chew through the entire folder whereas before it took like 15 seconds. What's the deal?

     

    Pat Gennarelli

  10. John,

     

    There is an example of a self contained HTA in the original Forum for regular Macro Express users. Also, you could also take a look at AutoIt and AutoHotkey. You can create forms there also. It does take away from the power of macros and you would have to learn how these work, but ME doesn't have this capability all by itself.

     

    Take a look at this: http://pgmacros.invisionzone.com/index.php?showtopic=248&hl=hta+form

  11. I have caught a few bugs in the ME Pro program:

     

    The running man at times gets stuck in the system tray and the only way to get rid of it is to terminate Macro Express Pro.

     

    Also, when I disable a macro, the macro comes right back and "un-disables' itself a few days later or after a restart.

     

    Pat

  12. Paul,

     

    I don't know. Before I was laid off from my last company, they were intrigued with Macro Express and how I was using it. At a certain point, they were going to let me try to automate their database. Before they laid off a few people(including me), they said that they were going to let me do my trial and error in a virtual machine. Yes, it was in a network setting but I don't see how this could be any different than what I was thinking I was going to do with the virtual machine on a single desktop.

     

    If anyone has experience in this, would you mind chiming in? I have googled this and some of it seems straightforward, but I am not certain how this would work with Macro Express and how it could a virtual PC could do some automation in the background.

     

    Thanks,

     

    Pat

  13. So in other words, I am OK with using my own disk twice on my own computer- one as my normal operating system and one as my Virtual computer as long as it's my own licensed copy. This is what I was told.

     

    One thing I think the virtual PC would be helpful with is internet data mining. You could run internet on the virtual PC and get source code all day long from different websites without bothering your own computer.

     

    You know this could really be an interesting situation.

     

    Pat

  14. Correct me if I am wrong, but I was told you can reinstall your own Installation disk to create a new Virtual PC without the need to buy another one. In other words, you only need your original Installation disk to have both the real OS and the virtual PC.

     

    If that's the case, why can't I tell my virtual PC to run an instance of Internet Explorer etc? I could tell ME to look at the process that's running etc. The only thing that ME would probably not be able to do is to detect active window titles, for example. However, I could work around that by using a Repeat with Windows etc.

     

    I am trying to think of what good can come of this and I am sure there is many. However, I could also see many ways these issues can be solved using the regular operating system and avoiding the virtual PC side of it.

     

    My 2 cents.

     

    Pat Gennarelli

  15. There was mention of a Virtual PC in a prior post. How does that work? Can macros be run in the virtual PC and have the results be moved to the real PC? I know this has nothing to do with this thread topic, but it would be an interesting technique where two macros with keystrokes don't conflict or running a hidden macro could be of use.

     

    Pat

  16. Well from a genius like yourself, I am flattered. I use Youtube.com to launch some songs I haven't bought yet. That's why I use ME. Compared to what you do, put me in the corner and give me the dunce cap.

     

    Although I am studying right now for the MCSA certification. I am only on my A+ with 3 more to go after that.

     

    Yes, the setting "if the activation is missed run at the next available time" is checked.

     

    Nevertheless, in my first post, I mentioned that the macro is perpetually running while the 5 songs are playing. It takes 20 minutes for all songs to play out. While this is happening, the running man is in the system tray "running". I was told that with ME Pro, this would not be happening. Maybe I misunderstood, but I thought the ENTIRE macro would load into memory and play without Macro express devoting it's energy toward it. In other words, I thought this was the way ME Pro was going to get around the whole issue of macros running simultaneously and conflicting with each other like what was happening in the original ME.

     

    Pat

  17. I have a scheduled macro that I use as an alarm to wake me up in the morning. Lately, it has not been waking me up and I can't figure out why. Well, funny thing happened when I restarted the computer. The alarm macro started at startup! It doesn't have an activation for "startup". Can anyone explain this?

     

    Also, with my Alarm macro, I have to create 3-4 minute delays in between the songs in order to not have them start all at once. This creates a macro that ends up being 20 minutes in length. My question is: Is there anyway to force the macro to load into some special memory location where the macro is loaded in a few seconds so other macros can play? Maybe I don't understand how multiple macros can play nice with each other?

     

    Thanks!

     

    Pat

×
×
  • Create New...