PG Music Home
This was made after
Pianobilly's link for 96 Shortcuts for Presonus Studio One

To make it easy you can create an always on top button panel and add any functions you like.
Install www.AutoHotKey.com
Click reveal below and save the code below in notepad as Studio One Actions.ahk
This is just a rough code for testing and can be polished and modified,
the RealBand and PowerTracks Tabs can be change to other Studio One functions.

Alt !
Ctrl ^
Shift +
Win Logo #

so to send Ctrl + Shift + O = Import File
Send ^+o
Send ctrl+shift+o

So rename Action > Import File then go down to the function AC2:
and set the send
Send ^+o

the menu commands don't seem to work on Studio One
WinMenuSelectItem, ahk_exe Studio One.exe, , File, Open...
so you can navigate the menus, Song > Send to Notion by sending

AC3:
winactivate,ahk_exe Studio One.exe
Send {alt}
Send {right 2}
Send {Down 6}
Send {Enter}
Return

or with one line, set the delay anount to what works best SetKeyDelay

AC3:
winactivate,ahk_exe Studio One.exe
SetKeyDelay, 50
Send {alt}{right 2}{Down 6}{Enter}
Return

Click to reveal..


Code:
;Insert Color here like HEX 00C222
TabColors_Tab1=4287F5
TabColors_Tab2=AD001F
TabColors_Tab3=000000

;Alawys on Top checkbox
Gui, +AlwaysOnTop

Gui, Font, S10 CWhite Bold, Arial
Gui, Add, CheckBox, x12 y210 w130 h20 gUpdate vCheck, Always on Top
guicontrol, , check, 1

Gui, Add, Tab, x2 y0 h250 w460 AltSubmit gTab vTab
	, S1|RealBand|PowerTracks
	Gosub, Tab
Gui, Show, , S1 RB PT Action Buttons 



; Studio One Tab Buttons
Gui, Tab, S1
Gui, Font, S10 CBlack Bold, Arial

Gui, Add, Button, x12 y40 w100 h30 gAC1, Open...
Gui, Add, Button, x112 y40 w100 h30 gAC2, Import File
Gui, Add, Button, x212 y40 w100 h30 gAC3, Action
Gui, Add, Button, x312 y40 w100 h30 gAC4, Action
Gui, Add, Button, x12 y70 w100 h30 gAC5, Action
Gui, Add, Button, x112 y70 w100 h30 gAC6, Action
Gui, Add, Button, x212 y70 w100 h30 gAC7, Action
Gui, Add, Button, x312 y70 w100 h30 gAC8, Action
Gui, Add, Button, x12 y100 w100 h30 gAC9, Action
Gui, Add, Button, x112 y100 w100 h30 gAC10, Action
Gui, Add, Button, x212 y100 w100 h30 gAC11, Action
Gui, Add, Button, x312 y100 w100 h30 gAC12, Action
Gui, Add, Button, x12 y130 w100 h30 gAC13, Action
Gui, Add, Button, x112 y130 w100 h30 gAC4, Action
Gui, Add, Button, x212 y130 w100 h30 gAC15, Action
Gui, Add, Button, x312 y130 w100 h30 gAC16, Action


; Realband Tab Buttons
Gui, Tab, Realband
Gui, Font, S10 CBlack Bold, Arial

Gui, Add, Button, x12 y40 w100 h30 , RB-Play/Stop
Gui, Add, Button, x112 y40 w100 h30 , RB2
Gui, Add, Button, x212 y40 w100 h30 , RB3
Gui, Add, Button, x312 y40 w100 h30 , RB4
Gui, Add, Button, x12 y70 w100 h30 , RB5
Gui, Add, Button, x112 y70 w100 h30 , RB6
Gui, Add, Button, x212 y70 w100 h30 , RB7
Gui, Add, Button, x312 y70 w100 h30 , RB8
Gui, Add, Button, x12 y100 w100 h30 , RB9
Gui, Add, Button, x112 y100 w100 h30 , RB10
Gui, Add, Button, x212 y100 w100 h30 , RB11
Gui, Add, Button, x312 y100 w100 h30 , RB12
Gui, Add, Button, x12 y130 w100 h30 , RB13
Gui, Add, Button, x112 y130 w100 h30 , B14
Gui, Add, Button, x212 y130 w100 h30 , RB15
Gui, Add, Button, x312 y130 w100 h30 , RB16


; PowerTracks Tab Buttons
Gui, Tab, PowerTracks
Gui, Font, S10 CBlack Bold, Arial

Gui, Add, Button, x12 y40 w100 h30 , PT-Play/Stop
Gui, Add, Button, x112 y40 w100 h30 , PT2
Gui, Add, Button, x212 y40 w100 h30 , PT3
Gui, Add, Button, x312 y40 w100 h30 , PT4
Gui, Add, Button, x12 y70 w100 h30 , PT5
Gui, Add, Button, x112 y70 w100 h30 , PT6
Gui, Add, Button, x212 y70 w100 h30 , PT7
Gui, Add, Button, x312 y70 w100 h30 , PT8
Gui, Add, Button, x12 y100 w100 h30 , PT9
Gui, Add, Button, x112 y100 w100 h30 , PT10
Gui, Add, Button, x212 y100 w100 h30 , PT11
Gui, Add, Button, x312 y100 w100 h30 , PT12
Gui, Add, Button, x12 y130 w100 h30 , PT13
Gui, Add, Button, x112 y130 w100 h30 , B14
Gui, Add, Button, x212 y130 w100 h30 , PT15
Gui, Add, Button, x312 y130 w100 h30 , PT16




; Generated using SmartGUI Creator 4.0
OnMessage(0x115, "OnScroll") ; WM_VSCROLL
OnMessage(0x114, "OnScroll") ; WM_HSCROLL
Gui,  +Resize +0x300000  ; WS_VSCROLL | WS_HSCROLL	;+Resize (allows resize of windows)

return

Tab:
GuiControlGet, Tab
Gui, Color, % TabColors_Tab%Tab%
return


Update:
    Gui, Submit, NoHide
    If Check = 1
    {
        Gui, +AlwaysOnTop
    }
    else
    {
        Gui, -AlwaysOnTop
    }
Return


; Send Key Studio One

AC1:
winactivate,ahk_exe Studio One.exe
Send ^o
;WinMenuSelectItem, ahk_exe Studio One.exe, , File, Open...
Return

AC2:
winactivate,ahk_exe Studio One.exe
Send  ^+o 
Return

AC3:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC4:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC5:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC6:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC7:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC8:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC9:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC10:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC11:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC12:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC13:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC14:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC15:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return

AC16:
winactivate,ahk_exe Studio One.exe
Send  {Space}
Return



; Send Key Realband

ButtonRB-Play/Stop:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB2:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB3:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB4:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB5:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB6:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB7:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB8:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB9:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB10:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB11:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB12:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB13:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB14:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB15:
winactivate,ahk_class RealBand
Send  {Space}
Return

ButtonRB16:
winactivate,ahk_class RealBand
Send  {Space}
Return


; Send Key PowerTracks

ButtonPT-Play/Stop:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT2:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT3:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT4:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT5:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT6:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT7:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT8:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT9:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT10:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT11:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT12:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT13:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT14:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT15:
winactivate,ahk_class PowerTracks
Send  {Space}
Return

ButtonPT16:
winactivate,ahk_class PowerTracks
Send  {Space}
Return



GuiClose:
GuiEscape:
ExitApp


© PG Music Forums