Ok, I was wondering if there was a way to make a menu like a search bar, and then you type in the name of a subroutine like
SRT>Start Itunes
ExecuteFile>C:\Documents and Settings\Jordan\Desktop\iTunes\iTunes Library.itl,
END>Start Itunes
and it would run that subroutine.. So actually it would be like Start -> Run but MS style and custom made ) Thank you.
Search, Activate srt
Moderators: Dorian (MJT support), JRL
No guarantees that the apps on your computer are in the same locations as the apps on my computer.
Code: Select all
Dialog>Dialog1
Caption=MainMenu Sample
Width=200
Height=50
Top=10
Left=CENTER
MainMenu=Browsers,FireFox(101),IExplorer(102)
MainMenu=Apps,NotePad(201),WordPad(202),Paint(203)
EndDialog>Dialog1
show>Dialog1
Label>Loop
GetDialogAction>Dialog1,res1
If>res1=2
Exit>
EndIf
If>res1=101
Run>C:\Program Files\Mozilla Firefox\FireFox.exe
ResetDialogAction>dialog1
EndIf
If>res1=102
Run>C:\Program Files\Internet Explorer\IExplore.exe
ResetDialogAction>dialog1
EndIf
If>res1=201
Run>NotePad.exe
ResetDialogAction>dialog1
EndIf
If>res1=202
Run>C:\Program Files\Windows NT\Accessories\wordpad.exe
ResetDialogAction>dialog1
EndIf
If>res1=203
Run>%Win_dir%\System32\mspaint.exe
ResetDialogAction>dialog1
EndIf
Wait>0.01
Goto>Loop