rachel Posted November 17, 2007 Posted November 17, 2007 (edited) CODE$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) IniWrite("cfg.ini", "aaaa", "bbbb", $var) ;MsgBox(4096,"","You chose " & $var) EndIf [ IniWrite ] cut no ice Edited November 17, 2007 by rachel
Developers Jos Posted November 17, 2007 Developers Posted November 17, 2007 change this line: IniWrite("cfg.ini", "aaaa", "bbbb", $var) to IniWrite(@scriptdir & "\cfg.ini", "aaaa", "bbbb", $var) Because FileOpenDialog() is changing the WorkingDirectory. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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