A new dialog that makes it easy to export from the Frontier object db, in a variety of formats, with or without compression, to a file or as a Eudora attachment.
By Dave Winer, firstname.lastname@example.org
How it works
It works like the commands in the Export submenu of the UserLand menu. Open a window, or place the table cursor on the item you want to export.
If you want to export a different item, enter its address in the dialog.
The Kind popup
- The normal format is Packed object. It creates a file that is imported when it's double-clicked on. Desktop scripts run when they're double-clicked on.
- For large tables with lots of sub-tables choose Folder. This is a new export format supported in Frontier 4.0. To import such a folder, write a desktop script that calls export.importFolder.
- You can export a script in a format compatible with Apple's Script Editor. This is a standard format that's supported by all AppleScript editors, including Frontier. [You can import Script Editor files by changing the creator ID of the file to 'LAND' and double-clicking on it in the Finder.]
The Location popup
- The normal location is File. When you click on OK, a standard file dialog appears.
- You can also direct the exported object to a Eudora email message.
You can choose no compression, to compress the resulting file using StuffIt 3.5 or greater; or to compress it and then BinHex the resulting file.
Double-click on each of the scripts to install. Click on OK for each of the confirmation dialogs. Add a command to one of Frontier's menus that calls export.card.run ().
This is a planned new feature for Frontier 4.1. Please discuss on the Frontier-talk list. I've included a new version of card.popup with an important bugfix and a new script, card.popup.setWithOutline.