[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MacOS floppy creation



On Fri, May 25, 2001 at 11:49:34PM -0700, Chris Tillman wrote:
> How about this Applescript:
> 
> <script>
> 
> on open file_list
>  
>  tell application "Finder"
>   repeat with floppy_image_file in file_list
>    set the creator type of floppy_image_file to "ddsk"
>    set the file type of floppy_image_file to "DDim"
>    set the locked of floppy_image_file to true
>   end repeat
>  end tell
>  
>  tell application "Disk Copy"
>   activate
>   repeat with floppy_image_file in file_list
>    with timeout of 900 seconds
>     create a floppy from file floppy_image_file with erase confirmation
>             without signature verification and make multiple floppies
>    end timeout
>   end repeat
>  end tell
>  
> end open
> 
> </script >

looks ok, though i don't really grok applescript.  

> You just drag the image file to it. But it would need to be put alongside
> the other Mac utilities like BootX and BootVars, binhexed, in order to
> retain its resource fork and thus its usefulness as a MacOS app.

or just include it as a text file, then the user can open it in
applescript and run it from there.  since they are installing a *nix
they should be able to handle that. 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpFbuCr4A4ii.pgp
Description: PGP signature


Reply to: