Re: Edit > Show Clipboard (BBEdit 10)

2018-07-20 Thread Christopher Stone
On 07/16/2018, at 16:27, Matt Kanninen mailto:mathias...@gmail.com>> 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 


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
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Edit > Show Clipboard (BBEdit 10)

2018-07-17 Thread Matt Kanninen
Guess I'll have to.  Easy clipboard access was one of the main reasons I 
decided to try BBEdit

On Friday, December 18, 2015 at 5:12:45 AM UTC-8, verdonv wrote:
>
> Why not use a clipboard manager? I've been using http://www.clipmenu.com 
> for years... can't imagine working without something like that. There are 
> others out there too.
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Edit > Show Clipboard (BBEdit 10)

2015-12-18 Thread verdonv
Why not use a clipboard manager? I've been using http://www.clipmenu.com 
for years... can't imagine working without something like that. There are 
others out there too.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 

--- 
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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Edit > Show Clipboard (BBEdit 10)

2015-12-17 Thread Christopher Stone
On Dec 16, 2015, at 18:49, Lee Hinde  wrote:
> Replying here just to show I checked the archives first...
> 
> Is there a way to view the BBEdit clipboard history, other than selecting the 
> previous clipboard and pasting X times?
__

Hey Lee,

No.  At least not built-in.

You can do it with an AppleScript though.

--
Best Regards,
Chris

---
# Auth: Christopher Stone
# dCre: 2015/12/17 17:37
# dMod: 2015/12/17 17:48 
# Appl: BBEdit
# Task: Set selection to text chosen from BBEdit's clipboards.
# Tags: @Applescript, @Script, @BBEdit, @Choose, @Clipboard, @Text
---

tell application "BBEdit"
  set clipboardList to contents of clipboards
  
  set pickedClipboardList to choose from list clipboardList with title "BBEdit 
Clipboard Contents" with prompt ¬
"Pick 1 or more:" default items {item 1 of clipboardList} ¬
multiple selections allowed true ¬
without empty selection allowed
  
  set AppleScript's text item delimiters to return
  
  if pickedClipboardList ≠ false then set selection to pickedClipboardList as 
text
  
end tell

---



-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 

--- 
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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Edit > Show Clipboard (BBEdit 10)

2015-12-17 Thread Lee Hinde
Thank you!

> On Dec 17, 2015, at 3:54 PM, Christopher Stone  
> wrote:
> 
> On Dec 16, 2015, at 18:49, Lee Hinde  > wrote:
>> Replying here just to show I checked the archives first...
>> 
>> Is there a way to view the BBEdit clipboard history, other than selecting 
>> the previous clipboard and pasting X times?
> __
> 
> Hey Lee,
> 
> No.  At least not built-in.
> 
> You can do it with an AppleScript though.
> 
> --
> Best Regards,
> Chris
> 
> ---
> # Auth: Christopher Stone
> # dCre: 2015/12/17 17:37
> # dMod: 2015/12/17 17:48 
> # Appl: BBEdit
> # Task: Set selection to text chosen from BBEdit's clipboards.
> # Tags: @Applescript, @Script, @BBEdit, @Choose, @Clipboard, @Text
> ---
> 
> tell application "BBEdit"
>   set clipboardList to contents of clipboards
>   
>   set pickedClipboardList to choose from list clipboardList with title 
> "BBEdit Clipboard Contents" with prompt ¬
> "Pick 1 or more:" default items {item 1 of clipboardList} ¬
> multiple selections allowed true ¬
> without empty selection allowed
>   
>   set AppleScript's text item delimiters to return
>   
>   if pickedClipboardList ≠ false then set selection to pickedClipboardList as 
> text
>   
> end tell
> 
> ---
> 

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 

--- 
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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Edit > Show Clipboard (BBEdit 10)

2015-12-16 Thread Lee Hinde
Replying here just to show I checked the archives first...

Is there a way to view the BBEdit clipboard history, other than selecting
the previous clipboard and pasting X times?

On Sat, Jan 3, 2015 at 6:13 PM, ego...@gmail.com  wrote:

> BBEdit 10.5 Release Notes
>  includes
> this:
>
>
>-
>
>The "Show Clipboard" command on the Edit menu has been retired. It now
>lives on a farm upstate.
>
>
> On Saturday, January 3, 2015 10:11:21 AM UTC-5, Jean-Christophe Helary
> wrote:
>>
>> Hello all,
>>
>> I'm browsing the tutorial and I'm surprised to see a feature that does
>> not seem to appear in the interface.
>>
>> On page 22, it says "Like the Finder, BBEdit has a Show Clipboard command
>> on the Edit menu." But I've been checking the Edit menu (and all the other
>> menus for that matter) to no avail.
>>
>> I can find a Previous/Next Clipboard at the bottom of the Edit menu, but
>> a "Show Clipboard" is nowhere to be seen.
>>
>> Am I missing something ?
>>
>> Jean-Christophe Helary
>
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 

--- 
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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Edit Show Clipboard (BBEdit 10)

2015-01-03 Thread Jean-Christophe Helary
Hello all,

I'm browsing the tutorial and I'm surprised to see a feature that does not seem 
to appear in the interface.

On page 22, it says Like the Finder, BBEdit has a Show Clipboard command on 
the Edit menu. But I've been checking the Edit menu (and all the other menus 
for that matter) to no avail.

I can find a Previous/Next Clipboard at the bottom of the Edit menu, but a 
Show Clipboard is nowhere to be seen.

Am I missing something ?

Jean-Christophe Helary

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Edit Show Clipboard (BBEdit 10)

2015-01-03 Thread jgill
'Show Clipboard' is in the Edit Menu of the Finder, not BBEdit.

On Saturday, January 3, 2015 3:11:21 PM UTC, Jean-Christophe Helary wrote:

 Hello all, 

 I'm browsing the tutorial and I'm surprised to see a feature that does not 
 seem to appear in the interface. 

 On page 22, it says Like the Finder, BBEdit has a Show Clipboard command 
 on the Edit menu. But I've been checking the Edit menu (and all the other 
 menus for that matter) to no avail. 

 I can find a Previous/Next Clipboard at the bottom of the Edit menu, but a 
 Show Clipboard is nowhere to be seen. 

 Am I missing something ? 

 Jean-Christophe Helary

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Edit Show Clipboard (BBEdit 10)

2015-01-03 Thread Lawrence San
 'Show Clipboard' is in the Edit Menu of the Finder, not BBEdit.

I see a Show Clipboard item in *both* the Finder (Snow Leopard) and
BBEdit 9, but of course those are older versions.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Edit Show Clipboard (BBEdit 10)

2015-01-03 Thread ego...@gmail.com
BBEdit 10.5 Release Notes 
http://www.barebones.com/support/bbedit/arch_bbedit105.html includes this:


   - 
   
   The Show Clipboard command on the Edit menu has been retired. It now 
   lives on a farm upstate.
   

On Saturday, January 3, 2015 10:11:21 AM UTC-5, Jean-Christophe Helary 
wrote:

 Hello all, 

 I'm browsing the tutorial and I'm surprised to see a feature that does not 
 seem to appear in the interface. 

 On page 22, it says Like the Finder, BBEdit has a Show Clipboard command 
 on the Edit menu. But I've been checking the Edit menu (and all the other 
 menus for that matter) to no avail. 

 I can find a Previous/Next Clipboard at the bottom of the Edit menu, but a 
 Show Clipboard is nowhere to be seen. 

 Am I missing something ? 

 Jean-Christophe Helary

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.