eternalcold
Joined: 12 Jun 2008 Posts: 8
|
Posted: Thu Oct 15, 2009 4:17 am Post subject: trying to make a desktop search for guitar tabs |
|
|
Hey everyone, i am trying to make a desktop search for guitar tabs. However, i have gotten the gui and menu down, yet i am not sure where to head next.. I dont know how to get the items selected to turn into a variable. here is what i have so far
| Code: | Gui, Add, Picture, x-8 y-8 w840 h440 , %A_WorkingDir%\background.jpg
Gui, Add, Picture, x2 y2 w530 h80 , %A_WorkingDir%\ug_logo.gif
Gui, Add, Edit, x12 y102 w130 h20 vBand, Band Name
Gui, Add, Edit, x12 y142 w130 h20 vSong, Song Name
Gui, Add, Button, x542 y12 w100 h50 , Search
Gui, Add, ListBox, x152 y92 w90 h90 multi vtype1, Type | -Tab | -Bass Tab | -Chords | -PowerTab | -Guitar Pro| -Video
Lesson| -Drum Tab
Gui, Add, ListBox, x252 y92 w90 h90 multi, Type 2 | -Whole Song | -Intro | -Solo | -Album
Gui, Add, ListBox, x352 y92 w90 h90 multi, Rating | -5 Stars| -4 Stars| -3 Stars| -2 Stars| -1 Star
Gui, Add, ListBox, x452 y92 w90 h90 multi, Level | -Novice | -Intermediate | -Advanced
Gui, Add, ListBox, x552 y92 w90 h90 multi, Tuning | -Standard | -Half-Step D| -B Tuning| -C Tuning| -D Tuning| -Drop A| -
Drop A#| -Drop B| -Drop C| -Drop C#| -Drop D| -Open C| -Open D| -Open E| -Open G|
Gui, Show, x234 y187 h191 w656, Ultimate-Guitar Tab Search
Return
ButtonSearch:
Gui, Submit
msgbox, , Selected, you selected %type1%
return
GuiClose:
ExitApp |
Think you could give me a sample code to work with or point me in the right direction? (Sorry if this is a newb concept, i just couldnt get it from the help file.)
[Title edited. Please write descriptive titles for your topics. ~jaco0646] |
|