On 12 Feb 2015, at 12:07, Jimmbo <[email protected]> wrote:
> 
> What do I want out of this thread? Reread my OP. Workarounds! Copy/Pasting 
> into/out of Yojimbo/Evernote won't solve the problem, for reasons I mentioned 
> (thanks for the suggestion, though). Anything else? Any non-crusties who've 
> even partially solved this problem without saving every single nascent 
> scratchy, tenuous, in-progress doc to disk, and praying Spotlight can 
> retrieve it later?

The system I proposed isn’t based on “praying Spotlight can retrieve it later”.

Leap already supports everything you want to do. All you have to do is take one 
step in BBEdit, which is to save your text file. The name you give it doesn’t 
matter, just get it into the document management system. Then you can use Leap 
to preview files, open them for editing in the appropriate editor, tag them, 
sort them, categorise them, whatever you want. Leap organises stuff in the 
existing file structure, as opposed to Scrivener and Yojimbo which create their 
own database bundles (in addition to turning all text files into their own 
local format).

Another famous organising tool is DEVONThink: 
http://www.devontechnologies.com/products/devonthink/overview.html — I haven’t 
tried it, but it looks to be the same kind of thing as Yojimbo and Evernote: an 
organising tool that absorbs your stuff into its own database rather than 
organising files on disk in their native format.

So stop for a second and just think through how you’re going to organise those 
files that end up as “Untitled Text 88” and friends. If you’re going to tag 
them, categorise them and organise them, can’t you at least give them names? 
You don’t need to spend time thinking about it: Command+S, mash the keyboard, 
click “Inbox” in the left-hand panel, click “Save”. Done!

Heck, here’s an AppleScript which will save the file for you, assuming you have 
a folder called “Notes” in your Documents folder:

to random_filename(extension)
        set myDocuments to the path to documents folder from user domain as 
string
        set myInbox to myDocuments & "Inbox:"
        set alphabet to "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        set x to " — "
        repeat 6 times
                set x to x & some item of alphabet
        end repeat
        set x to x & extension
        set {year:y, month:m, day:d} to (current date)
        set godelnumber to (y * 10000 + m * 100 + d)
        set fileName to (godelnumber as string) & x
        return fileName
end random_filename

set myDocuments to the path to documents folder from user domain as string
set myInbox to myDocuments & "Notes:"
set myFilename to random_filename(".txt")
set myPath to myInbox & myFilename

tell application "BBEdit"
        tell the active document of the front window
                save to file myPath
        end tell
end tell

-- some scripting ideas here:
-- http://www.mactech.com/articles/mactech/Vol.24/24.08/ASBBEdit/index.html
-- https://discussions.apple.com/thread/1907181?start=0&tstart=0
-- http://macscripter.net/viewtopic.php?id=24737

… so all you need to do is save that script and bind it to a keyboard shortcut. 
No more messy collection of untitled windows in BBEdit. I only spent a few 
minutes on that script, I got stuck trying to get the time of day into a useful 
format. That will give a more “meaningful” file name IMHO.

And then you can open Leap and organise to your heart’s content.

Alex

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to