Mac Help Forums


Reply
Thread Tools Display Modes

Using services

 
Tobias Weber
Guest
Posts: n/a
 
      12th February 2008
Hi,
an application I use does not have a dictionary but an entry in the
Services menu. Can I somehow use that? Pass a string and get a result?

--
Tobias Weber
 
Reply With Quote
 
 
 
 
Tobias Weber
Guest
Posts: n/a
 
      13th February 2008
In article <uce-(E-Mail Removed)>,
Gregory Weston <(E-Mail Removed)> wrote:

> Is that right?


Yes

> If so, the answer to the best of my knowledge is "no."


--
Tobias Weber
 
Reply With Quote
 
 
 
 
Tobias Weber
Guest
Posts: n/a
 
      13th February 2008
In article <uce-(E-Mail Removed)>,
Gregory Weston <(E-Mail Removed)> 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...available-now/ for
Office 2008

<http://developer.apple.com/documenta...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

--
Tobias Weber
 
Reply With Quote
 
Jean-Marie Schwartz
Guest
Posts: n/a
 
      13th February 2008
Vous lisez mes messages et vous faites bien. Le 13/02/08 16:34, Jolly Roger
a écrit*:

> In article <towb-(E-Mail Removed)>,
> Tobias Weber <(E-Mail Removed)> wrote:
>
>> In article <uce-(E-Mail Removed)>,
>> Gregory Weston <(E-Mail Removed)> 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...available-now/ for
>> Office 2008
>>
>> <http://developer.apple.com/documenta...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»)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Remote SOAP Services with Web Services Core and CFNetwork Newsbot Apple Developer News 0 8th March 2007 10:50 PM
DNS Services on OS X Server (Panther) Ric Mac OS X 14 5th December 2006 02:44 PM
I want to use mail services on Panther Server Little Girl Glossed Mac OS X 19 4th January 2006 01:15 AM
NAT Services on OS X Server (Panther) Ric Mac OS X 1 31st August 2005 05:37 PM
Using W2K3 file services with MacOS X clients Ian Robinson UK Macs 3 4th January 2005 03:28 PM


All times are GMT +1. The time now is 07:35 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Corrupted HD after force quitting XCode installer
geoffreyiy (3 Hours Ago, 04:30 AM)

WiFi or Ethernet do not work! (need to renew DHCP lease) works 10 seconds
madominguez7 (10 Hours Ago, 08:40 PM)

Copying file from mounted disc image.
gsearle (23 Hours Ago, 08:30 AM)

Need help - getting worse and worse
wiggumfloss3 (1 Day Ago, 07:33 AM)

Traveler Microscope - Mac Driver?
seloc (1 Day Ago, 12:58 AM)