Re: text selection in general...
Re: text selection in general...
- Subject: Re: text selection in general...
- From: Jean-Christophe Helary <email@hidden>
- Date: Wed, 07 Feb 2018 08:24:25 +0900
> On Feb 7, 2018, at 6:56, Christopher Stone <email@hidden>
> wrote:
>
> On 02/06/2018, at 05:21, Jean-Christophe Helary
> <email@hidden> wrote:
>> I wrote one of my "personal memo" blog posts today where I investigate how
>> to select text in various applications. I was surprised to see that most of
>> Apple's applications do not have a scriptable way to get the text selection.
>> The only two I could find were Script Editor and Xcode.
>>
>> Am I missing something ?
>
> Hey Jean-Christophe,
>
> Script Debugger, BBEdit, Microsoft Word, and several others.
Yes, I mention those in the article but since they are not "Apple applications"
I only refered to Xcode and Script Editor above.
> The Insertion Point and The Selection are areas where Apple has really
> dropped the ball in Cocoa scripting.
!!! You mean that even with ASOC there is no elegant way to do that?
> Accessing The Selection through services is slow and inefficient – but
> sometimes much better than nothing.
>
> I tend to use Keyboard Maestro for this kind of thing (since 2004).
Ok, so I guess my GUI scripting hack is fine then :)
Thank you for confirming my doubts.
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune
_______________________________________________
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