On 07/16/2018, at 16:27, Matt Kanninen <[email protected] 
<mailto:[email protected]>> wrote:
> Guess I'll have to.  Easy clipboard access was one of the main reasons I 
> decided to try BBEdit


Hey Matt,

It's about as easy as you want it to be.

See this link.

https://groups.google.com/d/msg/bbedit/gipy2Sp4R5k/SyQWt6Q5AQAJ 
<https://groups.google.com/d/msg/bbedit/gipy2Sp4R5k/SyQWt6Q5AQAJ>

The script creates a pop-up list of the various clipboard contents.

Here's another one that will dump all clipboards into new document.

----------------------------------------------------------------
# Auth: Christopher Stone
# dCre: 2018/07/20 07:32
# dMod: 2018/07/20 07:32 
# Appl: BBEdit
# Task: Dump BBEdit Clipboards to a new document.
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @BBEdit, @Dump, @BBEdit, @Clipboards, @New, 
@Document
----------------------------------------------------------------

set _sep to linefeed & linefeed & 
"----------------------------------------------------------------" & linefeed & 
linefeed

set clipList to {}

tell application "BBEdit"
    repeat with i from 1 to 6
        set end of clipList to (contents of clipboard i)
    end repeat
end tell

set AppleScript's text item delimiters to _sep

bbeditNewDoc(clipList as text, true)

----------------------------------------------------------------
--ยป HANDLERS
----------------------------------------------------------------
on bbeditNewDoc(_text, _activate)
    tell application "BBEdit"
        set newDoc to make new document with properties {text:_text, bounds:{0, 
44, 1920, 1200}}
        tell newDoc
            select insertion point before its text
        end tell
        if _activate = true or _activate = 1 or _activate = "activate" then 
activate
    end tell
end bbeditNewDoc
----------------------------------------------------------------

Personally I recommend a clipboard manager.  They are more full-featured and 
are a great productivity enhancement.

I use LaunchBar's clipboard manager and Keyboard Maestro's for different 
reasons.

I also have scripts for BBEdit that let me save the current clipboard to 1 of 
10 pseudo-clipboards and can copy to or paste from with 1 keystroke.

--
Best Regards,
Chris

-- 
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].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to