Previous Thread
Index
Next Thread
Print Thread
Go To
#678258 10/18/21 01:25 PM
Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
Scripting will allow you to create a single action or a GUI.
Hopefully this should be added to the Biab menu "Scripts"
so any AHK scripts in \bb\Scripts will shown in the menu and run from there with one click.
Any ahk scripts in sub folders will show in sub menus allowing you to put them in categories.

To get started Download https://www.autohotkey.com/
If you have Biab running As Administrator go to the install folder
C:\Program Files\AutoHotkey and set AutoHotkey.exe to Run As Administrator.

Here is a simple basic action to set the Tempo
Code:
#SingleInstance Force

winactivate, ahk_class TBandWindow
Send, ^!t

ExitApp
copy and paste into Notepad and save as Edit Tempo.ahk

winactivate will focus on the Biab window (ahk_class TBandWindow)
you get the window or dialog name by running WindowSpy.ahk and clicking on the window or dialog you want to focus on and it will give you the ahk_class name.

Send will send a keystroke or combination ^!t is ctrl+alt+t

^ = ctrl
+ = shift
! = alt
# = win

If we want to set the Tempo to 80bpm
Code:
#SingleInstance Force

winactivate, ahk_class TBandWindow
Send, ^!t
Send, 80
Send, {Enter}

ExitApp

{Enter} will send enter key to enter amount and close dialog.

To access menus we use WinMenuSelectItem
Code:
#SingleInstance Force

WinMenuSelectItem, ahk_class TBandWindow, , Edit, Insert Bar(s)...

ExitApp

The name needs to be exactly the same as in the actual menu.

Sleep will give a delay to give Biab time to run a function before sending another command.
Sleep, 1000 = 1 sec delay
so you can put that in the line before a Send to give Biab a bit of time to do what it needs to do.

Some Dialogs will allow short keys so if you press alt key they will show an undersccore for the shortcut key, so we
Send, !d
To navigate you can Send, {Tab} (this will remove Harmony)
Code:
#SingleInstance Force
WinMenuSelectItem, ahk_class TBandWindow, , Harmony, Melody Harmony (select)...
Sleep, 500
winactivate, ahk_class TSELECTMELODYHARMONYDIALOG
Send, {Tab 7}
Send, {Enter}

ExitApp

Send, {Tab 7} = send Tab 7 times
Send, +{Tab 3} = send shift+tab 3 times

To put a pause or message box with Ok button
MsgBox, Text to Show

Here's a simple always on top GUI with 1 button.
You can add more buttons, each button (gAction01) will have a function (Action01: ???? Return) below:

Code:
#NoEnv
#SingleInstance Force

Gui, +AlwaysOnTop

Gui, Font, S10 cBlue Bold, Arial
Gui, Add, Text, x10 y10, Some Text

Gui, Add, Button, x10 y30 h38 w130 gAction01, Name of Button

Gui Show, w300 h300, GUI Window Name

Return


Action01:
winactivate, ahk_class TBandWindow
Send, ^!t
Send, 80
Send, {Enter}

Return

GuiClose:
GuiEscape:
ExitApp


There is no end of info for doing almost anything, let me know what action you need or just do an internet search: autohotkey "what I want to do"

Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
You can create your own custom floating menu
BB21-Menu-Clone-ENG.ahk.mp4
Instead of MenuHandler change it to the function name Action22 and add that function below

Action22:


Return


Previous Thread
Next Thread
Go To

Moderated by  Andrew - PG Music, PeterGannon 

Link Copied to Clipboard
ChatPG

Ask sales and support questions about Band-in-a-Box using natural language.

ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

PG Music News
Holiday Weekend Hours

Our Customer Service hours this weekend are as follows:

Friday, April 18: 8:00 - 4:00
Saturday, April 19: closed
Sunday, April 20: closed
Monday, April 21: Regular hours

Thank you!

Band-in-a-Box 2025 French Version is Here!

Bonjour à tous,

Band-in-a-Box® 2025 pour Windows est disponible en Français.
Le téléchargement se fait à partir du site PG Music

Pour ceux qui auraient déjà acheté la version 2025 de Band-in-a-Box (et qui donc ont une version anglaise), il est possible de "franciser" cette version avec les patchs suivants:

BIAB 2025 - francisation
RealBand 2025 - francisation

Voilà, enjoy!

Band-in-a-Box 2025 German Version is Here!

Band-in-a-Box 2025 für Windows Deutsch ist verfügbar!

Die deutsche Version Band-in-a-Box® 2025 für Windows ist ab sofort verfügbar!

Alle die bereits die englische Version von Band-in-a-Box und RealBand 2024 installiert haben, finden hier die Installationsdateien für das Sprachenupdate:

https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025.exe
https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025RB.exe

Update Your Band-in-a-Box® 2025 to Build 1128 for Windows Today!

Already using Band-in-a-Box 2025 for Windows®? Download Build 1128 now from our Support Page to enjoy the latest enhancements and improvements from our team.

Stay up to date—get the latest update now!

Update to RealBand® 2025 Build 5 Windows Today!

Already using RealBand® 2025 for Windows®? Download Build 5 now from our Support Page to ensure you have the latest enhancements and improvements from our team.

Get the latest update today!

PowerTracks Pro Audio 2025 for Windows is Here!

PowerTracks Pro Audio 2025 is here! This new version introduces many features, including VST3 support, the ability to load or import a .FLAC file, a reset option for track height in the Tracks window, a taller Timeline on the Notation window toolbar, new freeze buttons in the Tracks window, three toolbar modes (two rows, single row, and none), the improved Select Patch dialog with text-based search and numeric patch display, a new button in the DirectX/VST window to copy an effects group, and more!

First-time packages start at only $49. Already a PowerTracks Pro Audio user? Upgrade for as little as $29!

www.pgmusic.com/powertracks.htm

Video: Summary of the New Band-in-a-Box® App for iOS®

Join Tobin as he takes you on a tour of the new Band-in-a-Box® app for iOS®! Designed for musicians, singer-songwriters, and educators, this powerful tool lets you create, play, and transfer songs effortlessly on your iPhone® or iPad®—anytime, anywhere.

Band-in-a-Box® for iOS® :Summary video.

Check out the forum post for more information.

Forum Statistics
Forums58
Topics83,900
Posts771,975
Members39,486
Most Online25,754
Jan 24th, 2025
Newest Members
DabbyPila, Wealth Raymond, DP11user, nikolauskeanu, The Golden Ravens
39,485 Registered Users
Top Posters(30 Days)
MarioD 156
DC Ron 104
rsdean 97
WaoBand 81
Today's Birthdays
Jed, Richard Gibbons, UZER
Powered by UBB.threads™ PHP Forum Software 7.7.5