Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: Using servi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 1571 of 1611
Post > Topic >>

Re: Using services

by Jean-Marie Schwartz <jeanmarie_schwartz@[EMAIL PROTECTED] > Feb 13, 2008 at 05:41 PM

Vous lisez mes messages et vous faites bien. Le 13/02/08 16:34, Jolly Roger
a écrit :

> In article <towb-B034AE.11111013022008@[EMAIL PROTECTED]
>,
> Tobias Weber <towb@[EMAIL PROTECTED]
> wrote:
> 
>> In article <uce-E2CB8C.17291712022008@[EMAIL PROTECTED]
>,
>>  Gregory Weston <uce@[EMAIL PROTECTED]
> wrote:
>> 
>>> You have an application. The application does not export any
AppleScript
>>> functionality, but it *does* put a utility in the system's Services
menu
>>> and you'd like to know if there's a way you can invoke that service
from
>>> AppleScript such that it will manipulate data you've got in a
desirable
>>> way.
>> 
>> The point is something like
>> http://gild.wordpress.com/2006/12/07/sidekick-14-available-now/
for
>> Office 2008
>> 
>>
<http://developer.apple.com/documentation/Cocoa/Conceptual/SysServices/Ta
>> sks/using.html> has NSPerformService which should be useable from AS
>> Studio or via the command line utility included with
>> http://software.jessies.org/salma-hayek/
>> 
>> I'll experiment ;)
> 
> It's obvious AppleScript isn't the best way to do what you want. You
> should explore using Cocoa instead, IMO.

What about the System Events scripting? Maybe it's not the sexiest way but
you can sometimes do wonders with them. It's like clicking a Menu item and
then filling a field in a window, isn't it?

-- 
Jean-Marie

« Mi ricordo che un giorno... in mezzo a noi venne un tipo... che ogni
cosa
pensava giusto e la fonte della vita era in lui disse una frase... mi
rimase
impressa: "Alzati ...e cammina!"... » (Adriano Celentano, «Cammino»)




 7 Posts in Topic:
Using services
Tobias Weber <towb@[EM  2008-02-12 23:09:26 
Re: Using services
Gregory Weston <uce@[E  2008-02-12 17:29:17 
Re: Using services
Tobias Weber <towb@[EM  2008-02-13 09:34:10 
Re: Using services
Tobias Weber <towb@[EM  2008-02-13 11:11:10 
Re: Using services
Jolly Roger <jollyroge  2008-02-13 09:34:30 
Re: Using services
Jean-Marie Schwartz <j  2008-02-13 17:41:52 
Re: Using services
Jolly Roger <jollyroge  2008-02-13 10:52:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 1:12:16 CDT 2008.