NSWorkSpace openFile does not open file
NSWorkSpace openFile does not open file
- Subject: NSWorkSpace openFile does not open file
- From: "Lorenzo P. Thurman" <email@hidden>
- Date: Mon, 10 Nov 2003 20:49:09 -0600
I have an application that mounts remote volumes, afp, smb and iDisk.
When I mount one of these
volumes, I want its directory to open in the Finder. This actually
works for all volume types if I set a breakpoint in PB at this line:
worked = [[NSWorkspace sharedWorkspace] openFile:[NSString
stringWithUTF8String:path] withApplication:@"Finder"];
But if there is no breakpoint, the directory will not open for afp
volumes, the other types open just fine. I'd be inclined to think that
the afp mount may not have quite completed, except that the above
message returns true, so the system seems to thinks it opened OK. Is
there something I'm missing? Is there a better way to do this?
Thanks
"My Break-Dancing days are over, but there's always the Funky Chicken."
--The Full Monty
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.