Re: include a file
Re: include a file
- Subject: Re: include a file
- From: Andrew Oliver <email@hidden>
- Date: Mon, 22 Nov 2004 09:06:44 -0800
On 11/22/04 8:47 AM, "Steve Foster" <email@hidden> wrote:
>
> Hi,
>
>
> is there a way to include a file with global settings in an
> applescript file ?
>
> Like include file"Volumes:HD_02:Script:Glob_Settings_for_Project"
>
And just what kind of file is it? Since you mention 'global settings', I
assume you mean a script file so that you can access its properties,
handlers, etc.? If so, just:
set includeFile to load script
"Volumes:HD_02:Script:Glob_Settings_for_Project"
Then you can reference its properties via:
set foo to includeFile's propertyName
Or call its handlers:
set bar to includeFile's handlerName()
Andrew
:)
_______________________________________________
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