Help With Browser Dialogs Please

Hey guys

I have just finished my script QuickImagePlaneSetup.

Now i need to make a simple interface for it.Just three buttons that will execute file browser dialogs.

What i don't know is how to put the result(the location of the chosen image) of the file browser dialog in a variable.

Help out guys

read the thread that was right on the front page of this forum:

http://www.highend3d.com/boards/index.php?showtopic=231564

or checkout the fileBrowser.mel file located in "\scripts\others" under you maya installation directory.

basically when calling fileBrowser you give it a callBack function that it will evaluate when you press the ok button. it also adds the arguments of filename and filetype to that function. so define that callBack function to do wathever you like with the filename.