▲ 0 r/AutoHotkey+1 crossposts

Aseprite, Godot AND, Blender with a profile swap on the X15 mouse

#Requires AutoHotkey v2.0

; --- CODE ENGINES & ALIASES ---

S(keys) => Send(keys)

; Universal Hold Engine: Handles the down/up locking logic for any keys cleanly

Hold(physicalKey, keysToSend*) {

for key in keysToSend {

Send("{" key " Down}")

}

KeyWait(physicalKey)

for key in keysToSend {

Send("{" key " Up}")

}

}

; =========================================================================

; COLOR PROFILE CONFIGURATION

; =========================================================================

global ActiveProfile := 1

global MyCustomToolTip := Gui("-Caption +AlwaysOnTop +ToolWindow")

MyCustomToolTip.BackColor := "000000"

MyCustomToolTip.SetFont("cFFD700 s10 Bold", "Segoe UI")

global ToolTipText := MyCustomToolTip.Add("Text", , "Profile 1: Modeling (#FF0000)")

; =========================================================================

; BLENDER INTERFACES & SUB-PROFILES

; =========================================================================

#HotIf WinActive("ahk_exe blender.exe")

F24:: {

global ActiveProfile

ActiveProfile := ActiveProfile + 1

if (ActiveProfile > 3) {

ActiveProfile := 1

}

message := ""

if (ActiveProfile == 1)

message := " Profile 1: Modeling (#FF0000) "

else if (ActiveProfile == 2)

message := " Profile 2: Animation (#00FF00) "

else if (ActiveProfile == 3)

message := " Profile 3: Texturing (#0000FF) "

ToolTipText.Value := message

MyCustomToolTip.Show("X20 Y20 NoActivate")

SetTimer(() => MyCustomToolTip.Hide(), -2000)

}

; --- BLENDER PROFILE 1 (MODELING) ---

#HotIf WinActive("ahk_exe blender.exe") and (ActiveProfile == 1)

F13::S("e") ; [Button 1] Extrude

F14::S("{WheelUp}") ; [Button 2]

F15::S("{WheelDown}") ; [Button 3]

F18::S("^r") ; [Button 6] Loop Cut

F19::Tab ; [Button 7] Native Tab Hold

; --- BLENDER PROFILE 2 (ANIMATION) ---

#HotIf WinActive("ahk_exe blender.exe") and (ActiveProfile == 2)

F13::S("i") ; [Button 1] Insert Keyframe

F14::S("!a") ; [Button 2] Play/Pause

; --- BLENDER PROFILE 3 (TEXTURE PAINT) ---

#HotIf WinActive("ahk_exe blender.exe") and (ActiveProfile == 3)

F13::S("s") ; [Button 1] Sample Color

F14::S("x") ; [Button 2] Swap Colors

; =========================================================================

; GODOT ENGINE PROFILE

; =========================================================================

#HotIf WinActive("ahk_exe Godot_v4.x-stable_win64.exe")

F13::S("^s") ; [Button 1] Save Scene

F14::S("{F5}") ; [Button 2] Run Project

; =========================================================================

; ASEPRITE PROFILE

; =========================================================================

#HotIf WinActive("ahk_exe Aseprite.exe")

F13::Hold("F13", "Alt", "Left") ; [Button 1] Clean Hold for Alt+Left!

F14::S("{WheelUp}") ; [Button 2]

F15::S("{WheelDown}") ; [Button 3]

F16::S("{Enter}") ; [Button 4]

F17::S("b") ; [Button 5] Brush Tool

F18::S("e") ; [Button 6] Eraser Tool

F19::S("{<}") ; [Button 7]

F20::S("{>}") ; [Button 8]

F21::S("9") ; [Button 9]

F22::S("0") ; [Button 10]

F23::Ctrl ; [Button 11] Native Control Hold

; =========================================================================

; GLOBAL KILL SWITCH

; =========================================================================

#HotIf

^+Esc::ExitApp

reddit.com
u/Geofernis — 4 days ago

I have the Corsair Store 4.6 4.6 out of 5 stars (2,216) CORSAIR Vengeance SODIMM DDR5 RAM 64GB (2x32GB)

Should I sell my unused laptop 64 ddr5 ram opened box not used and sell it for 600 or more.

To buy a kit of 16gbs of ddr5 for my 5080 build

Or use it on my origin laptop that has a 3080ti.

Or do I use the laptop ram on a ATX with a converter

&#x200B;

I thought I bought ddr4 for my laptop long ago and never looked.

&#x200B;

reddit.com
u/Geofernis — 19 days ago