Adobe Premiere Pro and clipboard

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Adobe Premiere Pro and clipboard

11 Jan 2015, 00:31

Hi!
I try to make multiclipboards in Adobe Premiere.
The problem is that Premiere has his own buffer and I could get it only when Premiere window is disabled.
My script is:

Code: Select all

^!1::Copy(1)
^1::Paste(1)

Copy(clipboardID)
{
   global
   ClipBoard := ""
   Send, ^c
   ClipWait, 1, 1
   if ErrorLevel = 1
   {
      MsgBox, error
      return
   }
   WinActivate, ahk_class Shell_TrayWnd
   ClipBoard%clipboardID% := ClipBoardAll
   WinActivate, ahk_class Premiere Pro
   return
}

Paste(clipboardID)
{
   global
   WinActivate, ahk_class Shell_TrayWnd   
   ClipBoard := ""                                              
   WinActivate, ahk_class Premiere Pro         
   Send ^v  ;  Give information to Premier Pro that clipboard is empty
   WinActivate, ahk_class Shell_TrayWnd      
   ClipBoard := ClipBoard%clipboardID%         
   WinActivate, ahk_class Premiere Pro          
   Send ^v
   return
}
But it does not work when I copy and paste some effects between clips in premiere pro.
When I copy effect in InsideClipboard http://www.nirsoft.net/utils/inside_clipboard.htmlI see that information
49774 PPro/MZ/Cookie Memory 72 1 - is always the same.

Code: Select all

00000000   32 00 62 00 31 00 33 00 65 00 37 00 62 00 64 00    2.b.1.3.e.7.b.d.
00000010   2D 00 32 00 37 00 30 00 63 00 2D 00 66 00 62 00    -.2.7.0.c.-.f.b.
00000020   34 00 34 00 2D 00 64 00 32 00 35 00 32 00 2D 00    4.4.-.d.2.5.2.-.
00000030   63 00 64 00 65 00 39 00 30 00 30 00 30 00 30 00    c.d.e.9.0.0.0.0.
00000040   30 00 30 00 32 00 31 00                            0.0.2.1.        
And in Clipboard this one:

Code: Select all

    А                 nВ  H       2 b 1 3 e 7 b d - 2 7 0 c - f b 4 4 - d 2 5 2 - c d e 9 0 0 0 0 0 0 2 1 А  Ё           Ё                nВ               яяяя                     
And when I paste it from Clipboard to Premiere it pastes nothing.
How can I retrieve this cookies and get it work?
Thank You!
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Re: Adobe Premiere Pro and clipboard

16 Jan 2015, 08:41

Anybody has some ideas?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: fiaztv1, Google [Bot], JKJadan, Pianist and 190 guests