Begin forwarded message: > From: Carlton Gibson <[email protected]> > On 6 Aug 2009, at 22:41, Bee wrote: >> I have created many #! scripts, now would like one the send the >> list of files open in BBEdit to a command in terminal. >> >> Is there a parameter like $1 that will do this? > > Some way of interrogating the bbedit command line tool would be > good. (Hint guys :-) > > Other than that you could use osascript to run an AppleScript that > returned the information you needed. > > Perhaps something like:
Sorry, I just read that. I totally missed the osascript bit. (It must be the weekend.) > $ myScript.sh `osascript myAppleScript.scpt` Something more like: $ myScript.sh `osascript myAppleScript.scpt` > Exactly what would go in the AppleScript I can't say. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a specific feature request or would like to report a suspected (or confirmed) problem with the software, please email to "[email protected]" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---
