HELP PLEASE using open dialog in dx scripts
from
WinCustomize Forums
I am trying to create an mp3 player alarm clock widget but i dont know how to use an open dialog box in the dx develeper.
I have this: -
desktopx.Object("ObjectName").States("StateName").Sound = system.FileOpenDialog("Wake Up Tune?","","C:\My Music","MP3 Files|*.mp3,0").FileName
and have tried this: -
desktopx.Object("ObjectName").States("StateName").Sound = system.FileOpenDialog("Wake Up Tune?","","C:\My Music","MP3 Files|*.mp3,0")
but both give me this error mesage: -
"Wrong number of arguments or invalid property assignment: 'system.FileOpenDialog'"
any help would be much apreciated
I have this: -
desktopx.Object("ObjectName").States("StateName").Sound = system.FileOpenDialog("Wake Up Tune?","","C:\My Music","MP3 Files|*.mp3,0").FileName
and have tried this: -
desktopx.Object("ObjectName").States("StateName").Sound = system.FileOpenDialog("Wake Up Tune?","","C:\My Music","MP3 Files|*.mp3,0")
but both give me this error mesage: -
"Wrong number of arguments or invalid property assignment: 'system.FileOpenDialog'"
any help would be much apreciated