Re: Get-Selection
Re: Get-Selection
- Subject: Re: Get-Selection
- From: Shane Stanley <email@hidden>
- Date: Wed, 06 Mar 2002 08:22:14 +1100
On 1/3/02 4:30 AM +1000, Owen Densmore, email@hidden, wrote:
>
I'm from a Linux/Unix background so this may not be possible
>
in the Apple/Mac GUI framework.
>
>
I want to be able to retrieve "the selection" as text. Not the
>
clipboard, but the last selection in an application made by
>
the user. On Unix systems .. well .. on X Server based systems,
>
there is a server holding the selection as it is made by various
>
applications. On the mac, I think this is only done for things
>
added to the clipboard.
>
>
So the question is: how do I ask for the most recent selection
>
made by any application?
It depends entirely on the application involved. Lot's of scriptable apps
have a selection property. Even an app's clipboard remains private until
there's a change of context.
--
Shane Stanley, email@hidden
_______________________________________________
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.