Passing multiple files to osacompile
Passing multiple files to osacompile
- Subject: Passing multiple files to osacompile
- From: email@hidden
- Date: Thu, 04 Jan 2007 15:25:31 -0500
Everyone,
I've been working on an Applescript program that is getting a little large.
I've been using the Script Editor App. At the current time I have six
modules that I save as independant scripts and then combine in the main file
with the load script command.
One problem I've been having with this arraingment is in testing functions
that require data stored in other scripts. To create the test you have to
copy and paste or write functions to get the needed data. Also I'm spending
enought time in the editor that I would like to be able to use vim.
>From my reading of the man page for osacompile it seems that it should be
possible to compile multiple source files (either text or compiled scripts)
into a single script.
I was thinking of using a simple make file that combined all the modules
dropping the test module when completed. My problem is that osacompile, on
my machine at least, does not combine multiple files. It simply takes the
first argument and compiles it.
I've search the web pretty hard but I can't seem to find any reference to
this problem anywhere. Am I misunderstanding something or is osacompile
broken? I'm using MacOS 10.4.8 and Applescript 1.10.7.
Your help would be appreciated,
Thanks,
--
Brian Kennison
Western Connecticut State University
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden