Skip to content

Commit aa6bc0a

Browse files
committed
fixed instant VFX and monomaker scripts, for default UI coloring
also improved some stability, took some new tiny screenshots, and deleted lots of obsolete junk code
1 parent 1dfa922 commit aa6bc0a

10 files changed

+36
-272
lines changed
Loading
Loading
Loading
919 Bytes
Loading
888 Bytes
Loading
Loading

SECOND KEYBOARD Premiere functions in AutoHotKey.ahk

+9-9
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ else if (track = "left")
14811481
;msgbox, this is for the LEFT audio track
14821482
}
14831483
Send ^!+a ;control alt shift a --- ; audio channels shortcut, asigned in premiere - dont use this key combo anywhere else
1484-
;sleep 600
1484+
; fun fact, if you send this keystroke AGAIN, it does NOT close the panel, which is great... that means you can press the button anytime, and it will always result in an open panel.
14851485
sleep 15
14861486

14871487
;this doesn't work, the panel thinks its loaded even before any controls appear on it.
@@ -1501,7 +1501,7 @@ sleep 15
15011501
MouseGetPos, xPosAudio, yPosAudio
15021502

15031503
;/*
1504-
MouseMove, 2222, 1600, 0 ;moved the mouse onto the expected location of the "okay" box, which has a distinct white color when the cursor is over it, which will let us know the panel has appeared.
1504+
MouseMove, 2222, 1625, 0 ;moved the mouse onto the expected location of the "okay" box, which has a distinct white color when the cursor is over it, which will let us know the panel has appeared.
15051505

15061506
; msgbox where am i, cursor says
15071507
MouseGetPos, MouseX, MouseY
@@ -1514,7 +1514,7 @@ loop
15141514
tooltip, waiting = %waiting%`npixel color = %thecolor%
15151515
MouseGetPos, MouseX, MouseY
15161516
PixelGetColor, thecolor, MouseX, MouseY, RGB
1517-
if (thecolor = "0xF0F0F0" || thecolor = "0xF1F1F1")
1517+
if (thecolor = "0xE8E8E8")
15181518
{
15191519
tooltip, COLOR WAS FOUND
15201520
;msgbox, COLOR WAS FOUND
@@ -1540,7 +1540,7 @@ sleep 50
15401540
MouseGetPos, Xkolor, Ykolor
15411541
sleep 50
15421542
PixelGetColor, kolor, %Xkolor%, %Ykolor%
1543-
1543+
;msgbox, % kolor
15441544
; INFORMATION:
15451545
; 2b2b2b or 464646 = color of empty box
15461546
; cdcdcd = color when cursor is over the box
@@ -1549,15 +1549,15 @@ PixelGetColor, kolor, %Xkolor%, %Ykolor%
15491549
; For me, the default brightness of all panels is 313131 and/or 2B2B2B
15501550

15511551
;msgbox, kolor = %kolor%
1552-
If (kolor = "0x2b2b2b" || kolor = "0x464646") ; "kolor" is the variable name rather than "color" because "color" might be already used for something else in AHK.
1552+
If (kolor = "0x1d1d1d" || kolor = "0x333333") ; This is the color of an EMPTY checkbox. The coordinates hsould NOT lead to a position where the grey of the checkmark would be. Also, "kolor" is the variable name rather than "color" because "color" might be already used for something else in AHK.
15531553
{
15541554
;msgbox, box is empty
15551555
; click left
15561556
;sendinput, LButton
15571557
MouseClick, left, , , 1
15581558
sleep 10
15591559
}
1560-
else if (kolor = "0x9a9a9a" || k2 = "0xcdcdcd") ;this coordinate, of course, should be directly on top of the box, but NOT where there is a checkmark, since the check mark is now the same color as the bare panel...
1560+
else if (kolor = "0xb9b9b9") ;We are now looking for CHECK MARKS. This coordinate, should be directly on top of the box, but NOT directly on top of the GRAY checkmark itself. You need to detect telltale WHITE color that means the box has been checked.
15611561
{
15621562
; Do nothing. There was a checkmark in this box already.
15631563
}
@@ -1569,7 +1569,7 @@ sleep 10
15691569
PixelGetColor, k2, %Xkolor2%, %Ykolor2%
15701570
sleep 30
15711571
;msgbox, k2 = %k2%
1572-
If (k2 = "0x2b2b2b" || k2 = "0x464646")
1572+
If (k2 = "0x1d1d1d" || k2 = "0x333333") ;both of these are potential dark grey background panel colors
15731573
{
15741574
;msgbox, box is empty. i should click
15751575
; click left
@@ -1578,7 +1578,7 @@ If (k2 = "0x2b2b2b" || k2 = "0x464646")
15781578
sleep 10
15791579
;msgbox, did clicking happen?
15801580
}
1581-
else if (k2 = "0x9a9a9a" || k2 = "0xcdcdcd")
1581+
else if (k2 = "0xb9b9b9")
15821582
{
15831583
; Do nothing. There was a checkmark in this box already
15841584
}
@@ -1728,7 +1728,7 @@ if f_class = #32770 ; It's a dialog.
17281728
}
17291729
else if f_class in ExploreWClass,CabinetWClass ; In Explorer, switch folders.
17301730
{
1731-
msgbox, f_class is %f_class% and f_window_ID is %f_window_id%
1731+
tooltip, f_class is %f_class% and f_window_ID is %f_window_id%
17321732
if f_Edit1Pos <> ; And it has an Edit1 control.
17331733
{
17341734
tippy("EXPLORER WITH EDIT1 only 2 lines of code here....", 1000)

0 commit comments

Comments
 (0)