jdisme Posted May 13, 2008 Share Posted May 13, 2008 Hey guys, Its me, I was wondering what the flag is for a browse box. (I.E. you click "browse" and you can select files) Link to comment Share on other sites More sharing options...
Pain Posted May 13, 2008 Share Posted May 13, 2008 use FileOpenDialog Link to comment Share on other sites More sharing options...
jdisme Posted May 13, 2008 Author Share Posted May 13, 2008 I dont think thats what I need... Link to comment Share on other sites More sharing options...
zackrspv Posted May 14, 2008 Share Posted May 14, 2008 (edited) Hey guys, Its me, I was wondering what the flag is for a browse box. (I.E. you click "browse" and you can select files)I dont think thats what I need... The guy is right: FileOpenDialog("Select File...", @ScriptDir, "All (*.*)", 0) Right from Help File: $message = "Hold down Ctrl or Shift to choose multiple files." $var = FileOpenDialog($message, @WindowsDir & "\", "Images (*.jpg;*.bmp)", 1 + 4 ) If @error Then MsgBox(4096,"","No File(s) chosen") Else $var = StringReplace($var, "|", @CRLF) MsgBox(4096,"","You chose " & $var) EndIf ; Multiple filter group $message = "Hold down Ctrl or Shift to choose multiple files." $var = FileOpenDialog($message, @WindowsDir & "", "Images (*.jpg;*.bmp)|Videos (*.avi;*.mpg)", 1 + 4 ) If @error Then MsgBox(4096,"","No File(s) chosen") Else $var = StringReplace($var, "|", @CRLF) MsgBox(4096,"","You chose " & $var) EndIf Edited May 14, 2008 by zackrspv -_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now