Re: Path to Quark...
Re: Path to Quark...
- Subject: Re: Path to Quark...
- From: Matthew Smith <email@hidden>
- Date: Wed, 01 Dec 2004 10:14:33 +1100
on 01/12/2004 09:51, Stefan Eriksson at email@hidden wrote:
> I just found a small script that searches for a specific xtension for QxP6 and
> am curious how to get a path to a specific application, in this case QxP...
> there are some good tools for this pathtome thing but how do i find path to an
> application ?
>
> one way but not so neat is to take volume-name add ":applications:" and then
> loop every folder there and search for anything thats starts with
> "QuarkXPress..." and do the same in users/applications... these loops usually
> takes to long to run tho, any other ideas ?
>
> Script so-far looks like, thx whoever made it !
>
> tell application "QuarkXPress Passport"
> repeat with currentXtension in (xtensions as list)
> if name of currentXtension is "QX-Drag&Drop" then
> set dialogText to "QX-Drag&Drop is installed"
> display dialog dialogText buttons {"Abort"} default button "Abort"
> giving up after 15
> return
> end if
> end repeat
> end tell
What¹s wrong with:
tell application "Finder"
application file id "com.microsoft.word"
end tell
or
tell application "Finder"
application file id "MSWD"
end tell
Swap the Microsoft Word id for the one of the application you want.
--
Matthew Smith
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden