Jump to content
Macro Express Forums

patgenn123

Members
  • Posts

    371
  • Joined

  • Last visited

Everything posted by patgenn123

  1. Hello, Arek, I had to wait until I got home from work to try the scipt again. It still splits it at the 1 not beteen the c and 6. Plus, you declared the variable to be a 1 in the scrpt. What happens if I get something other than 1? There would have to be 9 other variables declared. For some reason when I copied the script, it did not copy all of it to my scrpt editor. Nevertheless, Cory, Arek et. all, I would like to learn how ASCII decimals work with this script. Can you show me how to do that? Thanks! Pat
  2. Hello all, I am busy with questions today. I am parsing a text file and want to grab any text that is an email address. In general, it would go something like this: If variable contains @ and .com or .net or....(other extensions) do something.... My question is, is there a better way to make sure it's an email address and nothing else? Pat
  3. Hello all, I was wondering if anyone knew how to find the other tabs that are running in IE(not the one that is visible) and open it? Let's suppose I have 5 tabs open in IE and I want the macro to find out what they are, how do you do it? Thanks! Pat
  4. Thanks Arek, The string you used 1ac657 needs to be split between the c and 6 into 2 different variables. The "1" needs to be disregarded if the first character is a number so it will not split it between the 1 and a. Pat
  5. I need to split the string in the middle and if the first character is a number, do not split it after this character rather go to the next possible "split" where letter ends and number begins.
  6. Arek, Not all the time. it could be <letters> <number> too. It also could be 7 chracters not always 6. Pat
  7. OK. Sorry it took so long to get back with you. Sometimes the number part could be 4 digits, but the letter part seems to be always 3 digits. So I want to split it between the letters and numbers. So what it boils down to is, I want the macro to detect when the letters end and the numbers begin no matter the number of numbers or letters after the first number. Pat
  8. Good afternoon everyone. I wanted to parse something like this: 2bc250@gmail.com The split string at the "@" is easy, but I am further trying to parse the 2bc250 into "2bc" and "250". How can I go about doing that? Pat
  9. Cory, Sorry for not including Remote Desktop in my forum topic. Yes, I am using Remote Desktop. I would assume that the only way macros could work is by pixels and coordinates that the mouse can click on. It looks like it has to be in the same location everytime. Does anyone have any other workarounds? Pat
  10. Cory, I hope you are doing well. Well, do you mean putting the Windows Server 2003/2008 etc. window on top by using set window order to always on top while a macro is running? Also, when I use Get Control, it gets the full screen and it looks like it cannot capture any control in the server screen. Pat
  11. Hello all, I hope everyone had a nice Thanksgiving! I have finally been able to use Server 2003 and I am having a difficult time trying to use MEPro with it. in other words, for example, if I use CTRL+ESC to view the Start Menu, it opens the desktop Start menu and not the Windows Server Start Menu. Does anyone have any inside tips on how to fully use MEPro with Windows Server 2003? Thanks! Pat
  12. Can anyone help on this? Could it be that sometimes a keyboard gets stuck? Could it be a keyboard hook? It says there is a tool to restore the hooks, but it's notin the Help section. Pat
  13. Yes, the program does have a copy from the edit menu on top, but I had it planned to do it by clicking on the control. Oh well, I just wish that ME could do it the way I planned it. What does it mean that it activates the control from the Control Event then? It is no different than Control Window gaining focus. There is no difference between the Control gaining focus and the control's window gaining focus. Why have the two when they act the same? Pat
  14. Paul, Thanks. However the database I am using does not have a COPY right-click. I use ACT! for contact management and it does not have a right click copy. Besides it's not as elegant/smooth. any other ideas to get MEPro to work the way it should(or the way I should?) Is this a flaw in the software? I added a message box to the end of this script and because the message box steals the focus of the database window, it works 100% of the time because when I click on the control again, it brings the focus back to the list control and it works 100% of the time. The problem is when a user(such as myself) clicks one line and then the next line(without a messagebox stealing the focus), it does not work even though the Activation is a Control Event and its supposed to activate when the control gains focus. Why not tell us that this is not true? The dropdown in Control Event activation says it will trigger when the control gains focus. Well, what it really means is that it will activate when the top level window gains focus and then it will work. That's not right. It should work when the listbox gains focus and that means when I click anywhere on the control regardless of whether the top level window has to reset itself for another run at it. At least there should be an option for this. The control event only works when the top level window resets it. That's not right. A database listbox such as in ACT! should be able to be clicked 5 trillion times and not have a relationship with the top level window that way. Pat
  15. Here is another example of why MEPro does not work consistently: I use a Control Activation and then this script: <DELAY Flags="\x12" Time="250"/> <TEXT TYPE Action="0" Text="<CTRLD>c<CTRLU>"/> <VARIABLE SET STRING Option="\x02" Destination="%T[1]%"/> The point of the script is when I click on the LIST Control(of which I activate from MEPro), ME is supposed to type a Ctrl+C to copy the line onto the clipboard. It is never EVER EVER consistent. I used 2 activations events(control event and mouse event) together. I used the mouse Event Activation solo. I used Control Event Solo. It never works consistently. NEVER. When I go from one list line to another list line, it does not copy the next click no matter what is used or any combination thereof(mouse event and or control event). the reason is that it does not capture the text because the window title is not reactivated, but that does not matter because the Mouse Event Solo should solve this problem. The Problem is that this control event is not consistent either. Now if I am doing something wrong, I would like to know. No matter how much of a delay is used in any way, shape or form in the script itself, it does not work consistently. If I put a 250 milliseocnd delay at the top, it still does not work well. In short nothing works well. Nothing. Pat
  16. Hello, It has begun to reach a boiling point with ME because I find that even with the "Running Man" NOT running, sometimes macros do not work when they are triggered. I have a SUPER simple shortkey that pastes my resume from a File location into websites so that when I use the ## shortkey trigger, the file is typed into the website's input box. Sometimes it works and sometimes it doesn't. Now mind you even though I despise that running man in the system tray, I tried a little experiment with seeing whether or not something else is running when I use the shortkey. Lo and behold, there was no running man and the macro still did not work. I had to restart ME by clearing the two running processes and restarting MEPro to get it to work. This is one of the most buggiest software programs I know and it has reached a boiling point. I try 10 different things sometimes to get things to work and it doesn't work. This is not necessarily theonly problem with it. I created a button on the Internet Explorer toolbar where if I click the icon button, it runs a ME program. Again, sometimes it works, sometimes it doesn't WITH NO RUNNING MAN RUNNING. Third, I created an ME system tray icon to help with things I need to do. Again, sometimes it runs/works, sometimes it doesn't with NO RUNNING MAN RUNNING. Everything starts working again after I clear ME from the Task Manager and restart the program. Pat
  17. <WAIT FOR WINDOW TITLE Title="C:\\Documents and Settings\\Administrator\\Desktop\\Computer" Partial="FALSE" Wildcards="FALSE" Indefinite="TRUE" Hours="0" Minutes="0" Seconds="0"/> <DELAY Flags="\x02" Time="500"/> <SET WINDOW ORDER Window="\x01" Title="C:\\Documents and Settings\\Admini Still does not work. Some many things with MEPro really have me over-the-edge. Pat
  18. I submitted this as a bug. Gosh I hope they fix this. Pat
  19. Hello all, I don't understand why this easy script does not work: First, All I am trying to do is trigger a folder to be "on top" when the folder opens. Can anyone help me on this? <DELAY Flags="\x02" Time="500"/> <SET WINDOW ORDER Window="\x01" Title="C:\\Documents and Settings\\Administrator\\Desktop\\Computer" Partial="FALSE" Wildcards="FALSE" Action="\x00" _IGNORE="0x0006"/> The trigger is by Window Title: C:\Documents and Settings\Administrator\Desktop\Computer
  20. I like the examples here, but I bring it back to my original question. Can this be done with non-text items such as <insert>? I think Cory might have hit the nail right on the head. It hasn't worked for me either. maybe I am wrong. Sending text to a control is easy using Text Type then send it to a control. However, sending something like F2, <INSERT> or SHIFT+G doesn't work well with ME. I know Autohotkey/AutoIT have this, but right now I don't want to learn another language. I mighthave a workaround though. Force the top page to stay on top and activate the minimized program by maximizing it. That way the computer is doing the work behind the scenes. once the action is complete, re-minimize the program that needed the <insert> command and undo the screen on top. I wish I could find a way to do it with my original proposal. Pat
  21. Hello all! I want to add/append a "TAB" ASCII character to every multiple choice item chosen so that when looking at it in the debug screen there will be tab spaces between each item chosen. I set the multiple choice to choose more than 1 item, but I haven't figured out a way to append a TAB after every item chosen in "SHOW VARIABLE VALUE" debug screen. In other words, I would like to see spaces between the multiple items in the debug screen. <VARIABLE SET TO ASCII CHAR Value="9" Destination="%T[99]%"/> <VARIABLE SET STRING Option="\x00" Destination="%T[1]%"/> <VARIABLE SET STRING Option="\x00" Destination="%T[2]%" Value="%T[1]%%T[99]%"/> <MULTIPLE CHOICE MENU Style="\x01" Result="\x01" Dest="%T[2]%" Title="Grocery Categories" Prompt="Choose from Grocery Categories" Options="Dairy/Juice\r\nMeat/Fish/Chicken\r\nPasta/Bread/Grains\r\nFruits\r\nVegetables\r\nCheeses\r\nHousehold Items\r\nVitamins\r\nCat\r\nPersonal Care" Left="Right" Top="Bottom" Monitor="0" Width="265" Height="275" OnTop="FALSE"/> Any help would be greatly appreciated! Pat
  22. I know you can send text to a behind-the-scenes program(aka database), but how can one send something like <insert> or <Tab> to a minimized/unfocused/behind-the active program/database? Thanks ALL! Pat
  23. Thanks for the reply Paul, All it says in the system tray is "Macro Express Pro" when a macro is running. I looked in Preferences and cannot find any option to tell the user what is running. Did I overlook something? Pat
  24. Good day everyone. I have the same text box that keeps on popping up and I cannot figure out which macro is triggering to shut it off. Does anyone know how to trace what the name of the last macro activity was? Thank you in advance! Pat
  25. Hello! I hope all of you are doing well! I was wondering if anyone has come up with a scheme to autosize the multiple choice menu? Also, if the text is too long for the single entry in the Multiple Choice Menu, it cuts it off! Does anyone have some ideas for both of these? Thanks a million! Pat Gennarelli
×
×
  • Create New...