• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can AppleScript Include script files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Can AppleScript Include script files? (From: Lists <email@hidden>)
 >Re: Can AppleScript Include script files? (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Reading a pdf text file
  • Next by Date: Re: Reading a pdf text file
  • Previous by thread: Re: Can AppleScript Include script files?
  • Next by thread: Re: Can AppleScript Include script files?
  • Index(es):
    • Date
    • Thread