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
Band-in-a-Box® 2024 Review: 4.75 out of 5 Stars!

If you're looking for a in-depth review of the newest Band-in-a-Box® 2024 for Windows version, you'll definitely find it with Sound-Guy's latest review, Band-in-a-Box® 2024 for Windows Review: Incredible new capabilities to experiment, compose, arrange and mix songs.

A few excerpts:
"The Tracks view is possibly the single most powerful addition in 2024 and opens up a new way to edit and generate accompaniments. Combined with the new MultiPicker Library Window, it makes BIAB nearly perfect as an 'intelligent' composer/arranger program."

"MIDI SuperTracks partial generation showing six variations – each time the section is generated it can be instantly auditioned, re-generated or backed out to a previous generation – and you can do this with any track type. This is MAJOR! This takes musical experimentation and honing an arrangement to a new level, and faster than ever."

"Band in a Box continues to be an expansive musical tool-set for both novice and experienced musicians to experiment, compose, arrange and mix songs, as well as an extensive educational resource. It is huge, with hundreds of functions, more than any one person is likely to ever use. Yet, so is any DAW that I have used. BIAB can do some things that no DAW does, and this year BIAB has more DAW-like functions than ever."

Happy Easter! Holiday Hours...

2024 is well underway - it's already Easter Weekend!

Our Customer Service hours this weekend are:

Friday, March 29: 8-4
Saturday, March 30: 8-4
Sunday, March 31: closed

Regular hours resume Monday, April 1st - no joke!

Convenient Ways to Listen to Band-in-a-Box® Songs Created by Program Users!

The User Showcase Forum is an excellent place to share your Band-in-a-Box® songs and listen to songs other program users are creating!

There are other places you can listen to these songs too! Visit our User Showcase page to sort by genre, artist (forum name), song title, and date - each listing will direct you to the forum post for that song.

If you'd rather listen to these songs in one place, head to our Band-in-a-Box® Radio, where you'll have the option to select the genre playlist for your listening pleasure. This page has SoundCloud built in, so it won't redirect you. We've also added the link to the Artists SoundCloud page here, and a link to their forum post.

We hope you find some inspiration from this amazing collection of User Showcase Songs!

Congratulations to the 2023 User Showcase Award Winners!

We've just announced the 2023 User Showcase Award Winners!

There are 45 winners, each receiving a Band-in-a-Box 2024 UltraPAK! Read the official announcement to see if you've won.

Our User Showcase Forum receives more than 50 posts per day, with people sharing their Band-in-a-Box songs and providing feedback for other songs posted.

Thank you to everyone who has contributed!

Video: Volume Automation in Band-in-a-Box® 2024 for Windows®

We've created a video to help you learn more about the Volume Automation options in Band-in-a-Box® 2024 for Windows.

Band-in-a-Box® 2024: Volume Automation

www.pgmusic.com/manuals/bbw2024full/chapter11.htm#volume-automation

Video: Audio Input Monitoring with Band-in-a-Box® 2024 for Windows®

We've created this short video to explain Audio Input Monitoring within Band-in-a-Box® 2024, and included some tips & troubleshooting details too!

Band-in-a-Box® 2024: Audio Input Monitoring

3:17: Tips
5:10: Troubleshooting

www.pgmusic.com/manuals/bbw2024full/chapter11.htm#audio-input-monitoring

Video: Enhanced Melodists in Band-in-a-Box® 2024 for Windows®!

We've enhanced the Melodists feature included in Band-in-a-Box® 2024 for Windows!

Access the Melodist feature by pressing F7 in the program to open the new MultiPicker Library and locate the [Melodist] tab.

You can now generate a melody on any track in the program - very handy! Plus, you select how much of the melody you want generated - specify a range, or apply it to the whole track.

See the Melodist in action with our video, Band-in-a-Box® 2024: The Melodist Window.

Learn even more about the enhancements to the Melodist feature in Band-in-a-Box® 2024 for Windows at www.pgmusic.com/manuals/bbw2024upgrade/chapter3.htm#enhanced-melodist

Forum Statistics
Forums66
Topics81,398
Posts732,548
Members38,442
Most Online2,537
Jan 19th, 2020
Newest Members
danielsk, Mark Morgan, zagrajbarke, Ernest J, Izzy
38,442 Registered Users
Top Posters(30 Days)
MarioD 199
Al-David 133
DC Ron 115
rsdean 85
dcuny 83
Today's Birthdays
(charlie), WobblyGstring
Powered by UBB.threads™ PHP Forum Software 7.7.5