Zipping an application package by script
Jim Ault
JimAultWins at yahoo.com
Wed Sep 10 01:24:46 EDT 2008
You might go to Ken's site sonsothunder.com
basically in transcript
put "tell app " & quote & "Finder" & quote & " to activate" into cmd
do cmd as applescript
put the result into whatEverTheAScriptReturned
If there are several lines in the script, you can run it in Script Editor,
debug, then copy paste into a field in Rev, then
put field scriptLines into cmd
do cmd as applescript
put the result into whatEverTheAScriptReturned
Hope this helps
Jim Ault
Las Vegas
On 9/9/08 10:18 PM, "Stephen Barncard" <stephenREVOLUTION2 at barncard.com>
wrote:
> I don't really care if the DS_Store files are in there or not ( I
> care not about Windoze ) - that was just an issue that stopped the
> shell call. But that does that mean there are several versions of Zip
> on the machine?
>
> 1. zip for rev
> 2. zip for the shell
> 3. whatever Automator uses (perhaps shell, above)
> 4. The finder "Compress" menu item... (which results is what I want)
> -- It has no problems....
>
> Is there a 'domenu' applescript ?
>
>
> so near so far...
>
>
>>
>> Excited by the prospect of being able to create Zip archives without
>> the dot files, I just tested it. No go: with the action's "Ignore
>> unreadable files"option on or off (what exactly is an "unreadable
>> files?"; the notes for that action do not explain) it still copies
>> the .DS_Store files. :(
>>
>> Apple employs smart people. I'm sure one of them was smart enough
>> to recognize that if they're somehow stuck with a file system
>> requiring such kludges for simple metadata then surely there's a
>> preference to govern it for copying and archiving. Now if only we
>> could find it....
>>
>> --
>> Richard Gaskin
>> Managing Editor, revJournal
More information about the use-livecode
mailing list