• 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: Get-Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NewbieQ: How to loop properly?
  • Next by Date: Re: Eps Profiles
  • Previous by thread: Re: NewbieQ: How to loop properly?
  • Next by thread: Re: Eps Profiles
  • Index(es):
    • Date
    • Thread