Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Applescript help | Newbie | copy & paste

I am looking for an easy solution to copy text from a web page (always in the same location) into to a specific location in Word and print.

tell application "Google Chrome"

activate

tell application "Google Chrome" Get id="customer-name-first" {not sure how to execute this part}

tell application "System Events" to keystroke "c" using command down

end tell

tell application "Microsoft Word"

activate

tell application "Microsoft Word"

set findRange to find object of selection

tell findRange

execute find find text "xxx" replace with "CLIPBOARD" replace {not sure how to get the clipboard pasted here}

replace all

tell application "System Events" to keystroke "v" using command down

iMac, OS X Mountain Lion (10.8.2), Office (home)

Posted on Feb 8, 2013 8:04 AM

Reply

There are no replies.

Applescript help | Newbie | copy & paste

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.