RE: How to call "tell application" to a program mentioned in a variable.
RE: How to call "tell application" to a program mentioned in a variable.
- Subject: RE: How to call "tell application" to a program mentioned in a variable.
- From: "Søren Rehné" <email@hidden>
- Date: Sat, 1 Jun 2002 23:24:59 +0200
- Organization: Knowbody ApS
FOUND IT!
using terms from application "FooBar"
Thanks. I found it searching thrue my 6000 emails from this mailing
list!
Thanks to all the contributers on this email list!
kind regards
Sxren Rehni
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden] On Behalf Of
>
Sxren Rehni
>
Sent: 1. juni 2002 20:33
>
To: email@hidden
>
Subject: How to call "tell application" to a program
>
mentioned in a variable.
>
>
>
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/ap> plescript-users
>
>
Do not post admin requests to the list. They
>
will be ignored.
_______________________________________________
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.