At 21:56 -0400 6/15/06, Jim Correia wrote:
>On Jun 15, 2006, at 3:40 AM, Bee wrote:
>>plutil -convert xml1 <file>
>>Can you write it so it works from the BBEdit Unix Filters script menu?
>
>Is there a particular reason you want to use the Unix Filters menu?

One reason might be that you can set a preference to automatically reload a 
document from disk if a UNIX script changes it. That even works if it's not 
really a script, just a few lines executed from a worksheet. For whole files 
that's easier than a filter.

At 21:56 -0400 6/15/06, Jim Correia continued:
>For example, to convert the front document into something readable,  the best 
>way is probably via AppleScript. (It requires a small hack  to close and 
>reopen the file since there is currently no other way to  get BBEdit to reload 
>the file contents via script.)

I just learned that the automatic reload preference doesn't work with an 
AppleScript. One could incorporate the Applescript into an osascript command 
within a shell script and fix that up.
-- 

Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.

-- 
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to