The box shows me a list of numbers and their corresponding targets. I type in the number that I want to pick and then confirm it by pressing Ok.
Example:
Code: Select all
^+y::
InputBox, num , Choose a Page, 1: Sub Feed`n2: Playlists`n3: Videos`n4: Creator Studio
if ErrorLevel
return
if num = 1
{
Run "https www.youtube.com /feed/subscriptions" Broken Link for safety
}
else if num = 2
{
Run "https www.youtube.com /view_all_playlists" Broken Link for safety
}
else if num = 3
{
Run "https www.youtube.com /my_videos?o=U&ar=2" Broken Link for safety
}
else if num = 4
{
Run "https studio.youtube.com /channel/UC_Fh8kvtkVPkeihBs42jGcA" Broken Link for safety
}
Is something else than an InputBox a better choice?