We have the nsAppleSingleDecoder functionality but need a new nsAppleSingleEncoder. Also, we need an application that will accept a file to either encode or decode per run-time user specification. This tool should have two interfaces: 1> GUI: simple File|ASEncode and File|ASDecode menu items that pop up file selection dialogs and encode or decode the file selected 2> AppleScript: the application needs to be scriptable (and time permitting recordable) from a script component in order to encode and decode specified files Time permitting the following functionality should be implemented and separate bugs filed: 1> Alias resolution of file specs provided by the AppleScript 2> Accept a folder as a parameter and in "batch mode" AppleSingle encode or decode all files in arbitrarily nested folders [This will be used by the Mac installer and xpi automation.]
I have written the tool: ASEncoder (not to be read "ass encoder") and implemented the GUI interface. The AppleScript interface remains to be written. It encodes and decodes. Once the AppleScript support has been added I will check it in to mozilla/xpinstall/packager/mac/ASEncoder/.
Build available for verification: http://dolfin/ASEncoder/builds/1999101921/ASEncoder The application is in AppleSingle format encoded by the debug build. Can we say "d o g f o o d" :o) ?
Jevering said "this works on windows, so PDT-" :-) but he was overruled by the sane remainder of the PDT.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I have added AppleScript support to ASEncoder. I have demonstrated using the ASEncoder from AppleScript and from its GUI to jj. He had a few suggestions which will manifest as new bugs. Per this bug the feature is implemented, hence, marking fixed. A new build has been delivered to: http://dolfin/ASEncoder/builds/1999102113/ASEncoder.sea.bin You can find a demo AppleScript documenting the usage of ASEncoder at (tested on MacOS 8.6; needs tweaking on older versions (< 1.3.7) of AppleScript): http://dolfin/ASEncoder/builds/1999102113/ASEncoderUsage.script Documentation is also available by viewing the app through any script editor's "dictionary viewer".
was able to ASencode and ASdecode files
Bulk changing all JAR Installation component bugs to Installer: XPI Packages
Component: Installer: XPI Packages → Installer
QA Contact: agracebush → general
You need to log in before you can comment on or make changes to this bug.