Carlton Gibson Fwd: how to send file list to terminal command
Aug 07, 2009; 13:42
Carlton Gibson
Fwd: how to send file list to terminal command
Begin forwarded message: > From: Carlton Gibson <carlton.gibson@gmail.com> > 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.com 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 "support@barebones.com" rather than posting to the group. -~----------~----~----~----~------~----~------~--~-
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!