copy url rom safari to firefox issue
copy url rom safari to firefox issue
- Subject: copy url rom safari to firefox issue
- From: DealTek <email@hidden>
- Date: Sun, 20 Mar 2011 10:43:09 -0700
Hi Folks,
I'm trying to copy a url from safari to firefox. The script below errors with a 'Can't get URL....' on the line
get URL my_URL
Q Any ideas how to fix this?
----------------------
tell application "Safari"
activate
set my_URL to the URL in document 1
end tell
--Convert Unicode Text of my_URL to Plain text
set my_URL to «class ktxt» of ((my_URL as string) as record)
tell application "Firefox"
activate
get URL my_URL
end tell
--
Thanks,
Dave - DealTek
email@hidden
[db-11]
_______________________________________________
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