# Help With Browser Dialogs Please

**URL:** https://forum.highend3d.com/t/help-with-browser-dialogs-please/2640
**Category:** Maya
**Tags:** mel
**Created:** [December 1, 2006, 5:45pm UTC](https://forum.highend3d.com/t/help-with-browser-dialogs-please/2640 "2006-12-01T17:45:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![user\_deleted](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.highend3d.com/u/user_deleted)
#### Post date: [December 1, 2006, 5:45pm UTC](https://forum.highend3d.com/t/help-with-browser-dialogs-please/2640/1 "2006-12-01T17:45:16Z")

</div>

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

---

<div class="post-metadata">

### Author: ![clalan](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@clalan](https://forum.highend3d.com/u/clalan)
#### Post date: [December 2, 2006, 10:01am UTC](https://forum.highend3d.com/t/help-with-browser-dialogs-please/2640/2 "2006-12-02T10:01:38Z")

</div>

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

[http://www.highend3d.com/boards/index.php?showtopic=231564](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.
