Hi, that looks great thanks, I've just been looking through the
documentation, but I don't think it allows control over terminating
the app, or detecting when its closed. I would like to have that level
of control (just terminate, and detect if user close it) - which is
why I was opting for NSTask - but actually I'm not having any luck
with that either! (if I put the path to the .app I get a permission
error, if I put the path to the file in contents/macos it doesn't
work!). is there anything else I can do?
Memo (Mehmet S. Akten)
www.memo.tv
[EMAIL PROTECTED]
On 11 Jun 2008, at 00:02, Michael Vannorsdel wrote:
[[NSWorkspace sharedWorkspace] launchApplication:@"Safari"];
On Jun 10, 2008, at 4:55 PM, Memo Akten wrote:
Hi all, i'm writing an app that launches some default apps like
safari, itunes, iphoto etc using NSTask. I was wondering if there
is a way of writing the launch url not fully hardcoded but using
some system variables / methods etc.?
Memo (Mehmet S. Akten)
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/memo%40memo.tv
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]