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

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
New! XPro Styles PAK 7 for Band-in-a-Box 2024 for Mac!

We've just released XPro Styles PAK 7 with 100 brand new RealStyles, plus 50 RealTracks and RealDrums that are sure to delight!

With XPro Styles PAK 7 you can expect 25 rock & pop, 25 jazz, and 25 country styles, as well as 25 of this year's wildcard genre: Celtic!

Here's a small sampling of what XPro Styles PAK 7 has to offer: energetic rock jigs, New Orleans funk, lilting jazz waltzes, fast Celtic punk, uptempo train beats, gritty grunge, intense jazz rock, groovy EDM, soulful R&B, soft singer-songwriter pop, country blues rock, and many more!

Special Pricing! Until September 30, 2024, all the XPro Styles PAKs 1 - 7 are on sale for only $29 ea (Reg. $49 ea)! Supercharge your Band-in-a-Box 2024® with XPro Styles PAK 7! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Watch the XPro Styles PAK 7 Overview & Styles Demos video.

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 18 for Band-in-a-Box 2024 for Mac!

Xtra Styles PAK 18 for Band-in-a-Box version 2024 is here with 200 brand new styles to take for a spin!

Along with 50 new styles each for the rock & pop, jazz, and country genres, we’ve put together a collection of styles using sounds from the SynthMaster plugin!

In this PAK you'll find: dubby reggae grooves, rootsy Americana, LA jazz pop, driving pop rock, mellow electronica, modern jazz fusion, spacey country ballads, Motown shuffles, energetic EDM, and plenty of synth heavy grooves! Xtra Style PAK 18 features these styles and many, many more!

Special Pricing! Until September 30, 2024, all the Xtra Styles PAKs 1 - 18 are on sale for only $29 ea (Reg. $49 ea)! Expand your Band-in-a-Box 2024® library with Xtra Styles PAK 18! Order now!

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

Watch the Xtra Styles PAK 18 Overview & Styles Demos video.

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 18 requires the 2024 UltraPAK/UltraPAK+/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! Xtra Styles PAK 18 for Band-in-a-Box 2024 for Windows!

Xtra Styles PAK 18 for Band-in-a-Box version 2024 is here with 200 brand new styles to take for a spin!

Along with 50 new styles each for the rock & pop, jazz, and country genres, we’ve put together a collection of styles using sounds from the SynthMaster plugin!

In this PAK you'll find: dubby reggae grooves, rootsy Americana, LA jazz pop, driving pop rock, mellow electronica, modern jazz fusion, spacey country ballads, Motown shuffles, energetic EDM, and plenty of synth heavy grooves! Xtra Style PAK 18 features these styles and many, many more!

Special Pricing! Until September 30, 2024, all the Xtra Styles PAKs 1 - 18 are on sale for only $29 ea (Reg. $49 ea)! Expand your Band-in-a-Box 2024® library with Xtra Styles PAK 18! Order now!

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

Watch the Xtra Styles PAK 18 Overview & Styles Demos video.

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 18 requires the 2024 UltraPAK/UltraPAK+/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 7 for Band-in-a-Box 2024 for Windows!

We've just released XPro Styles PAK 7 with 100 brand new RealStyles, plus 50 RealTracks and RealDrums that are sure to delight!

With XPro Styles PAK 7 you can expect 25 rock & pop, 25 jazz, and 25 country styles, as well as 25 of this year's wildcard genre: Celtic!

Here's a small sampling of what XPro Styles PAK 7 has to offer: energetic rock jigs, New Orleans funk, lilting jazz waltzes, fast Celtic punk, uptempo train beats, gritty grunge, intense jazz rock, groovy EDM, soulful R&B, soft singer-songwriter pop, country blues rock, and many more!

Special Pricing! Until September 30, 2024, all the XPro Styles PAKs 1 - 7 are on sale for only $29 ea (Reg. $49 ea)! Supercharge your Band-in-a-Box 2024® with XPro Styles PAK 7! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Watch the XPro Styles PAK 7 Overview & Styles Demos video.

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.

Video - Band-in-a-Box® DAW Plugin Version 6 for Mac®: New Features for Reaper

Band-in-a-Box® 2024 includes built-in specific support for the Reaper® DAW API, allowing direct transfer of Band-in-a-Box® files to/from Reaper tracks, including tiny lossless files of instructions which play audio instantly from disk.

We demonstrate the new Reaper features in the Band-in-a-Box® VST DAW Plugin 6.0 in our video, Band-in-a-Box® DAW Plugin Version 6 for Mac®: New Features for Reaper

Band-in-a-Box® 2024 for Mac® - Update Today!

Already grabbed your copy of Band-in-a-Box® 2024 for Mac®? Head to our Support Page to download build 803 and update your Band-in-a-Box® 2024 installation with the latest version developed by our team!

Learn more & download now.

Band-in-a-Box® 2024 for Mac® Video - Over 50 New Features and Enhancements!

Read all about the 50+ newest features in Band-in-a-Box® 2024 for Mac®, or you can watch our video "Band-in-a-Box® 2024 for Mac®: Over 50 New Features and Enhancements!" to see it in action!

Forum Statistics
Forums65
Topics82,638
Posts747,477
Members38,836
Most Online2,537
Jan 19th, 2020
Newest Members
Dave Doeppel, kminht89, MichelleWoon, samehadaku, Jean Michel D
38,835 Registered Users
Top Posters(30 Days)
MarioD 181
DC Ron 115
rsdean 102
Al-David 100
DrDan 85
Today's Birthdays
Barry Law, mcnach, RAY6INGS, Sudie
Powered by UBB.threads™ PHP Forum Software 7.7.5