How to call "tell application" to a program mentioned in a variable.
How to call "tell application" to a program mentioned in a variable.
- Subject: How to call "tell application" to a program mentioned in a variable.
- From: "Søren Rehné" <email@hidden>
- Date: Sat, 1 Jun 2002 20:33:13 +0200
- Organization: Knowbody ApS
Hi.
I'm trying to make a script that calls individuel programs.
Each of them is contained as a path to the program: "Macintosh
HD:...:myprog"
How do I do this:
set myprog to "Macintosh HD: ... :myprog"
Tell application myprog
MYSCRIPTFunction AAA
end tell
All the programs have the same "MYSCRIPTFunction" scriptable interface.
I think I can remember to have seen somewhere that you could do
something
like this:
with terminology of "My First Program"
Tell application myprog
MYSCRIPTFunction AAA
end tell
end with
Where "My First Program" has the same interface as all the others.
Do you know how I can achive this?
Med Venlig Hilsen / With Kind Regards
Sxren Rehni
--------------------------------------------------------
Work:
E-mail: -
mailto:email@hidden
Company WWW: -
http://www.knowbody.dk/
Knowbody ApS - Phone: (+45) 7023 7903
Skjoldsgade 11 - Mobile: (+45) 4028 7771
8260 Viby J.
DK - Denmark
Private:
Sxren Rehni
Skjoldsgade 11
8260 Viby J. - Phone: (+45) 8614 1449
DK - Denmark - Mobile: (+45) 4028 7771
E-mail -
mailto:email@hidden
Personal WWW -
http://www.soerenrehne.dk
--------------------------------------------------------
_______________________________________________
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.