Hey again, I tried the extra parameter - it makes no difference (internally it actually defaults to 0, that is what folderitem.pathtypeabsolute provides).
So what should I use on Mac OS X instead? ShellPaths? URLPaths? If one of them, what makes them superior? The thing is that some of my customers are not comfortable with forward-slashes in their Paths on Mac as that will result in them putting backslashes in there expecting it to work like windows. If I can give them a technical reason why they should bother with ShellPaths, I'm willing to do that. Back to my first mail. The FolderItem generated by GetFolderItem() from an AbsolutePath actually points to the right file (the AbsolutePath of the object is correct), but unfortunately the .Name property is "Desktop" and the ShellPath is also refering to the desktop. This is weird and I have no idea how to work around that. This is definately a bug in REALbasic and I can only sometimes reproduce it. I have a feeling that it has to do with the target file already existing or not, but I'm not 100% sure. I just tried to code a small test app to reproduce this bug, but everytime I call GetFolderItem() with my test path, I get Nil. I get a proper reference if the file exists. This used to work differently before. Thanks. 2007/4/4, Norman Palardy <[EMAIL PROTECTED]>: > try adding the extra parameter to GetFolderItem that tells it what > kind o path you are giving it > > tmpFI2 = getFolderItem(tmpPath, FodlerItem.PathTypeAbsolute) -- Best regards, Bastian Bense _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
