Sync: Complete project state with all MEGA SPRINT V1-V3 features and Codex stubs
This commit is contained in:
11
run_ableton.ps1
Normal file
11
run_ableton.ps1
Normal file
@@ -0,0 +1,11 @@
|
||||
Add-Type -AssemblyName System.Windows.Forms
|
||||
Add-Type -AssemblyName Microsoft.VisualBasic
|
||||
$proc = Get-Process | Where-Object { $_.Name -match "Ableton Live" } | Select-Object -First 1
|
||||
if ($proc) {
|
||||
[Microsoft.VisualBasic.Interaction]::AppActivate($proc.Id)
|
||||
Start-Sleep -Milliseconds 500
|
||||
[System.Windows.Forms.SendKeys]::SendWait("{F10}")
|
||||
Write-Host "Sent F10 to Ableton"
|
||||
} else {
|
||||
Write-Host "Ableton not running"
|
||||
}
|
||||
Reference in New Issue
Block a user