• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: highlight text and us in URL to display web panel - slightly ot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: highlight text and us in URL to display web panel - slightly ot


  • Subject: Re: highlight text and us in URL to display web panel - slightly ot
  • From: Christopher Stone <email@hidden>
  • Date: Sun, 29 Jan 2012 17:22:29 -0600

On Jan 29, 2012, at 15:45, David Ferrington wrote:
does anyone have any ideas on why this doesn't work, or perhaps a solution using AppleScript?
______________________________________________________________________

Hey David,

I'm too tired at the moment to fiddle with the service just at the moment, but you could do this easily with Keyboard Maestro.

Copy Action

Then an Applescript Action like:

set the_URL to the clipboard
tell application "Safari"
make new document with properties {URL:the_URL}
set bounds of front window to {303, 22, 1617, 1196}
end tell

OR

set the_URL to the clipboard
tell application "Safari"
tell front window
make new tab at end of tabs
set current tab to last tab
set URL of current tab to the_URL
end tell
end tell

You can process the clipboard however you like.

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: highlight text and us in URL to display web panel - slightly ot
      • From: David Ferrington <email@hidden>
  • Prev by Date: Keychain script
  • Next by Date: Re: highlight text and us in URL to display web panel - slightly ot
  • Previous by thread: Re: Keychain script
  • Next by thread: Re: highlight text and us in URL to display web panel - slightly ot
  • Index(es):
    • Date
    • Thread