Previous Thread
Index
Next Thread
Print Thread
Go To
#678258 10/18/21 12: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
Band-in-a-Box 2025 for Windows Videos

With the launch of Band-in-a-Box® 2025 for Windows, we're adding new videos to our YouTube channel. We'll also share them here once they are published so you can easily find all the Band-in-a-Box® 2025 and new Add-on videos in one place!

Whether it's a summary of the new features, demonstrations of the 202 new RealTracks, new XPro Styles PAK 8, or Xtra Styles PAKs 18, information on the 2025 49-PAK, or detailed tutorials for other Band-in-a-Box® 2025 features, we have you covered!

Reference this forum post for One-Stop Shopping of our Band-in-a-Box® 2025 Videos - we will be updating this post as more videos are added!

Band-in-a-Box 2025 for Windows is Here!

Band-in-a-Box® 2025 for Windows is here, packed with major new features and an incredible collection of available new content! This includes 202 RealTracks (in Sets 449-467), plus 20 bonus Unreleased RealTracks in the 2025 49-PAK. There are new RealStyles, MIDI SuperTracks, Instrumental Studies, “Songs with Vocals” Artist Performance Sets, Playable RealTracks Set 4, two new sets of “RealDrums Stems,” XPro Styles PAK 8, Xtra Styles PAK 19, and more!

Special Offers
Upgrade to Band-in-a-Box® 2025 with savings of up to 50% on most upgrade packages during our special—available until December 31, 2024! Visit our Band-in-a-Box® packages page for all the purchase options available.

2025 Free Bonus PAK & 49-PAK Add-ons
We've packed our Free Bonus PAK & 49-PAK
with some incredible Add-ons! The Free Bonus PAK is automatically included with most Band-in-a-Box® for Windows 2025 packages, but for even more Add-ons (including 20 Unreleased RealTracks!) upgrade to the 2025 49-PAK for only $49. You can see the full lists of items in each package, and listen to demos here.

If you have any questions, feel free to connect with us directly—we’re here to help!

New! Xtra Styles PAK 19 for Band-in-a-Box 2024 and Higher for Windows!

Xtra Styles PAK 19 for Windows & Mac Band-in-a-Box version 2024 (and higher) is here with 200 brand new RealStyles!

We’ve got 200 new styles coming your way spread across the rock & pop, jazz, and country genres as well as the second iteration of our Blues volume!

In this PAK you'll find: soft singer-songwriter pop, New Orleans grooves, lilting country waltzes, tight ‘n’ groovy funk, garage punk, smooth soul, gospel jazz, up-tempo train grooves, and more variations on the blues than you’ll know what to do with! Xtra Style PAK 19 features these styles and many, many more!

All the Xtra Styles PAKs 1 - 19 are on special for only $29 each (reg $49), or get all 19 PAKs for $199 (reg $399)! Order now!

Learn more and listen to demos of the Xtra Styles PAK 19.

Video: Xtra Styles PAK 19 Overview & Styles Demos: Watch now!

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 19 requires the 2024 or higher UltraPAK, UltraPAK+, or Audiophile Edition. They will not work with the Pro or MegaPAK version because they need the RealTracks from the UltraPAK, UltraPAK+, or Audiophile Edition.

New! XPro Styles PAK 8 for Band-in-a-Box 2024 and higher for Windows!

We've just released XPro Styles PAK 8 for Windows & Mac Band-in-a-Box version 2024 (and higher) with 100 brand new RealStyles, plus 32 RealTracks/RealDrums!

With XPro Styles PAK 8 there are the usual 75 styles spread across the rock & pop, jazz, and country genres (25 styles each), as well as 25 styles utilizing world music instruments, bringing the total to an even 100.

Here’s a sample of what XPro Styles PAK 8 has to offer: 12-8 country-rock ballads, cool soul-jazz, easy listening Americana, hip-hop beats, Latin jazz-fusion, classic rock, electronic dance music, heavy modern-jazz, charming indie-folk, and even some experimental ‘60s rock! Order’s up and hot to go!

Special Pricing! Until December 31, 2024, all the XPro Styles PAKs 1 - 8 are on sale for only $29 ea (Reg. $49 ea), or get them all in the XPro Styles PAK Bundle for only $149 (reg. $299)! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Video: XPro Styles PAK 8 Overview & Styles Demos: Watch now!

XPro Styles PAKs require Band-in-a-Box® 2024 or higher and are compatible with ANY package, including the Pro, MegaPAK, UltraPAK, UltraPAK+, and Audiophile Edition.

New! Xtra Styles PAK 19 for Band-in-a-Box 2024 for Mac!

Xtra Styles PAK 19 for Mac & Windows Band-in-a-Box version 2024 (and higher) is here with 200 brand new RealStyles!

We’ve got 200 new styles coming your way spread across the rock & pop, jazz, and country genres as well as the second iteration of our Blues volume!

In this PAK you'll find: soft singer-songwriter pop, New Orleans grooves, lilting country waltzes, tight ‘n’ groovy funk, garage punk, smooth soul, gospel jazz, up-tempo train grooves, and more variations on the blues than you’ll know what to do with! Xtra Style PAK 19 features these styles and many, many more!

All the Xtra Styles PAKs 1 - 19 are on special for only $29 each (reg $49), or get all 19 PAKs for $199 (reg $399)! Order now!

Learn more and listen to demos of Xtra Styles PAK 19

Video: Xtra Styles PAK 19 Overview & Styles Demos: Watch now!

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 19 requires the 2024 or higher UltraPAK, UltraPAK+, or Audiophile Edition. They will not work with the Pro or MegaPAK version because they need the RealTracks from the UltraPAK, UltraPAK+, or Audiophile Edition.

New! XPro Styles PAK 8 for Band-in-a-Box 2024 for Mac!

We've just released XPro Styles PAK 8 for Mac & Windows Band-in-a-Box version 2024 (and higher) with 100 brand new RealStyles, plus 32 RealTracks/RealDrums!

With XPro Styles PAK 8 there are the usual 75 styles spread across the rock & pop, jazz, and country genres (25 styles each), as well as 25 styles utilizing world music instruments, bringing the total to an even 100.

Here’s a sample of what XPro Styles PAK 8 has to offer: 12-8 country-rock ballads, cool soul-jazz, easy listening Americana, hip-hop beats, Latin jazz-fusion, classic rock, electronic dance music, heavy modern-jazz, charming indie-folk, and even some experimental ‘60s rock! Order’s up and hot to go!

Special Pricing! Until December 31, 2024, all the XPro Styles PAKs 1 - 8 are on sale for only $29 ea (Reg. $49 ea), or get them all in the XPro Styles PAK Bundle for only $149 (reg. $299)! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Video: XPro Styles PAK 8 Overview & Styles Demos: Watch now!

XPro Styles PAKs require Band-in-a-Box® 2024 or higher and are compatible with ANY package, including the Pro, MegaPAK, UltraPAK, UltraPAK+, and Audiophile Edition.

Generate Lyrics for your Band-in-a-Box songs with LyricLab!

Need some lyrics to complete your Band-in-a-Box song? LyricLab is here to help!

LyricLab (by Joanne Cooper) is an AI-powered tool designed to quickly create lyrics and chords to fit your music. Just enter a rough idea of your lyrics, and let the AI bring them to life. Once you're happy with the results, simply import the LyricLab file into Band-in-a-Box® 2024 or newer. From there, you can pick your style and generate melodies to match your song’s chords!

Learn more about LyricLab here!

Watch the video.


Forum Statistics
Forums65
Topics83,294
Posts756,386
Members39,082
Most Online3,932
Nov 19th, 2024
Newest Members
mtp, ibumohd, fildekoss, NunoFerrao, Mikey20485
39,082 Registered Users
Top Posters(30 Days)
jpettit 285
DrDan 183
Rob Helms 160
MarioD 143
Noel96 133
rharv 120
Today's Birthdays
OthniJavier, RADIODIRECT
Powered by UBB.threads™ PHP Forum Software 7.7.5