Jump to content
Macro Express Forums

patgenn123

Members
  • Posts

    371
  • Joined

  • Last visited

Everything posted by patgenn123

  1. Hello! I have been looking around for this and maybe it's in the "control" section, but I am trying to get a specific desktop icon to gain "focus". When I say focus, I mean exactly like a mouse hovering over the icon long enough to darken it or single clicking it to "darken" the icon. Is there a macro to could do something like this? Thanks! -P
  2. Hello all! I am working on a macro that needs to run if it is in a certain area. I don't want to use the ACTIVATION TAB Mouse click to trigger it. Rather I am running the macro every x seconds and if the mouse is there in that area, trigger the macro. How do I get a rectangular area covered in the macro? I looked at certain things, but couldn't find what I was looking for. It definately would be similar to the ACTIVATION tab with "left, top, right, bottom" coordinates, but I would like it similar to a mouse hover where it's triggered when the mouse is hovering there. Any ideas? Thanks! -P
  3. rberg, Wow! Thanks! That did the trick! -P
  4. I set a macro to run every second to check to see some conditions and "trigger a macro", but scheduling it every second really takes about 5 seconds to trigger. Why does Macro Express seem so off? -P
  5. Kevin, Thanks for your reply! The program I am using allows the mouse cursor to change once it hovers over a "button" control. The list provided in your mouse cursor list is the same list that the program has available and they look the same too! I chose the "up arrow" from the list they provide me. I was just experimenting. What I would love to see is the macro fire without repeating over and over until the mouse cursor changes. Alas, the running man is always running taking away my ability to run any other macro. I don't know how to solve this problem and there is only some ideas in prior posts. I would love to see it run every second and then fire the macro if it hovers over. I will try other ideas until it works and look at the old posts. Have any ideas before I embark on this mission? -P
  6. I was wondering if the command "if mouse cursor" works??????????????????? Here is my simple macro: <IFMOUSE:8><LAUNCHDEL2:0:01C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE><ENDIF> The macro is triggered IF the window is on top VIA The properties tab "Window Title". Is this macro not working? Pat
  7. Hello! I have been looking around and can't seem to find this. I was looking to have the mouse change from the "pointer" to the "hand" when it hovers over a certain area, certain text etc. but I don't know the first step to take. Should I already grab the whole screen's pixel from the specific program and then create "hotspots"? How do I keep the macro running man to a minimum and not let it "hog" up the action of other Macros? Anyone have any ideas on how to start this off? Any suggestions? Thanks! -P
  8. Hello all!! I am having extreme difficulty getting a window to open up "hidden". Is anyone else having this problem? Hidden means hidden in my book. I have a workaround though. You have a vbscript though. For anyone who has never used vbscript, open up a text file, paste this: Set objExcel = CreateObject("Excel.Application") Set objWorkbook = objExcel.Workbooks.Open("The file path of your file") objExcel.Visible = False And save it as .vbs extension. This is the only way to do this in a clean manner. No hints the file/program is opened hidden! This is just for Excel. You could google others. I hope they fix that soon. -P
  9. I am scratching my head on this one. How can I create a folder(done) then create a shortcut elsewhere(for example the desktop) The original folder is, for example, in C:\Folders. Summing up: 1) Create folder in C:\Folders 2) Create a shortcut and move it to the desktop. I think this might be easy, but for some reason I lost it today. My brains that is. Thanks! Pat
  10. Steve, I haven't tried this yet, but doesn't the running man interfere with any other macros that need to run? The way I use the program, the running man could be running for a long time. It's not something that happens withina few moments. I know I could "schedule" the macro to run every 5 minutes or so. Is there anyway to hold the "wait" command in some other fashion without tying up Macro Express? Pat
  11. Hey Leslie! Take a look at "Text" in the commands list. Go to Date/Time and there's your answer. Pat
  12. I know how to add a .lnk file/folder/program to the "quick launch" bar at the bottom, but how can I get the mouse to find it without having to go into the folder "C:\Documents and Settings\Pat\Application Data\Microsoft\Internet Explorer\Quick Launch". Just to let everyone know, .lnk files can be added to the quick launch tray with the address above and also with the Scripting Guys .vbs script here---> http://www.microsoft.com/technet/scriptcen...05/hey0901.mspx I would like the mouse to go right to the .lnk on the screen in the quick launch area once the file/folder/program is created. Thanks! -P
  13. Is there any way of making the mouse invisible when executing a macro? In other words, I want to use the mouse to drag something. Can i make the mouse transparent while it's dragging? thanks! -P
  14. Never mind, it's F9 Duh. -P
  15. This has always annoyed me and I don't know the answer. When I test a macro using "step through" and Debug Windows "variable values", I go line by line, but when the macro calls for a "mouse move", it minimizes everything I am doing and i have to maximize ME and also reopen the "variable values" window. Is there anyway of continuing the macro testing without having to have the screen minimized and the variable values window close only to have to reopen/maximize them again? Pat
  16. Steve, It seems like it's not working because the macro makes a sinlge run at it and if it's not happening within the initial run, it won't hold the rest of the macro to memory. I guess I'm saying that right. It appears that in addition to the activation tab, maybe there should be a "closing' tab in Macro Express? Or is there a workaround? Can those commands be saved to memory? Should I call up the Scripting guys at Microsoft and ask about their WMI scripts? All I need is this: A. A program opens/executes B. A file opens along with it When the program closes, C. close/shut down the file while the program is shutting down. Can A, B and C happen within the same macro? Thank you ALL for listening to someone who doesn't know jack about computers. If I worded something anyone doesn't understand, you may say "Come again?" and I will rephrase. -P Pat
  17. Cory, Hello! How are you doing? I hope well. Sorry if I wasn't clear. I have a macro that opens a program(for example ACTSAGE.exe). I tell the macro to open an excel file at the same time. What I want to do is close the excel FILE when ACTSAGE.exe closes too. I got the "OPEN" part down, but I can't get it to close when ACTSAGE.exe closes. That's all folks! Thanks for asking Cory! Pat
  18. Thanks Kevin! You guys are great! I will try your suggestion and get back with the forum! -P
  19. Hey! I figured it out? Isn't that amazing? Sometimes I even scare myself. Here it is: <REP3:01:001050:000001:01280:1:08:><DIS:<NMVAR:01:08:1:0000008:2:0000001><MMS2:8N,46><GETPXM:8><GETPX:1:S:001067:000046><IFVAR2:5:01:1:N8><LCLK><MSTOP><ENDIF><ENDREP><DIS:<IFMOUSE:13><DIS:<BREAK> This macro runs along a straight line(46) (for a portion of the screen)until it hits the pixel color! Hey, even blind squirell's find the nut sometime! -P
  20. Terry, I fiddled with your idea and the only thing that I can think of is to use the "capture" feature to drag the mouse after it detects the vsplit/hsplit. You would have to subtract/add to your N variable(which I'm sure you know and get the mouse to drag it for that long until it get to where you want it to go. ________________________________________________________________________________ __________________________ The only problem I am having for myself is the hsplit I am experimenting with is a BLACK SOLID LINE rather that <-||-> with that space in the middle. It's not detecting the solid line hsplit. Why is there NO solid line hsplit/vsplit available? Can any moderator venture to guess? -P
  21. Does anyone have a workaround on this then? Gratefully yours, P
  22. Thanks Cory. Thanks Steve. Thanks Paul. Whatever idea you have would be great. This noob/ignoramus(when it comes to computers, of course) would be grateful. Let me give you an idea of what I am doing. I am using a database. For some unknown reason, the list of icons on the MENU bar keeps moving around. Only God knows why it does this. I know how to use pixel command to click on it IF it stayed in the same place, but for some reason it moves along the menu bar, but only in that 1/8 top right corner!!!! Everytime I open the database and have the mouse click on the icon, sometimes it's there and sometimes it moves over a space right or left of the prior location. Yes, it does have unique colors in the icon graphic so just scanning the top 1/8th of the screen/window would suffice to find the unique pixel color. I ONLY have to do it ONCE when the program opens. I feel if i ask someone for a complete macro, it would be cheating on a test. I don't want to take up anyone's time to write this completely, but if someone could at least start the script for me, I could experiment and still ask questions as I go along. Thank you all! Pat
  23. Cory, Steve K, Paul, You guys are great! I am starting to get it. Somewhat. I am computer nitwit. Learning a little at a time. If any of you have an example, that would help me a lot. I have my screen resolution of 1280x1024. Sometimes, the pixel is moved around in the top right quadrant. What I am looking to do is the top half of the top right quadrant and find that pixel color. I would really only need to find it in top half of the quadrant. This would reduce it to 1/8th of the screen. That should reduce the pixel scan a bunch. I am sure a lot of people are in the dark regarding pixel color and how they work(including myself). So based on this, am I correct to say that: If splitting the pixel box into quadrants, then the top right quadrant is: (640,1) Left Top (1280,1) Right, Top (640, 512) Bottom, Left (1280, 512) Bottom right Correct? Going further splitting the quadrant in another half, the top half(splitting it across the middle)would be this: (640, 1) Top right (640, 256) Bottom right (1280, 1) Top right (1280, 256) bottom right Is this correct? Thank You! Pat
  24. Cory, Hello this is Pat. Remember me? Ah yes, I'm sure you do. If you recall, I am thinking about writing a book called "I'm still an idiot when it comes to computers. Umm.. can you explain that in layman's terms?" That's the title of my made up book I am thinking about writing. Now, come again? -P
  25. This forum issue was never resolved and it falls in line with the question I have. http://pgmacros.invisionzone.com/index.php...68&hl=pixel Floyd mentioned something about scanning the whole screen and taking some time to do it searching for the pixel color. It was never answered and I can't find anything else that could help me. Instead of scanning the whole screen, is there a way of splitting the screen into 4 parts and scanning for example, the top right quadrant instead(looking for the pixel value)? Just need some direction on this... Thanks! -P
×
×
  • Create New...