Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Automator help: replace text in Mail

  • 02-12-2010 1:35pm
    #1
    Registered Users, Registered Users 2 Posts: 2,852 ✭✭✭


    Hi,

    I'm trying to use Automator to do something really simple in mail - in a message I'm creating, I want to replace one piece of text with another

    for example in the message, I want to replace the string

    ftp://ftp.d1023788-11.cp.blacknight.com//webspace/httpdocs/

    with

    http://

    I've tried to find a way to do this in Automator but I'm drawing a blank - anyone with any clues out there?

    Thanks,

    Hugh_C
    Tagged:


Comments

  • Banned (with Prison Access) Posts: 898 ✭✭✭Liameter


    You might be able to make a script something like this:

    tell application "Mail" to activate
    tell application "System Events"
    tell process "Mail"
    tell menu bar 1
    click menu bar item "Message"'s menu "Message"'s ¬
    menu item "Reply"
    end tell
    delay 0.5
    key code 117 -- Forward Delete
    key code 125 using command down -- down arrow
    key code 36 -- Return
    end tell
    end tell

    (This doesn't do what you want but it might give you some ideas.)


Advertisement