This is my first time using AHK,
and I apologize for a nubie approach to solving
my problem.
In Steinberg Cubase 13 (Music recording DAW)
I work using four screens utilizing each one for a
different page of the program. The main
two being the Project page, and the Mix Console
Each time I want to change the focus from the
Project page to the Mix Console or visa versa
I have to mouse click into that page.
I would like to assign the “tilda” key to the
Project page, and the “q” key to the Mix Console
This will speed up my work flow greatly,
I would be so appreciative if someone
Would please help me.
Cubase 13 screen focus key assign
Re: Cubase 13 screen focus key assign
Welcome to this AutoHotkey forum!
I think you will want to provide a detailed description of exactly how such actions would occur as you interact with your mouse or keyboard. The script would then be coded to replicate those actions.
I think you will want to provide a detailed description of exactly how such actions would occur as you interact with your mouse or keyboard. The script would then be coded to replicate those actions.
Re: Cubase 13 screen focus key assign
Thank you so much for responding,
The long and the short of it is, I need to use my mouse to click into the screen to make the focus go to that screen.
I keep them separated onto the two screens, but for each page to become active, I need to click anywhere on the page and that page becomes active.
The long and the short of it is, I need to use my mouse to click into the screen to make the focus go to that screen.
I keep them separated onto the two screens, but for each page to become active, I need to click anywhere on the page and that page becomes active.
Re: Cubase 13 screen focus key assign
The forum reader cannot see your screen. How do you determine where to click? Is it at specific coordinates?
Running Window Spy will show you the WinTitle information as well as the coordinates. Perhaps this information will help you to distinguish the two windows so that you can provide a description of the differences and where you want the clicks to occur.
Running Window Spy will show you the WinTitle information as well as the coordinates. Perhaps this information will help you to distinguish the two windows so that you can provide a description of the differences and where you want the clicks to occur.
Re: Cubase 13 screen focus key assign
I will attempt to run winspy, but clicking anywhere on the page will cause it to be active. Windows spy may gave me the window title, but this will be my first time running anything, we’ll see how it goes thanks.
Re: Cubase 13 screen focus key assign
You have provided no information about how to distinguish the pages. Here is how to click when tilde is pressed.
Code: Select all
#Requires AutoHotkey v2.0
~::Send '{LButton}'
Re: Cubase 13 screen focus key assign
Thank you Boiler, and MikeyWW, for your continued patience, I will be able to try winspy in the morning and report its findings. MM
Re: Cubase 13 screen focus key assign
I keep trying to post the results of the window spy, but it won’t let me why?
Re: Cubase 13 screen focus key assign
It keeps saying invalid post try again
Re: Cubase 13 screen focus key assign
I don’t know why. I thought new members could post images. Maybe @joedf can provide some insight.
Re: Cubase 13 screen focus key assign
@boiler I checked permissions, doesn't look like we are disabling images for new users.
Regardless, I have removed your new user restrictions @magicmore
Regardless, I have removed your new user restrictions @magicmore
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Cubase 13 screen focus key assign
Finally,
this is the title of the Cubase Project page:
Cubase Pro Project by MAGIC MORENO
ahk_class SteinbergWindowClass㐰ݝ
ahk_exe Cubase13.exe
ahk_pid 2856
ahk_id 67048
Mouse position;
Screen: 1056, 40
Window: 1060, 33
Client: 1052, -18 (default)
Color: F0F0F0 (Red=F0 Green=F0 Blue=F0)
this is the title of the Cubase Project page:
Cubase Pro Project by MAGIC MORENO
ahk_class SteinbergWindowClass㐰ݝ
ahk_exe Cubase13.exe
ahk_pid 2856
ahk_id 67048
Mouse position;
Screen: 1056, 40
Window: 1060, 33
Client: 1052, -18 (default)
Color: F0F0F0 (Red=F0 Green=F0 Blue=F0)
Re: Cubase 13 screen focus key assign
this is the title of the Cubase Project page:
Cubase Pro Project by MAGIC MORENO
ahk_class SteinbergWindowClass㐰ݝ
ahk_exe Cubase13.exe
ahk_pid 2856
ahk_id 67048
Mouse position;
Screen: 1056, 40
Window: 1060, 33
Client: 1052, -18 (default)
Color: F0F0F0 (Red=F0 Green=F0 Blue=F0)
Active window position;
Screen: x: -4 y: 7 w: 1917 h: 1040
Client: x: 4 y: 58 w: 1901 h: 981
Cubase Pro Project by MAGIC MORENO
ahk_class SteinbergWindowClass㐰ݝ
ahk_exe Cubase13.exe
ahk_pid 2856
ahk_id 67048
Mouse position;
Screen: 1056, 40
Window: 1060, 33
Client: 1052, -18 (default)
Color: F0F0F0 (Red=F0 Green=F0 Blue=F0)
Active window position;
Screen: x: -4 y: 7 w: 1917 h: 1040
Client: x: 4 y: 58 w: 1901 h: 981
Re: Cubase 13 screen focus key assign
this is the info for the Mic Console page
MixConsole - KILLING FIELDS-1203
ahk_class SteinbergWindowClass㐰ݝ
ahk_exe Cubase13.exe
ahk_pid 2856
ahk_id 67074
Mouse Position;
Screen: 2618, 19
Window: 703, 19
Client: 695, -32 (default)
Color: FFFFFF (Red=FF Green=FF Blue=FF)
Active window position;
Screen: x: 1915 y: 0 w: 1922 h: 1087
Client: x: 1923 y: 51 w: 1906 h: 1028
Thank you for your patience; again I'm trying to assign "Tilde" to the Project page and "q" to the mix console page.
Please help me with what scipts will work and how to actually do it. thank you.
MixConsole - KILLING FIELDS-1203
ahk_class SteinbergWindowClass㐰ݝ
ahk_exe Cubase13.exe
ahk_pid 2856
ahk_id 67074
Mouse Position;
Screen: 2618, 19
Window: 703, 19
Client: 695, -32 (default)
Color: FFFFFF (Red=FF Green=FF Blue=FF)
Active window position;
Screen: x: 1915 y: 0 w: 1922 h: 1087
Client: x: 1923 y: 51 w: 1906 h: 1028
Thank you for your patience; again I'm trying to assign "Tilde" to the Project page and "q" to the mix console page.
Please help me with what scipts will work and how to actually do it. thank you.
Re: Cubase 13 screen focus key assign
Code: Select all
#Requires AutoHotkey v2.0
cubase := 'ahk_exe Cubase13.exe'
#HotIf WinExist(cubase)
~::WinActivate 'Cubase Pro Project ' cubase
q::WinActivate 'MixConsole ' cubase
#HotIf
Re: Cubase 13 screen focus key assign
I'm so so grat4eful. Thank you, Thank you Thank you !!!!
The script worked !! I had to make one edit, that being the "tilde" key is actually the "`" accent key. I found out because the original script worked when I hit Shift + "Tilde" key.
Once I switched that it all worked great. I'm very very happy Thank you again !!
The script worked !! I had to make one edit, that being the "tilde" key is actually the "`" accent key. I found out because the original script worked when I hit Shift + "Tilde" key.
Once I switched that it all worked great. I'm very very happy Thank you again !!
Re: Cubase 13 screen focus key assign
This is the new working script;
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]
Code: Select all
cubase := 'ahk_exe Cubase13.exe'
#HotIf WinExist(cubase)
`::WinActivate 'Cubase Pro Project ' cubase
q::WinActivate 'MixConsole ' cubase
#HotIf
Who is online
Users browsing this forum: DavidP, FanaticGuru and 96 guests