Re: Calling applications
Re: Calling applications
- Subject: Re: Calling applications
- From: Duncan Cowan <email@hidden>
- Date: Sat, 01 Feb 2003 15:35:55 +1100
Oh that's pretty good!
It occurred to me that you could create a generic handling script this way.
on open theFile
tell application "Finder"
set fileType to creator type of theFile
set appName to name of application file id fileType
end tell
if appName = "FH80" then
(* ?? load a script to handle this file type, passing the variable
appName along if needed *)
else
if appName = "8BIM" then
(* ?? tell the application to do something with the file? *)
end if
end if
end open
I like it . . .
From: julifos <email@hidden>
Date: Fri, 31 Jan 2003 19:41:47 +0100
To: applescriptmaillist <email@hidden>
Subject: Calling applications
This should be good enough:
tell application "Finder"
set Quark to name of application file id "XPR3"
end tell
tell application Quark
-- do whatever
end tell
_______________________________________________
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.