Jump to content
Macro Express Forums

camarosource

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by camarosource

  1. The reason is because I have a number of programs I want to run in order to help ensure the computer is cleaned "Virus checking, adware removal, updating, removal of old files, etc.. and I want to run them in like how a CGI Cron Job works.. And have this done at night while I am sleeping and then have the computer turn off automatically at the end because the computer draws a LOT of power to have left on over night when not being used.

  2. Try copying the contents of the page to the clipboard, and then use the If Clipboard Contains command.

     

    You may also have some luck in programming the macro to use the Find command within your browser. You would need to set the macro up to press Cntrl+F to activate the Find window followed by a Text Type command to enter the search criteria and pressing the Enter key to begin the search. From here, the browser programs act differently. If you are using Internet Explorer, a window will appear to tell you that the text could not be found. If you are using Firefox, than the color in the search box changes. You will need to set your macro up to detect the change that is correct for your browser.

     

    Hmm.. Interesting.. How would I copy a page to the clipboard tho? Also, if I used a "IF CLIPBOARD CONTAINS".. what next? What's the action? how to program an ELSE go to action type command?

     

    If = Question..

    But how do you set the action to do IF the IF statement is true?

     

    How would I also check if the clipboard contains a PARAGRAPH? Seems "if clipboard contains" has a single lined field..

  3. If it possible and if so, HOW? so to make a program execute commands only if specific text on a webpage is found.

     

    IE. In basic terms..

     

    IF "Click here" exists on a webpage then go to a section of the script that executes a series of commands.

    IF NOT, then exit, or go to a different part of the script to execute something else in the script.

     

    Basically I know how to look for a series of text on a webpage but I'd like to do something else if the text does NOT exist..

     

    Thanks

  4. There MUST be a way to do this but I can't figure out how..

     

    Basically I have a set of commands I want to execute. Then I want to REPEAT it again but of course more efficiant to NOT copy/paste 20 commands all over again.

     

    With PHP you have Functions.. where you create a function with all the commands in it, then you simply have one line to execute that function again..

  5. Hi,

     

    I think you should use controls in order to move your mouse to a desired link. Controls in ME are very powerful tool.

     

    Let me know if you want some more assistance.

     

    Regards,

     

    Abdul

     

    :D:D:D

     

    But what if the link location changes from screen to screen. And could only be found by it's keyword or phrase? Is there a way for ME to put the cursor down whereever the keyword (search the page for the following word/phrase if you will...) or phrase is? Thanks

  6. Is it necessary to run the Firefox stuff in tabs? If not, you can open them in separate windows, which would be easier to manipulate using Macex.

     

    You may also be able to send keyboard commands to multiple windows by using Controls.

     

    You'll need to identify the correct windows and controls first. But if it works, it'll look like you're multi-tasking.

    How would you send to multiple controls?

  7. I am wondering IF this is at all possible, and if so, HOW?

     

    With FIREFOX Browser open with multiple TABS open in it, I want to run a macro that will run in all the tabs at the same time.

     

    Macro Playback Speed: Normal Speed
    //  
    Delay 150 Milliseconds
    Mouse Left Button Down
    Mouse Left Button Up
    Delay 500 Milliseconds
    Text Type: <CONTROL>f
    Delay 1 Seconds
    Text Type: <ALT>n
    Text Type: [I'll enter the text in here]
    Delay 1 Seconds
    Text Type: <ENTER>
    Delay 296 Milliseconds
    Text Type: <ESC>
    Delay 296 Milliseconds
    Text Type: <ENTER>
    Delay 150 Milliseconds

     

    I would like this command line to run in ALL the tabs that are open in the firefox browser at the SAME TIME. IS THIS POSSIBLE? HOW? thanks

  8. Is there a way to split a macro into seperate instructions? Similar to how PHP FUNCTIONS work; you can call the function (more efficiant) in the script so you don't have to copy/paste the same thing over and over again in the same script?

     

    Let's say the instructions are to do the same thing.

     

    A good example of this would be say:

     

    1. Mouse move screen 1/2 (X/Y) location

    2. Left click down

    3. Left Click up

    4. Tab

    5. Type text

    6. tab

    7. ENTER

     

    And I want to repeat this part but rather change copy/pasting it each time and resullting in a large macro full of duplicatiing series of instructions , have it as a function where I simply call the function over. Thanks

  9. I have gone through the tutorials and help me files and am still so confused about the CONTROL features:

     

    ie. What does the following do and WHEN do you use them:

     

    1. GET CONTROL

    2. CAPTURE CONTROL

     

    Thanks

     

    I basically want to send grouo of commands to the background window but don't know how or WHICH control (GET or CAPTURE?) to use ?

     

    Let's say I activate the forground Firefox browser window with a webpage in it. I load like Notepad in the forground (browser now in background), I want to send a TEXT TYPE to the Firefox browser in the background.. Do I need to use a GET or CAPTURE for the browser window (to set to C?)? Thanks

  10. Is there a way to send either CONTROL+TAB or CONTROL+PAGE DOWN to a control?

     

    I tried to sent it as TEXT TYPE <CONTROL><TAB> but that seams to just type CONTROL and then type TAB. Need to be able to tap TAB while CONTROL is held down.

     

    Thanks

     

    If there is absolutely no way of sending a CONTROL+TAB to a control, is there anyway of TYPE TYPE "CONTROL+TAB" to the forground window instead?

  11. NOTE: ALL of this is to work IN THE BACKGROUND. ANYTHING I do in the FOREGROUND (using keyboard to write letters, using the mouse in a paint program, etc...) are COMPLETELY unaware of this script work.

     

    5. Have a certain MSG typed where it clicked (actually a form on the page)

    I believe the two requirements of yours that I have quoted are mutually exclusive. In general, the TEXT TYPE command operates on the foreground window, i.e. the one with the focus, so I can't see how you could achieve what you want.

    I thought that at first but there is an option in the TEXT TYPE called "Send text to Control" then you select the control variable.

  12. Camarosource -

     

    One more nasty post like your last one and you are out of here. I guarantee it.

     

    The reality of any online forum is this: you think your problem is the most important one in the world. Others don't.

     

    People are doing their best to help you here. I spent a good hour of my own time trying to find a solution for you. Maybe one exists for your problem. Maybe not. But if you want help keep a civil tone in your posts.

    WOW.. I'm sorry, I never intended on that sounding "nasty".

     

    I posted the msg again that way cause It appeared those who were replying were not entirely understanding my exact question as the answers I was getting were not right. Even you Joe, (The author of the program? who would know his own program inside and out) wasn't working ;-) :P

     

    I posted the msg as descriptive as possible to help others replying understand what it was about so they didn't reply and waste their time only to be wrong. :P:P

     

    Please ignore the "additude" perhaps thought to be given to that msg, I meant it in the most sincere intention. Thanks.

  13. OK.. It's been 3 days and I STILL cannot get the answer I am looking for.. So I'll try 1 last time and describe EXACTLY what I am trying to get this to do. Someone PLEASE reply with the EXACT way on how to do this. Little bits of info back and forth is really frustrating :( Especially like it's 1 reply ever 1 or 2 days..

     

    I'ml going to try this again from the beginning:

     

    NOTE: ALL of this is to work IN THE BACKGROUND. ANYTHING I do in the FOREGROUND (using keyboard to write letters, using the mouse in a paint program, etc...) are COMPLETELY unaware of this script work.

     

    OK.. so. ("Microsoft" is just for me testing)

     

    [i ALREADY have a browser open with a page open with the title "Microsoft"

     

    1. I want to Activate this window (Assuming you must activate it so you can use the macro on)

     

    2. LEFT MOUSE CLICK on a SPECIFIC X/Y region

     

    3. SCROLL DOWN TO END of this page (type text with a space seems to work to scroll 1 page at a time)

     

    4. LEFT MOUSE CLICK a SPECIFIC X/Y region

     

    5. Have a certain MSG typed where it clicked (actually a form on the page)

     

    6. Pause 3 Seconds

     

    7. LEFT MOUSE CLICK a SPECIFIC X/Y region

     

    SO.. Can someone PLEASE give me the EXACT SCRIPT to do this? Remember ALL of this is to be done COMPLETELY HIDDEN in the background. I want to be able to work on the computer in the foreground and not even know that this is working. Perhaps if you could paste the DIRECT EDITOR SCRIPT (unless the msgboard will corrupt some code in which case please post it EXACTLY how I do this, step-by-step, with ANY and ALL TOGGLES that must be ON/OFF.. Thanks.

     

    basically so I don'y need to reply again except for "AWESOME!! THANK YOU SO MUCH FOR THE CODE, THAT WORKED PERFECTLY!!" :P:P;)

  14. From the Help file.
    Note: Not every button, menu item or component on a program is actually a Control. Sometimes the only control in a given program is the window or dialog that pops up when the program starts. We have also noticed that many of Microsoft's programs seem to have fewer controls than programs from other manufacturers. How the controls work will depend upon the way the program you are working with is designed.

     

    Items on web pages such as buttons and edit boxes are not actually controls, they are graphics. Macro Express will not be able to see them as the controls do not exist.

    In that case, why can't you just have it click on a specific X/Y location with the mouse? That's the problem i'm having. It isn't working.

  15. Ok. That scroll works, but not the mouse movement and clicking isn't working without interfering with the forground.

     

    Activate "Microsoft" <- Activate only
    Capture Control (Control Focused) [Save to C1] (Capture using text : OFF)
    Program Launch (Launch program only) Notepad
    Mouse Single Left Click on Control C1 (Advance - COORDINATES; 56 / 121)

     

    The mouse click doesn't seem to work.

     

    I want to be able to run this script so I can be going things in the foreground, (TYPING and using the mouse) and in the BACKGROUND, it's clicking on specific regions.. but it's not working?

  16. If the Control is in the background, using the Text Type command with the Send Text to Control chosen will send it as you expect. As a test, create a macro that does the following:
    • Launch IE
       
    • Goto a web page
       
    • Capture the page to Control %C1%
       
    • Now launch something in the forground, say Notepad
       
    • Set the Notepad window so that you can see part of the web page
       
    • Now Text Type <PAGE DOWN> to the %C1% Control
       
    • You will see the web page scroll in the background

    Tried that but it's not working.

     

    [With Microsoft window loaded already before running this macro]

     

    This is the exact code: <REM2:Microsoft><ACTIVATE2:Microsoft><REM2:><CAPCONTROL:T:1:1:><LAUNCHDEL2:0:01C:\WINDOWS\notepad.exe><TEXTTYPECT:1:<END>><DELAY:1><TEXTTYPECT:1:<HOME>><DELAY:1><TEXTTYPECT:1:<END>><DELAY:1><TEXTTYPECT:1:<HOME>>

     

     

    Activate "Microsoft" <- Activate only
    Capture Control (Control Focused) [Save to C1] (Capture using text : OFF)
    Program Launch (Launch program only) Notepad
    Text Type <END> [Send text to control C1]
    Delay 1 sec
    Text Type <HOME> [Send text to control C1]
    Delay 1 sec
    Text Type <END> [Send text to control C1]
    Delay 1 sec
    Text Type <HOME> [Send text to control C1]

     

    Here is what happens:

     

    1. Jumps to the Microsoft browser.

    2. It launches Notepad and I can see the browser in the background.

    3. NOTHING happens in the browser that is behind the Notepad

     

    Did I do this wrong? I want this TEST macro to:

     

    1. Jump to the Microsoft window and activate it

    2. make it as C1 so I can send instructions to IT and not the forground

    3. Load Notepad

    4. Send a END command to jump to the bottom of the page.

    5. pause for 1 second

    6. Send a HOME command to jump back to the top of the page.

    7. Pause for 1 second

    8. Send a END command to jump to the bottom of the page.

     

    HELP.

  17. how would it know that I want this to work in the BACKGROUND with the use of the GET CONTROL? Once you use a GET CONTROL command does everything you enter into the code after that act like it's in the background already?
    To send the text to a Control choose the 'Send Text to Control' option in the Text Type command dialog.

    The thing is Kevin, that's not what I had asked.

     

    I was asking how I would send a PAGE UP/DOWN command int the BACKGROUND while the foreground is not effected.

     

    If you cannot use PAGE UP/DOWN in a Get Control Evironment, HOW can I? Let's say I have a browser with a website opened in the background. I want the page on the website to stroll down to the very bottom of the page and so I can execute so the MOUSE moves to a certain X/Y location in the get control invironment so I can send text to it.

     

    Or is there NO WAY to have it somehow SCROLL down the entire page in the background?

     

    I have a page with a form at the bottom (requires scrolling down to the very bottom).. how can I? Thanks

  18. Ah ok. But how would it know that I want this to work in the BACKGROUND with the use of the GET CONTROL? Once you use a GET CONTROL command does everything you enter into the code after that act like it's in the background already?

     

    thanks

  19. I understand that the GET CONTROL can be used to run Mouse moves, clicking buttons and type text HIDDEN in the background, however is there a way to run PAGE UP/DOWN?

     

    I need a part where it will jump to the BOTTOM of a page.. I figure it would need to click PAGE DOWN but I don't see a way of running keyboard buttons like these.

×
×
  • Create New...