File Object > change the current directory bug?
File object > Directory Actions > Change the current directory doesn't work. On my win xp it will change the directory only when it's Not a special folder. When I try to change to any special folder, it always defaults to My Documents folder root.
On my win xp 64 pro on a different computer it doesn't work at all, continually defaulting to my current folder.
I tried the Common Dialog Object and it works on all accounts. I've tried them in both MMF2 and MMF2 Dev. Is this a File Object bug that is non-fixable?
thanks
Re: File Object > change the current directory bug?
Do you mean that you use system macros like %System% in your directory name? I think this is a known issue, the File object doesn't translate these macros.
Re: File Object > change the current directory bug?
Standard conditions.
Condition 1A...
File object > Directory Actions > Change the current directory > Retrieve data from an object > File Object > Directories > Application Data directory.
Condition 1B...
File Object > Open load file selector on ""
Result path
My Documents
I've also tried on condition 1B
File Object > Open load file selector on > Retrieve data from an object > File Object > File selector > Get result pathname, ending up in My Documents folder again.
I used the same condition relevant to the Common Dialog object, which does change the current directory to my Application Data folder.
thanks
Re: File Object > change the current directory bug?
you could use the YASO object to get %system% and stuff
Re: File Object > change the current directory bug?
Yeh, but I didn't have trouble retrieving the Application Data folder path. The File object, Directory Actions, Change the current directory, always defaulted to the current My Documents folder.
The reason I tried the Change the current directory selection was to get away from using a wildcard "*.rtf" when I use the File object's File Selector, Open load selector on "", using a wildcard "*.rtf". It wouldn't open without it.
Looks like I'll keep it with the wildcard.
Thanks for the input.