home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1991
/
07
/
tbook.scr
< prev
next >
Wrap
Text File
|
1991-03-04
|
649b
|
23 lines
to handle buttonUp
local GrpStr,FileStr,AppStr
ask "Enter the Program Manager group name?"
if it contains "cancel"
break buttonUp
end if
put it into GrpStr
ask "Enter the application's filename?"
if it contains "cancel"
break buttonUp
end if
put it into FileStr
ask "Enter text to display under application's icon?"
if it contains "cancel"
break buttonUp
end if
put it into AppStr
executeRemote "[CreateGroup("&GrpStr&")]" \
application "PROGMAN" topic "PROGMAN"
executeRemote "[AddItem("&FileStr&","&AppStr&")]" \
application "PROGMAN" topic "PROGMAN"
end buttonUp