Re: AppleScript example request: BBEdit roundtrip - Shell script via AppleScript

2020-01-20 Thread 'Iain Houston' via BBEdit Talk
Thank you John. That remarkably simple example contained just what I needed. IH On Monday, 20 January 2020 23:07:20 UTC, John R M. Delacour wrote: > > On Mon, 20 Jan 2020 at 17:01, 'Iain Houston' via BBEdit Talk > > wrote: > > > I feel sure that this is a fairly common roundtrip pattern:

Re: AppleScript example request: BBEdit roundtrip - Shell script via AppleScript

2020-01-20 Thread John Delacour
On Mon, 20 Jan 2020 at 17:01, 'Iain Houston' via BBEdit Talk wrote: > I feel sure that this is a fairly common roundtrip pattern: BBEdit -> > AppleScript -> Shell script -> AppleScript -> BBEdit. Here's an example. You can also send arguments to an existing shell script rather than have the

BBScriptRunnerXPCService dialog when saving to privileged location

2020-01-20 Thread Colin
I've recently upgraded to v13.0.4 but have always had this problem with v12, as well. Whenever I try to save my /etc/hosts file, there is an additional authentication dialog from BBScriptRunnerXPCService that doesn't seem to do anything. I can either provide a valid login/password or not.

AppleScript example request: BBEdit roundtrip - Shell script via AppleScript

2020-01-20 Thread 'Iain Houston' via BBEdit Talk
I have a shell script I use for quickly creating a skeleton Jekyll blog post with all the required front matter; required file name etc. I would like to invoke this from the BBEdit AppleScript menu and have BBEdit return with the newly-created Markdown Text File as the frontmost document in