PG Music Home
Posted By: Pipeline Quick Menus Tool for Biab - 03/24/21 10:46 PM
Download BB_Quick_Menu_Mixer_AHK_Script.zip.mp4
Remove the .mp4 from BB_Quick_Menu_Mixer_AHK_Script.zip.mp4
and unzip
To run the script .ahk install https://www.autohotkey.com/ and set AutoHotKey.exe to Run As Administrator if you are running Biab As Administrator.

This is the easiest way to run functions in BB rather than having to go through menus.
You can add any function you like to any tab.
The script can be edited with Notepad.
There are two sections to the script
;BUTTONS ======
and
;FUNCTIONS ======
whatever is under
Gui, Tab, 1
will show on that Tab
To change the size of the gui change this line
Gui, Add, Tab, x2 y160 h20 w290 AltSubmit gTab vTab
160 = Height
290 = width
you can add more tabs with: , 1|2|3|4

This is the 3rd Button in Tab 1
Gui, Add, Text, x2 y50 cFuchsia gUnFold, Unfold
the x, y is the position
the gUnFold is the function name UnFold: under ;FUNCTIONS ======
UnFold:
WinMenuSelectItem, ahk_class TBandWindow, , Edit, Song Form, Unfold (convert to 1 BIG chorus)
return

so to add menu items use
WinMenuSelectItem, ahk_class TBandWindow, , Edit, Song Form, Unfold (convert to 1 BIG chorus)
Edit is the Main menu, Song Form is the Sub menu, and Unfold is the Function
So type the name identical to the menu name, like "Save Special.." with the dots

To run the script .ahk install https://www.autohotkey.com/ and set AutoHotKey.exe to Run As Administrator if you are running Biab As Administrator.

remove the .mp4 from BB_Quick_Menu_Mixer_AHK_Script.zip.mp4
and unzip
Download BB_Quick_Menu_Mixer_AHK_Script.zip.mp4

I will add a few examples here and post more, you can just paste them in the script in the any Tab under ;BUTTONS ======
and the function part under ;FUNCTIONS ======
Adjust the x,y position to suite
Code:

Gui, Add, Text, x2 y150 cBlue gFileOpen, Open

FileOpen:
  WinMenuSelectItem, ahk_class TBandWindow, , File, Open...
return
========
Gui, Add, Text, x2 y150 cBlue gAudioDriverSettings, Audio Driver Settings

AudioDriverSettings:
  WinMenuSelectItem, ahk_class TBandWindow, , Audio, Audio Driver/Settings...
return
========
Gui, Add, Text, x2 y150 cBlue gPlaySpecialFromBar, Play from Bar #

PlaySpecialFromBar:
  WinMenuSelectItem, ahk_class TBandWindow, , Play, Play Special, Play From Bar #... 
return
========


if you wanted to play from set bar # 13
Code:
PlaySpecialFromBar13:
  WinMenuSelectItem, ahk_class TBandWindow, , Play, Play Special, Play From Bar #... 
Winactivate, ahk_class TxForm
Send,  13
Send,  {Enter}
return


the Winactivate is the name of the current window or dialog you want to focus on, see pic below, you run the WindowSpy.ahk then click the window or dialog you want to send keys to and get it's ahk_class name.
Let me know any menu items or functions you need and I'll try to post them.

Attached picture BB-Quick-Menu.png
Attached File
Attached picture AHK-WinSpy.png
Posted By: Gsus Re: Quick Menus Tool for Biab - 03/25/21 12:19 PM
Thank you very much for sharing an interesting way to interact with this great program.

Regards!
Posted By: Museeker Re: Quick Menus Tool for Biab - 03/25/21 02:01 PM
Hey Pipeline,

I have heard of autoscript before, but that is really an amazing use case you shared with os.
Do you have more "enhancements" up your sleeve? :-)

Cheers
Stefan
Posted By: Pipeline Re: Quick Menus Tool for Biab - 03/25/21 07:04 PM
It's just a little basic one, if you click the Biab Chord Picker Tool link below that is a more advance one.
Posted By: Pipeline Re: Quick Menus Tool for Biab - 03/25/21 09:47 PM
Here are some shortcut keys below you can add to Buttons.

If we want to create
ss2<Enter>
Opens the Recently Played Songs dialog.

Put it under the Tab number and adjust x2 y150 for position, cBlue = color of text

Gui, Add, Text, x2 y150 cBlue gRecentSongs, Recent Songs

then put the function under
;FUNCTIONS =================
RecentSongs:
Winactivate, ahk_class TBandWindow
Send, ss2 + {Enter}
return


If you want to send Ctrl + S
Send, ^s
or Alt + W
Send, !w
or Shift + F1
Send, +{F1}
or Ctrl+Shift+G
^+G
or Win Key
Send, #
See more https://www.autohotkey.com/docs/commands/Send.htm

========================================
SHORTCUT KEY LIST
========================================

Quick-Load Songs and Styles

ss<Enter>
Opens the SongPicker.

ss1<Enter>
Opens the SongPicker.

ss2<Enter>
Opens the Recently Played Songs dialog.

ss3<Enter>
Opens the Favorite Songs dialog.

ss4<Enter>
Opens a song from the disc.

ss5<Enter>
Opens the SongPicker.

ss6<Enter>
Opens the Favorite Folders dialog.

ss7<Enter>
Opens the previous song (alphabetical).

ss8<Enter>
Opens the next song (alphabetical).

ss9<Enter>
Opens a MIDI file.

ss10<Enter>
Opens an audio file.

ss11<Enter>
Opens the Find Song Files dialog.

ss12<Enter>
Opens the song demo for the current style.

ss13<Enter>
Opensa Karaoke file.

ss14<Enter>
Launches the Audio Chord Wizard.

s<Enter>
Opens the StylePicker.

s1<Enter>
Opens the StylePicker.

s2<Enter>
Shows the Best RealStyles list.

s3<Enter>
Opens the Song Titles Brower.

s4<Enter>
Opens the Recently Played Styles dialog.

s5<Enter>
Opens the Favorite Styles dialog.

s6<Enter>
Loads a style from the disc.

s7<Enter>
Loads the previous style (alphabetical).

s8<Enter>
Loads the next style (alphabetical).

s9<Enter>
Loads the song demo for the current style.

s10<Enter>
Plays the audio demo for the current style.


Quick-Open for RealTracks/RealDrums/Loops Dialogs

rt<Enter>
Opens the RealTracks Picker.

rt1<Enter>
Opens the RealTracks Picker.

rt2<Enter>
Opens the RealTracks Settings dialog.

rt3<Enter>
Opens the Select Best All RealTracks dialog.

rt4<Enter>
Opens the Select Best Chording RealTracks dialog.

rt5<Enter>
Opens the Select Best Soloist RealTracks dialog.

rd<Enter>
Opens the RealDrums Picker.

rd1<Enter>
Opens the RealDrums Picker.

rd2<Enter>
Opens the RealDrums Settings dialog.

rd3<Enter>
Opens the RealDrums QuickList dialog.

rl<Enter>
Opens the Pick a Loop dialog.


Muting Parts

Alt+2
Mutes all tracks

Alt+3
Mutes the Bass track

Alt+4
Mutes the Piano track

Alt+5
Mutes the Drums track

Alt+6
Mutes the Guitar track

Alt+7
Mutes the Strings track

Alt+8
Mutes the Melody track

Alt+9
Mutes the Soloist track

Alt+0
Mutes the Thru track


Selecting Parts

Ctrl+2
Selects the Master

Ctrl+3
Selects the Bass track

Ctrl+4
Selects the Piano track

Ctrl+5
Selects the Drums track

Ctrl+6
Selects the Guitar track

Ctrl+7
Selects the Strings track

Ctrl+8
Selects the Melody track

Ctrl+9
Selects the Soloist track

Ctrl+0
Selects the Thru track


Mixer Settings

Ctrl+Shift+Q / W
Decrease/increase current track’s volume by 5.

Ctrl+Shift+E / R
Decrease/increase current track’s panning by 5.

Ctrl+Shift+T / Y
Decrease/increase current track’s reverb by 5.

Ctrl+Alt+Shift+R
Set current track’s volume.

Ctrl+Alt+A
Decrease master volume by 5.

Ctrl+Alt+S
Increase master volume by 5.

Ctrl+Alt+D
Set master volume.

Ctrl+Alt+Shift+Q
Reduce all tracks’ volumes by 5.

Ctrl+Alt+Shift+W
Increase all tracks’ volumes by 5.

Ctrl+Alt+Shift+E
Set all tracks’ volumes.


Looping / Song Navigation Keystrokes

NUMPAD 1 Toggle looping on/off.

NUMPAD 2
Open Loop Section Settings dialog.

Ctrl+NUMPAD 1
Play with last chorus looped.

Ctrl+NUMPAD 2
Play with middle choruses looped.

Ctrl+NUMPAD 3
Play with middle and last choruses looped.

Ctrl+NUMPAD 4
Jump to last chorus.

Ctrl+NUMPAD 5
Jump to ending.

Ctrl+NUMPAD 7
Loop Notation screen.

NUMPAD [DEL]
Advances the notation, lead sheet, and guitar window by one chord (i.e. one group of notes at the same time).

NUMPAD [INS]
Backs up the notation, lead sheet, and guitar window by one chord.



Transpose Settings

Ctrl+Alt+1
Transpose Melody down one octave

Ctrl+Alt+2
Transpose Melody up one octave

Ctrl+Alt+3
Transpose Soloist down one octave

Ctrl+Alt+4
Transpose Soloist up one octave

Ctrl+Alt+5
Transpose down 1 semitone.

Ctrl+Alt+6
Transpose up 1 semitone.

Ctrl+Alt+7
Transpose setting dialog.


Windows

Ctrl+W
Toggle Notation and Chord Sheet windows.

Ctrl+O
Movable Notation window.

Alt+W
Lead Sheet window.

Ctrl+T
Put Notation/Chords at top of screen.

Ctrl+~
Conductor window.

Ctrl+Shift+A
Audio Edit window.

Ctrl+Shift+D
Drum Kit window.

Ctrl+Shift+G
Guitar window.

Ctrl+Shift+J
Ear training window.

Ctrl+Shift+L
Big Lyrics window.

Ctrl+Shift+N
Big Piano window.

Ctrl+Shift+S
Plug-in mode for DAW.

Alt+Shift+L
Practice window.

Ctrl+Alt+Shift+L
Lyric Document window


StyleMaker Hot Keys

F1, Shift+F1, Ctrl+F1
Help

F2
Save style

Alt+F2
Save style as ...

R or F3
Record pattern

<Spacebar> or F4
Play pattern

F8
Play pattern on chord

F10
Edit pattern options

F6 or Shift+F6
Change instrument

Cursor Keys
Move around screen

Alt+F4
Quit the StyleMaker


StyleMaker Drum Screen Hot Keys

F5
Drum alternate notes

Bottom row (ZXCVBNM,. /)
Drum note entry

F6
Time base

F10 or Alt+F4
Exit


More Hot Keys

/ <Enter>
Feature Browser

Spacebar twice or F4
Play song.

Spacebar or Esc
Stop playing song

F1
Help.

Ctrl+F1
Help – Topic Search.

Shift+F1
Help – How To.

Ctrl+R
Record (melody or pattern).

Ctrl+Alt+R
Record from any bar.

F8
Jukebox start/stop.

F2
Save song.

Alt+F2
Save song with patches.

F3 or s6<Enter>
Load song.

Shift+F3 or ss2<Enter>
Load song using favorite song list.

Ctrl+F3 or ss<Enter>
Load song using the Song Picker window.

Alt+F3
Load songs with melodies.

Alt+Shift+F3 or ss4<Enter>
Load song with standard dialog.

Shift+F8 or ss8<Enter>
Load next song (alphabetically by file name).

Ctrl+Shift+F8 or ss7<Enter>
Load previous song (alphabetically by file name).

Alt+Shift+F8 or s8<Enter>
Load next style (in alphabetical order).

Ctrl+Alt+Shift+F8 or s7<Enter>
Load previous style (in alphabetical order).

F7 or ss9<Enter>
Open MIDI file.

F9 or ss4<Enter>
Choose a user style.

Ctrl+F5
Notation – switch to next track

Ctrl+Shift+F5
Notation – switch to previous track

Ctrl+F9 or s<Enter>
Open StylePicker.

Shift+F9 or ss3<Enter>
Select favorite styles.

Alt+F9
Edit user style.

Ctrl+Shift+F9
Edit current style.

Shift+F7
Refresh Melodist or Soloist

Alt+F10
Select Melody Harmony

Ctrl+F10
Favorite Melody Harmonies

Shift+F10
Allow Melody Harmony

Alt+F11
Select Thru Harmony

Ctrl+F11
Favorite Thru Harmonies

Shift+F11
Allow Thru Harmony

Ctrl+Alt+E
Turn song Embellisher on/off.

Ctrl+Alt+I
Import chords from MIDI file.

Ctrl+Alt+Q
Send GM mode on message.

Ctrl+Alt+T
Set tempo.

Ctrl+E
Open the Preferences dialog.

Ctrl+N
Open the Song Settings dialog.

Ctrl+Shift+B
Launch Chord Builder.

Ctrl+Shift+F6
Enable/Disable RealDrums

F5
Edit current bar options.

F6
Save MIDI file.

Alt+C
Open the Copy Chords and/or Melody dialog.

Ctrl+Shift+V
Open the Paste text to Song(s) dialog.

Alt+Shift+T
Auto-generate a title.

Alt+Shift+F
Open the Favorite Folders dialog.

Alt+Shift+S
Save the song to a favorite folder.

Alt+F4
Quit the program.
© PG Music Forums