Dialogs

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Pablo
Posts: 554
Joined: Sun Feb 22, 2004 2:59 am

Dialogs

Post by Pablo » Wed Mar 10, 2004 7:20 pm

Hi, can somebody give me a brief description of the standard dialogs and how to call them from scripts?

In particular, how do I present a simple form that has a textbox where the user can enter a value? (and how do I store the answer in a variable?).

Thanks,

Pablo

Lowlander
Posts: 46096
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

inputbox

Post by Lowlander » Wed Mar 10, 2004 7:29 pm

Code: Select all

discno = inputbox("Enter disc number") 
would probably do the job. discno is the variable in this case where the input from the user is stored.

Its from the script on this page:
http://www.songs-db.com/forum/viewtopic.php?t=1362
Lowlander (MediaMonkey user since 2003)

Pablo
Posts: 554
Joined: Sun Feb 22, 2004 2:59 am

Post by Pablo » Wed Mar 10, 2004 8:02 pm

Thanks, I figured it out by looking at a VB reference. Is there any way to have more complex interaction? (for instance having the user fill two textboxes at once).

Pablo

Lowlander
Posts: 46096
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Don't think so

Post by Lowlander » Wed Mar 10, 2004 8:55 pm

I don't believe so as you can't create interfaces. So you are stuck to popping up multiple inputboxes I'm afraid.
Lowlander (MediaMonkey user since 2003)

Post Reply