• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWorkSpace openFile does not open file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: AltiVec programming? Mailing list?
  • Next by Date: Re: itunes for windows HOWTO ???
  • Previous by thread: Left vs. Right modifier keys and terminal emulation vs. Expose'
  • Next by thread: Delete key and panther
  • Index(es):
    • Date
    • Thread