Previous Thread
Index
Next Thread
Print Thread
Go To
Band-in-a-Box for Windows
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
Rather than navigating menus you can add the most used items into the BB Quick Menu.
If you are running Biab As Administrator:
To run script only .ahk install https://www.autohotkey.com/ and set AutoHotKey.exe to Run As Administrator

Let me know what actions you need and I will give you the function code.
You have the text name up the top that runs the associated function below.
You can change the font size and color as well as the background color.
The script can be compiled to an exe when you have all the functions you need.

Copy the code and paste into Notepad then save as BB Quick Menu.ahk
Code:
Gui, +AlwaysOnTop

;Gui, Font, underline
Gui, Font, bold
Gui, Font, s9
Gui, Add, Text, cBlue gInsertBars4, Insert 4 Bars
Gui, Add, Text, cRed gDeleteBars4, Delete 4 Bars
Gui, Add, Text, cFuchsia gUnFold, Unfold
Gui, Add, Text, cGreen gFloatingMixerWindow, Floating Mixer Window
Gui, Add, Text, cBlack gPreferences, Preferences

Gui Color, 0xC0C0C0 
Gui, Show, w200 h200 Na

return

;FUNCTIONS

InsertBars4:
Winactivate,ahk_class TBandWindow
IfWinNotExist ahk_class TPOPSTRINGDIALOG ; only if the bar dialog is not already open
{ 
    WinMenuSelectItem, ahk_class TBandWindow, , Edit, Insert Bar(s)...
    WinSet, AlwaysOnTop, On, ahk_class TPOPSTRINGDIALOG
    Winactivate, ahk_class TPOPSTRINGDIALOG
    Sleep, 50
    SendInput, {4}
    SendInput, {Enter}
}
return

DeleteBars4:
Winactivate,ahk_class TBandWindow
IfWinNotExist ahk_class TPOPSTRINGDIALOG
{
    WinMenuSelectItem, ahk_class TBandWindow, , Edit, Delete Bar(s)...
    WinSet, AlwaysOnTop, On, ahk_class TPOPSTRINGDIALOG
    Winactivate, ahk_class TPOPSTRINGDIALOG
    Sleep, 50
    SendInput, {4}
    SendInput, {Enter}
}
return

UnFold:
  WinMenuSelectItem, ahk_class TBandWindow, , Edit, Song Form, Unfold (convert to 1 BIG chorus)
return

FloatingMixerWindow:
  WinMenuSelectItem, ahk_class TBandWindow, , Window, Floating Mixer Window
return

Preferences:
Winactivate,ahk_class TBandWindow
IfWinNotExist ahk_class TMISCDIALOG ; only if the Preferences dialog is not already open
{ 
    WinMenuSelectItem, ahk_class TBandWindow, , Options, Preferences...
    WinSet, AlwaysOnTop, On, ahk_class TMISCDIALOG
    Winactivate, ahk_class TMISCDIALOG
}
  
return



GuiClose:
GuiEscape:
ExitApp

Attached Files (Click to download or enlarge) (Only available when you are logged in)
BB-Quick-Menu.gif (328.01 KB, 71 downloads)
Band-in-a-Box for Windows
Joined: Jan 2001
Posts: 878
J
Expert
Offline
Expert
J
Joined: Jan 2001
Posts: 878
Pipeline:

Is there a way to code the following key strokes that I use a lot of times?

It has to do with changing song folders as I have quite a few of them.

Here are my key strokes that I do with the mouse for scenario #1 which is when I am opening up songs in the Home Folder and want to go to another folder but not change the folder I am going to, to the home folder.

1. Song
2. Change
3. Choose Folder
4. Click the > next to the hard drive to open up the folder tree

jcland


BIAB2024
Windows 10 Pro
WA6NCB
Band-in-a-Box for Windows
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
Try this:
Top
Code:
Gui, Add, Text, cBlack gSongFolderChoose, Choose Song Folder

Function
Code:
SongFolderChoose:
Winactivate, ahk_class TBandWindow
Send, ^{F3}
WinWait, ahk_class TSongzDialog
Winactivate, ahk_class TSongzDialog
CoordMode, Mouse, Relative
MouseClick, left, 50, 105
Send, {DOWN 6}
Send, {Enter}
return

Band-in-a-Box for Windows
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
This one has Tabs, just put your text under the tab you want it on,
Gui, Tab, 1
here

Gui, Tab, 2
here

Gui, Tab, 3
or here

and as usual all the function at the bottom.

This will adjust the vertical size 180:
Gui, Add, Tab, x2 y180 h20 w200 AltSubmit gTab vTab

Code
Click to reveal..

Code:
;Insert Color here like HEX 00C222
TabColors_Tab1=C0C0C0
TabColors_Tab2=C29200
TabColors_Tab3=000000

Gui, +AlwaysOnTop


Gui, Tab, 1
;Gui, Font, underline
Gui, Font, bold
Gui, Font, s9
Gui, Add, Text, x2 y10 cBlue gInsertBars4, Insert 4 Bars
Gui, Add, Text, x2 y30 cRed gDeleteBars4, Delete 4 Bars
Gui, Add, Text, x2 y50 cFuchsia gUnFold, Unfold
Gui, Add, Text, x2 y70 cGreen gFloatingMixerWindow, Floating Mixer Window
Gui, Add, Text, x2 y90 cBlack gSongFolderChoose, Choose Song Folder
Gui, Add, Text, x2 y110 cBlack gPreferences, Preferences


Gui, Tab, 2
Gui, Add, Text, x2 y10 cBlue gAnotherFunction, Another function



Gui, Tab, 3
Gui, Add, Text, x2 y10 cYellow gAnotherFunction, Another function




Gui, Add, Tab, x2 y180 h20 w200 AltSubmit gTab vTab
	, 1|2|3
	Gosub, Tab
Gui, Show, , BB Quick Menu
;Gui Color, 0xC0C0C0 


return

Tab:
GuiControlGet, Tab
Gui, Color, % TabColors_Tab%Tab%
return



InsertBars4:
Winactivate,ahk_class TBandWindow
IfWinNotExist ahk_class TPOPSTRINGDIALOG ; only if the bar dialog is not already open
{ 
    WinMenuSelectItem, ahk_class TBandWindow, , Edit, Insert Bar(s)...
    WinSet, AlwaysOnTop, On, ahk_class TPOPSTRINGDIALOG
    Winactivate, ahk_class TPOPSTRINGDIALOG
    Sleep, 50
    SendInput, {4}
    SendInput, {Enter}
}
return

DeleteBars4:
Winactivate,ahk_class TBandWindow
IfWinNotExist ahk_class TPOPSTRINGDIALOG
{
    WinMenuSelectItem, ahk_class TBandWindow, , Edit, Delete Bar(s)...
    WinSet, AlwaysOnTop, On, ahk_class TPOPSTRINGDIALOG
    Winactivate, ahk_class TPOPSTRINGDIALOG
    Sleep, 50
    SendInput, {4}
    SendInput, {Enter}
}
return

UnFold:
  WinMenuSelectItem, ahk_class TBandWindow, , Edit, Song Form, Unfold (convert to 1 BIG chorus)
return

FloatingMixerWindow:
  WinMenuSelectItem, ahk_class TBandWindow, , Window, Floating Mixer Window
return

SongFolderChoose:
Winactivate, ahk_class TBandWindow
Send, ^{F3}
WinWait, ahk_class TSongzDialog
Winactivate, ahk_class TSongzDialog
CoordMode, Mouse, Relative
MouseClick, left, 50, 105
Send, {DOWN 6}
Send, {Enter}
return

Preferences:
Winactivate,ahk_class TBandWindow
IfWinNotExist ahk_class TMISCDIALOG ; only if the Preferences dialog is not already open
{ 
    WinMenuSelectItem, ahk_class TBandWindow, , Options, Preferences...
    WinSet, AlwaysOnTop, On, ahk_class TMISCDIALOG
    Winactivate, ahk_class TMISCDIALOG
}
  
return


AnotherFunction:
Winactivate,ahk_class TBandWindow
IfWinNotExist ahk_class TMISCDIALOG ; only if the Preferences dialog is not already open
{ 
    WinMenuSelectItem, ahk_class TBandWindow, , Options, Preferences...
    WinSet, AlwaysOnTop, On, ahk_class TMISCDIALOG
    Winactivate, ahk_class TMISCDIALOG
}
  
return





GuiClose:
GuiEscape:
ExitApp

Attached Files (Click to download or enlarge) (Only available when you are logged in)
BB-Quick-Menu2.gif (135.43 KB, 30 downloads)
Band-in-a-Box for Windows
Joined: Dec 2006
Posts: 1,574
L
Expert
Offline
Expert
L
Joined: Dec 2006
Posts: 1,574
Thanks Pipeline. I've downloaded the software to have a play around with. See you on the dark side....


Windows 10 Home 20H2 Build 19042.487
BIAB 2021 (Build 818)
Intel(R) Core(TM), i3-4160, CPU @3.60 GHz RAM 16 GB, 64 Bit X64-based processor
Zoom UAC-2 (USB 3 interface-built in midi)
VoiceLive 3 Extreme, Sputnik Valve Condenser Mic
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
Update Your PowerTracks Pro Audio 2024 Today!

Add updated printing options, enhanced tracks settings, smoother use of MGU and SGU (BB files) within PowerTracks, and more with the latest PowerTracks Pro Audio 2024 update!

Learn more about this free update for PowerTracks Pro Audio & download it at www.pgmusic.com/support_windows_pt.htm#2024_5

The Newest RealBand 2024 Update is Here!

The newest RealBand 2024 Build 5 update is now available!

Download and install this to your RealBand 2024 for updated print options, streamlined loading and saving of .SGU & MGU (BB) files, and to add a number of program adjustments that address user-reported bugs and concerns.

This free update is available to all RealBand 2024 users. To learn more about this update and download it, head to www.pgmusic.com/support.realband.htm#20245

The Band-in-a-Box® Flash Drive Backup Option

Today (April 5) is National Flash Drive Day!

Did you know... not only can you download your Band-in-a-Box® Pro, MegaPAK, or PlusPAK purchase - you can also choose to add a flash drive backup copy with the installation files for only $15? It even comes with a Band-in-a-Box® keychain!

For the larger Band-in-a-Box® packages (UltraPAK, UltraPAK+, Audiophile Edition), the hard drive backup copy is available for only $25. This will include a preinstalled and ready to use program, along with your installation files.

Backup copies are offered during the checkout process on our website.

Already purchased your e-delivery version, and now you wish you had a backup copy? It's not too late! If your purchase was for the current version of Band-in-a-Box®, you can still reach out to our team directly to place your backup copy order!

Note: the Band-in-a-Box® keychain is only included with flash drive backup copies, and cannot be purchased separately.

Handy flash drive tip: Always try plugging in a USB device the wrong way first? If your flash drive (or other USB plug) doesn't have a symbol to indicate which way is up, look for the side with a seam on the metal connector (it only has a line across one side) - that's the side that either faces down or to the left, depending on your port placement.

Update your Band-in-a-Box® 2024 for Windows® Today!

Update your Band-in-a-Box® 2024 for Windows for free with build 1111!

With this update, there's more control when saving images from the Print Preview window, we've added defaults to the MultiPicker for sorting and font size, updated printing options, updated RealTracks and other content, and addressed user-reported issues with the StylePicker, MIDI Soloists, key signature changes, and more!

Learn more about this free update for Band-in-a-Box® 2024 for Windows at www.pgmusic.com/support_windowsupdates.htm#1111

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."

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!

Forum Statistics
Forums66
Topics81,556
Posts734,393
Members38,490
Most Online2,537
Jan 19th, 2020
Newest Members
michel vermeulen, Mikanh132, ABE, Nancy Gochnauer, Frank G
38,489 Registered Users
Top Posters(30 Days)
MarioD 184
DC Ron 109
dcuny 98
Today's Birthdays
IAN WILLIAMS, larochep
Powered by UBB.threads™ PHP Forum Software 7.7.5