Deleting a file via AppleScript

2021-03-18 Thread F. Alfredo Rego
Hi everyone, I would like to delete a file via AppleScript. I’m sure the solution is trivially simple, but so far I can’t find a way. The easy way would be to do something like this, which sadly does exactly what it says and it doesn’t delete the file: set theFile to (open file

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
On 03/18/2021, at 13:04, Sam Hathaway mailto:list.bbe...@munkynet.org>> wrote: > On 18 Mar 2021, at 10:10, Bill Kochman wrote: > > I started this discussion thread with a simple question: Where is the list of > open BBEdit windows stored on my hard drive? > > If you’ll only be satisfied with a

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
On 03/17/2021, at 18:41, Bill Kochman mailto:wordweaver...@gmail.com>> wrote: > So, I must ask you then. Does the fact that you are taking interest in this > mean that there is not just one file somewhere in BBEdit’s folder and file > hierarchy where this information is stored? It looks like

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
-- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: --- You received this message because you are subscribed to the

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Bill Kochman
Hello Chris, It seems that you and I were thinking along the very same lines. In fact, nine hours ago, I informed Rich via private email that I had basically done the same thing as what you accomplish in this script, but manually, being as I am no AppleScript expert. In other words, I manually

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Christopher Stone
-- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: --- You received this message because you are subscribed to the

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Bill Kochman
Hello Sam, Thanks for your response. Actually, that is EXACTLY the answer that I needed. In fact, only minutes after you responded to me, Rich wrote to me privately and pointed me to the very same file. :) So for now, until I can figure out why my machine periodically crashes and wipes out

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Sam Hathaway
On 18 Mar 2021, at 10:10, Bill Kochman wrote: I started this discussion thread with a simple question: Where is the list of open BBEdit windows stored on my hard drive? If you’ll only be satisfied with a direct answer to your exact question, then here: `~/Library/BBEdit/Saved Application

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Patrick Woolsey
Hi Bill, For reference, the Windows palette does nothing more (and nothing less :-) than list all the documents & windows currently open within BBEdit, but plays no part in managing the latter. Thus, if BBEdit occasionally does not reopen all the documents that you expected, _this_ is the

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Bill Kochman
Hello Kerri, Okay, I am a little confused here. Over the many years that I have used BBEdit, and participated on this list, I have seen a lot of discussions where list members ask questions and get answers and solutions from other list members. Certain members here have been very generous with

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Kerri Hicks
Maybe it's time to reiterate what a few of us have mentioned so far: [image: Screen Shot 2021-03-18 at 9.41.27 AM.png] --Kerri On Thu, Mar 18, 2021 at 9:37 AM Bill Kochman wrote: > Hi Bruce, > > Thanks for the suggestion, but what you describe is actually a lot more > complicated than what I

Re: Where Are Prefs for Open Windows in "Windows" Palette Saved?

2021-03-18 Thread Bill Kochman
Hi Bruce, Thanks for the suggestion, but what you describe is actually a lot more complicated than what I need. In fact, what I need is ALREADY present on the “Windows” palette on the far right side of my screen. I don’t really need to set up a new system of projects as you describe.