I’ve got an applescript wrapper to vim* mostly written, and want to make it possible for the user to select any file for editing. I already have it set so they can choose to authenticate if they want to (vim won’t open the file if they don’t have permissions, but they can choose ‘sudo open’ and then authenticate to edit it), but they can’t use the GUI to choose some files.
Anyone know how to do this?
Thanks,
Michael Moore
http://stuporglue.com
[*] You can actually use any command line editor you want to, but vim is my weapon of choice. It’ll have it’s own page at stuporglue.com when it’s done, but if you want to check it out now you can get a beta version here: http://stuporglue.com/downloads/CLIc.zip