Jump to content
Macro Express Forums

nuggles

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by nuggles

  1. hi thanks for your response. i was not looking for someone to write this for me. rather i was looking for advice.

    well, ive already written the thing myself, and it appears to work quite well...save for an occasional issue due to gmails weird & random ability to keep the "X" icon in the toolbar red even after the page has loaded (this therefore affects my wait for firefox macro)

     

    if anyone is interested below is the code

    Please note that I have configured my FF browser to automatically use Gmail when clicking on a link.

    When I am sitting on a craigslist add that I like, I hover the mouse over the email address in the ad and push my activation key.

    The macro therefore opens a new email in gmail with the to: and subject: field already filled out, thanks to craigslists mailto: link.

    The macro inserts my letter, copies the add, then ends once it has highlighted the send key. i make sure everything is as is should be, add some personalized info if needed, and click send. i then simply click my browsers back button once and i am back at the end. once more and im back to CL. Its great.

    Feel free to use this for personal use only.

     

    <TEXT TYPE Action="0" Text="<CONTROL>a"/>

    <TEXT TYPE Action="0" Text="<CONTROL>c"/>

    <MOUSE LEFT CLICK/>

    <DELAY Flags="\x01" Time="2"/>

    <MACRO RUN Use_ID="FALSE" Name="wait-for-FF" ID="-1" Wait="TRUE"/>

    <DELAY Flags="\x01" Time="2"/>

    <TEXT TYPE Action="0" Control="Roomate Form" Text="Dear Someone, this is where my pre-written letter goes. From, me."/>

    <TEXT TYPE Action="0" Text="<CONTROL>v"/>

    <DELAY Flags="\x11" Time=".5"/>

    <TEXT TYPE Action="0" Control="Roomate Form" Text="<SHIFT><TAB>"/>

    <TEXT TYPE Action="0" Control="Roomate Form" Text="<SHIFT><TAB>"/>

    <TEXT TYPE Action="0" Control="Roomate Form" Text="<SHIFT><TAB>"/>

    <TEXT TYPE Action="0" Control="Roomate Form" Text="<SHIFT><TAB>"/>

    <TEXT TYPE Action="0" Control="Roomate Form" Text="<SHIFT><TAB>"/>

    <DELAY Flags="\x01" Time="1" _ENABLED="FALSE"/>

    <TEXT TYPE Action="0" Text="<TAB>" _ENABLED="FALSE"/>

  2. For example. I want to navigate my cursor to highlight and copy some text on a webpage. But i dont want it to live in my clipboard.

    I want to save it to some sort of a value that ME understands. For example, it highlights and "copies the text". Then, whenever I enter %copy1% in my text editor it will automatically copy that text from within Macro express's memory.

     

    Sound doable? Forgive me if this is a simple request!

  3. Hi everyone.

     

    I am currently looking for a new apartment on craigslist. I'm finding myself repeating the same keystrokes over, and over and over....macro time!

    Allow me to provide a little bit of backround:

     

    I have a pre-written "background info" letter that I wrote about me to send to prospective landlords.

     

    Here is what I want my macro to be able to do

    (I use FF 3.5.3)

     

    When I am on a craigslist posting for an apartment I like, I want to be able to hit my activation keystroke, which will:

    Automatically open compose a new email in a separate tab.

    I want my macro to automatically arrange the following in my email

     

    To: the email address listed on the craigslist page should appear in the To field in my new email

    Subject: The subject should match the subject of the apartment ad i saw

    Body: I want my pre-written form letter to appear first, followed by a copy and pasted version of the craigslist ad. So what I'm saying is, I want to permanently immortalize the ad by including it as a footer in the email I am sending as a response. This way when someone gets back to me I know exactly who they are and what place the email corresponds to.

     

    Assuming the macro is for the most part flawless...i'd like it to finish off my sending the email it created. If there might be issues occasionally i'll have to correct, I suppose I can skip this step for now and manually click send.

  4. hi everyone

     

    im looking for a little help:

     

    I belong to professional networking site, and reach out to people often through there. So often, in fact, that it has become annoying to have to even repeat certain sentences, the "from, me" at the end, etc.

     

    What im looking to do is create standard letter, with variables where my customization would be. So, for example, my letter will read:

     

    x=variable

     

    Dear x1,

     

    Blah, blah blah blah. Blah blah x2, blah blah blah x3. x4.

     

    from,

    me

     

     

    Once activated, I want my macro to, via a small popup or something, ask me what i want in variable 1, 2, etc...

     

    I can manage to program the thing from there, but am looking for some help with this issue.

     

    If i have ommitted any useful information I am sorry, and will be happy to add to this.

  5. Thanks Terry,

     

    Must admit, I do have some basic reading to do :)

    I therefore searched the Help section before posting this, but could not find an answer to the following:

     

    I am using FF 3.0.5. The X changes from blue to grey in this version, so I assume you wrote your script for another FF version or possibly have modified your toolbar (though i doubt it).

    I have modified the pixel position to reflect my particular window.

    I do not know how to sample the color from the exact pixel position i've chosen. As a result the wait for page macro just stagnates, apparently waiting for a change to your defined gray color it never sees.

    Do you know how i can get the color of the pixel at the pixel position i selected?

     

    Thanks, and sorry if this is elementary, but I did attempt a help search and came up empty

  6. hi terry,

     

    thanks for the info,

    though when i copyed your script into the direct editor i got the following message:

     

    "The variable StopColour is not currently defined. Would you like to create it now?"

     

    it then takes me to a "variable properties" window, and i do not know what options to select..

     

    thanks for your help

     

     

     

    I was hoping ME Pro would add the facility for Firefox, but disappointingly it didn't. So I wrote this simple work-around a couple of weeks ago and it seems to be reliable. It just looks at the 'X' icon top left of the toolbar ('Stop loading this page'), which changes from red to grey when the page has finished loading. Obviously, the pixel position co-ordinates will differ for individual users.

     

    The macro is called Wait for FF web page ready.

     

    Delay: 500 milliseconds, without ability to halt

    Repeat Until %StopColour% Equals "10264995"

    Get Pixel Color at (112, 60) Relative to Current Window into StopColour

    Delay: 50 milliseconds, without ability to halt

    End Repeat

    Macro Return

     

    <DELAY Flags="\x03" Time="500"/>
    <REPEAT UNTIL Variable="%StopColour%" Condition="\x00" Value="10264995"/>
    <GET PIXEL COLOR Option="\x01" Rel_To_Screen="FALSE" X="112" Y="60" Destination="StopColour"/>
    <DELAY Flags="\x03" Time="50"/>
    <END REPEAT/>
    <MACRO RETURN/>
    

     

     

    I just add it as a Macro Run command after the Web Site command, like this:

     

    Web Site, "http://services.dial.pipex.com/eweb/", using Default Web Browser

    Macro Run: Wait for FF web page ready

    etc

     

     

    --

    Terry, East Grinstead, UK

  7. hello once again.

     

    So a little while back i saw mention of a workaround for the Wait for Web Page function, that is only offered for IE. I believe they were mentioning something about having ME monitor the "spinning" circle in the top right of the FF window when it loads a page. I believe it was something about the change in colors or something.

    If anyone has successfully implemented the workaround, using the aforementioned method or not, i would greatly appreciate it.

  8. Prvoided Firefox is your default browser, this is easily accomplished.

     

     

    in the editor:

     

    Internet > Web Site

    enter your URL

    from the dropdown menu, select Launch Using Default Web Browser

     

    If firefox is not open, it will open. firefox will launch and your desired site will load. If FF is running, your page automatically opens in a new tab

     

     

    edit: i am sorry, i just realized you simply want to activate the window, i misread and thought you wanted to launch the url.

     

    i actually figured out a way to do this a while back, ill try to recall and drop back in

  9. hello everyone,

     

    i have a macro that i would like to automatically repeat itself upon comletion of its duties. is there an option in the editor that i am missing for this?

    ideally i would like to be able to set it once, for example, to repeat 10 times. from then on whenever i activate, it will repeat 10 times

     

    on a separate note, i suppose it might also prove useful, when implemented, to be prompted upon activation for how many times if any, i want my macro to repeat

     

    much thanks

  10. there is actually one other thing ive noticed. after it doest all the grunt work for me, i am left wherever the site dumps me after i leave a comment. i would my macro to to back in my browser three pages so i am left where i was when i first ran the macro...again, i did check google and the help, but not luck...what command should i use to tell macro express to go back a page in my browser? (firefox, fwiw).

     

     

    Further, how do i tell the program to use two keystrokes simultaneously. For example, in my browswer, shift+tab will go backwards among the items in my current site...any way to work this in?

  11. i often have leave comments for others on a networking site i am on. i am finding the process of clicking the comment link, waiting for the load, navigating to the field box, etc.. to be incredibly bothersome the more comments i leave. i have written a macro that will write the same comment with the single click of the activation button. Great, but I am not looking to spam people, in many cases these are people i know and i want to be able to leave a personalized comment for them.

     

    As such, I am wondering if perhaps there is a way to write in a variable command for the text input. So say, when I activate my macro, rather than it running through the whole process, fully automated with the same comment for all, instead it will prompt me via popup window to enter my message...then it will get to clicking around to leave that message for me.

     

    Any ideas? A quick google search and search the help section in macro express turned up no easy solution

     

    thanks very much

×
×
  • Create New...