• 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
iDiskMenu source code and question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iDiskMenu source code and question


  • Subject: iDiskMenu source code and question
  • From: Jean Bovet <email@hidden>
  • Date: Fri, 20 Feb 2004 09:01:36 +0100

Dear All,

I have recently created a very small app, iDiskMenu, designed to handle
multiple iDisk, WebDAV and FTP configuration from the system menu bar:
the source code is available because I have seen a lot of people asking
how to mount/unmount an iDisk: hope it can help them.

Here is the link to download the source code: www.curvuspro.ch/dev

I still have a some questions about the source code:

- I'm using AppleScript to mount an FTP server in the Finder but
sometimes the app crashes. I suspect it is the error parameter in the
executeAndReturnError that is causing the problem, but I'm not sure.
Here are the lines I'm using to execute an AppleScript, is that correct
?

NSAppleScript *theScript = [[NSAppleScript alloc]
initWithSource:command];
NSDictionary *theError;
[theScript executeAndReturnError:&theError];
[theScript release];

- how can I unmount an FTP server mounted in the Finder ? I mount it
using the "" AppleScript but I cannot unmount it using the "put away
"/Volumes/theserver.com"" command. Any idea ?

Sincerely,

Jean Bovet
_______________________________________________
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: Data Source object for NSTableView
  • Next by Date: Fwd: display an image in a button
  • Previous by thread: Adding custom window widget to window
  • Next by thread: System UI extensions?
  • Index(es):
    • Date
    • Thread