TaranVH / 2nd-keyboard

ALL of Taran's scripts - not just for the 2nd keyboard.
https://www.youtube.com/watch?v=O6ERELse_QY
1.65k stars 538 forks source link

Info: I made a thing! #147

Open Hyyeve opened 2 years ago

Hyyeve commented 2 years ago

Hi! A while ago, I was inspired by this to make my own automation scripts for premiere As a decent coder as well as a video editor, I also wanted to massively optimize and improve on the functionality I needed I haven't actually made many scripts so far - to date, ApplyPreset has really been the only thing that I've found super useful - but I decided to put my AHK code up on github too, incase it's useful to anyone.

Anyway, I just wanted to say a massive thanks for inspiring my to make my own automation scripts and macros for general use, and if you - or anyone else - might find some VERY optimized (and a lot more organised!) functions useful, they're over in this repo: https://github.com/Drakeyn/AdobeMacros :)

(I'm especially proud of my much simpler, near-instant ApplyPreset :>)

TaranVH commented 2 years ago

Nice, I'm going to try your version of preset() and see if it works for me. Where is cCheck defined? I've been wondering if there's a way to check which panel is open. Also, are you aware of the shortcut "add edit to all tracks" ? I think it does the same thing as your Quicksplit.ahk

On Sat, Aug 28, 2021 at 8:43 AM Drake @.***> wrote:

Hi! A while ago, I was inspired by this to make my own automation scripts for premiere As a decent coder as well as a video editor, I also wanted to massively optimize and improve on the functionality I needed I haven't actually made many scripts so far - to date, ApplyPreset has really been the only thing that I've found super useful - but I decided to put my AHK code up on github too, incase it's useful to anyone.

Anyway, I just wanted to say a massive thanks for inspiring my to make my own automation scripts and macros for general use, and if you - or anyone else - might find some VERY optimized (and a lot more organised!) functions useful, they're over in this repo: https://github.com/Drakeyn/AdobeMacros :)

(I'm especially proud of my zero sleep calls, near-instant ApplyPreset :>)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TaranVH/2nd-keyboard/issues/147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2MGX3E2FLOJ6CXRHTLUWLT7D7YXANCNFSM5C7HRP5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hyyeve commented 2 years ago

cCheck is defined in the line above - with ControlGetFocus, which returns the ClassNN of the currently focused control :D

And I remember you mentioning that before, but I haven't looked at it - I'll take a look, if there's a built in shortcut for it (or at least one that can partially replace the script) that'd be neat. ~ okay, just checked, yup, don't need that script anymore I guess

With regards to ApplyPreset, I'm not sure exactly what workflow you have with effects, so you might have to adjust the timings a bit - I have everything I use regularly in a custom presets bin, which I keep opened all the time, for easy access. With it open, premiere will update the list almost instantly when the script types in the name, and it will work with no sleep calls at all. HOWEVER, if it's not already open, or it's a default effect not in my custom bin, it takes premiere a lot longer to update the list properly, and I've been having occasional issues with it failing to open in time or the image search actually finding the WRONG preset, somehow. Right now I've re-added a sleep of about 130 just after sending the preset name, which seems to work pretty consistently for me, but it might vary for you.

Hyyeve commented 2 years ago

~ I've just pushed my local changes, which include a bunch of fixes and other improvements