iDiskMenu source code and question
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.