Macworld Forums

Macworld Forums: AppleScript Paste URL Into Email - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AppleScript Paste URL Into Email How to paste inside some text inside an email?

#1 User is offline   daBee 

  • Newbie
  • Pip
  • Group: New Members
  • Posts: 2
  • Joined: 17-July 12

Posted 17 July 2012 - 04:31 AM

Hi folks.

Not sure if AppleScript is best handled here, but I thought I'd post all the same.

I'm trying to do the following. I had a script which worked, but some updates have broken it for some reason. Not sure why.

I'm trying to paste the clipboard (which has had the current top Safari URL copied into it), in the current location of the cursor in an email. I am not just making a new email, but pasting it inline.

Any advice appreciated.

Cheers
0

#2 User is online   bastion 

  • Power User
  • PipPipPipPip
  • Group: Members
  • Posts: 9,105
  • Joined: 14-October 04

Posted 17 July 2012 - 12:05 PM

View PostdaBee, on 17 July 2012 - 04:31 AM, said:

Hi folks.

Not sure if AppleScript is best handled here, but I thought I'd post all the same.

I'm trying to do the following. I had a script which worked, but some updates have broken it for some reason. Not sure why.

I'm trying to paste the clipboard (which has had the current top Safari URL copied into it), in the current location of the cursor in an email. I am not just making a new email, but pasting it inline.

Any advice appreciated.

Cheers


Can you describe the failure? Does it just do nothing? Throw up an error? Insert the wrong content?
0

#3 User is offline   daBee 

  • Newbie
  • Pip
  • Group: New Members
  • Posts: 2
  • Joined: 17-July 12

Posted 31 July 2012 - 04:06 AM

View Postbastion, on 17 July 2012 - 12:05 PM, said:

View PostdaBee, on 17 July 2012 - 04:31 AM, said:

Hi folks.

Not sure if AppleScript is best handled here, but I thought I'd post all the same.

I'm trying to do the following. I had a script which worked, but some updates have broken it for some reason. Not sure why.

I'm trying to paste the clipboard (which has had the current top Safari URL copied into it), in the current location of the cursor in an email. I am not just making a new email, but pasting it inline.

Any advice appreciated.

Cheers


Can you describe the failure? Does it just do nothing? Throw up an error? Insert the wrong content?


Sorry for the late reply. I wasn't notified of any reply here.

Ya it's doing nothing. The clipboard indeed gets assigned the url, but it won't paste into email. When I run it from the AppleScript Editor window, it runs just fine. I am launching (running) the script from Launchbar, and I've asked in there. Not too sure why there is a difference, given the activate command.

Cheers
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users