Re: Writing a 'print selection' service in AS?
Re: Writing a 'print selection' service in AS?
- Subject: Re: Writing a 'print selection' service in AS?
- From: steve harley <email@hidden>
- Date: Mon, 29 Mar 2004 15:15:34 -0700
on 27 Mar 2004, at 9:48 AM, Jim Witte wrote:
Is it possible to write a Cocoa service in AS that could print
whatever text is currently selected, or does this have to be done in
ObjC?
i doubt it can be done with a simple AS application, but possibly in
AppleScript Studio with the addition of some kind of ObjC stub.. i've
noticed people ask the question about AppleScript Studio, but never
seen an answer
an alternative might be to see if you could write a script to plug into
an existing Services tool ...
For that matter, can you 'get the current selection' (yeah, it would
probably be something a tad bit more complicated in AS as opposed to
HC) in an AS that could then go in the script menu?
many applications support a selection object, however many do not, and
for those that do, there is no guarantee that the selection can be
coerced to something printable
_______________________________________________
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.