If there's no project open, and Xcode isn't running, OFBN will now remove the temp file, this indicates to the application that we did the workĭo shell script "rm" & " " & quoted form of tempFilePathĮnd documentShouldFinalizeAuthenticatedSave this is pretty straightforward: "cp tmpFilePath destinationPath"ĭo shell script "cp" & " " & quoted form of tempFilePath & " " & quoted form of destinationPath with administrator privileges else the application will assume the operation failed) and on exit: if the operation succeeded, delete the temp file (or destinationPath is where the file should be copied. written to a temp file, ready to move to the destination On documentShouldFinalizeAuthenticatedSave(theDocument, tempFilePath, destinationPath) - on input: tempFilePath points to the contents of the document Where an authenticated save is necessary (for text documents only).Īn attachment script for this purpose might look like this (the There's a new script attachment point for documents:ĭocumentShouldFinalizeAuthenticatedSave. Project, or adjacent to another item already in the project. Selected when using the commands) or to the top level of the Out whether the item needs to be added to a collection (if one was After creating the item, BBEdit will figure Prompt you (using a standard save panel) for the location of the In project windows, "New Text Document" and "New Folder" now RequirementsīBEdit 10 requires Mac OS X 10.6 or later (10.6.8 or later recommended). This page documents all feature enhancements and bug fixes included in the BBEdit 10.1.1 update.įor details on all the new features and enhancements offered in BBEdit 10.0, please see its release notes.įor information on changes made in previous versions, please see the release notes archive.įor detailed information on using any of BBEdit's features, please refer to the user manual (choose "User Manual" from BBEdit's Help menu).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |