Posted by member 602 on 2003-07-06 12:04:49
Does anyone have experiance with ComDLGLs? I can't get it to work properly. This is what I want to do. Have IconDesk show desktop icons from some folder defined in themepopup. One of the options are "Custom" where a "select folder" dialog should appear. This is the script code for that:
I've tried not loading it dynamically, putting !VarSet... in quotes, Putting !VarSet... on a separate line etc. When I get the dialog to appear it seems to be working correctly. The problem that occurs is that I can get the dialog to appear once, but never again until maybe when I 've restarted my comp. !ComDLGFile appear almost everytime. Non of the others have ever worked. And after a unsuccessfull time that part of the popup where the !SetIconCustom is doesn't react to mouse over anymore. And if I try to many times LS will stop reacting altogether and eventually crash. Strang problem this. Any help welcome...
Update!! I've tried this some more now and it appears that I can get it to work more than once. Actually just as long as I don't select a folder with spaces in it's path. Might not be a problem with ComDLGLs after all...I'll report when I find the cause..
*Script Bang !SetIconCustom
*Script exec !ReloadMoodule "$ModulesDir$comdlgls.dll"
*Script exec !ComDLGFolder !VarSet IconFolder "^@dp^"
*Script exec !Recycle
*Script ~Bang
*Script exec !ReloadMoodule "$ModulesDir$comdlgls.dll"
*Script exec !ComDLGFolder !VarSet IconFolder "^@dp^"
*Script exec !Recycle
*Script ~Bang
I've tried not loading it dynamically, putting !VarSet... in quotes, Putting !VarSet... on a separate line etc. When I get the dialog to appear it seems to be working correctly. The problem that occurs is that I can get the dialog to appear once, but never again until maybe when I 've restarted my comp. !ComDLGFile appear almost everytime. Non of the others have ever worked. And after a unsuccessfull time that part of the popup where the !SetIconCustom is doesn't react to mouse over anymore. And if I try to many times LS will stop reacting altogether and eventually crash. Strang problem this. Any help welcome...
Update!! I've tried this some more now and it appears that I can get it to work more than once. Actually just as long as I don't select a folder with spaces in it's path. Might not be a problem with ComDLGLs after all...I'll report when I find the cause..