Re: Can AppleScript Include script files?
Re: Can AppleScript Include script files?
- Subject: Re: Can AppleScript Include script files?
- From: Doug McNutt <email@hidden>
- Date: Mon, 10 Jan 2005 10:32:13 -0700
At 09:22 +0100 1/10/05, Emmanuel wrote:
>I'm pretty sure that you got no answer because you did not make your problem perfectly clear.
It was clear to me. He uses C with #include <files.h> directives.
I didn't suggest, but will now, for OS neXt only:
If the compilation speed is not a problem you might consider using the UNIX tools with a do shell script as nothing more than an entry device in the GUI.
If the include file is "include.h" and a script that needs it is stored as a TEXT file "therest.txt" you can use:
cat include.h > temp
cat therest.txt >> temp
osascript temp
And no. I haven't tested a thing.
It's also possible to create a plurality of hard links to a single AppleScript application. That APPL can get it's name as called from path to me and jump to different handlers after the header stuff is executed. Ask off line for a sample of that.
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
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