Re: Edit a Safari <textarea> in BBEdit
Re: Edit a Safari <textarea> in BBEdit
- Subject: Re: Edit a Safari <textarea> in BBEdit
- From: Martin Orpen <email@hidden>
- Date: Fri, 25 Jun 2004 14:34:20 +0100
on 25/6/04 3:10 am, Justin French at email@hidden wrote:
>
Hi all, VERY new to applescript, but I'm hoping it can help here.
>
>
I'd like a script (or more likely two scripts, one for Safari, and one
>
for BBEdit) which allow me to...
>
>
1. have safari open
>
2. trigger a script which copy the selected text of the front window's
>
currently selected textarea (or the entire textarea contents if no text
>
selected) to the clipboard
>
3. activate BBEdit, create a new document, paste the text from the
>
textarea in
>
4. edit by hand as required
>
5. trigger another script (or ideally, just hit "save") which copies
>
the text from BBEdit, activates Safari, and replaces the text in the
>
previously mentioned textarea
I've got a script that handles the Safari text grab bit:
http://prometheus.idea-digital.com/phpbb2/viewtopic.php?t=164
Dunno anything about entering text back into Safari though...
Regards
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.