Re: launch app
Re: launch app
- Subject: Re: launch app
- From: Rhon Fitzwater <email@hidden>
- Date: Mon, 26 Aug 2002 20:13:24 -0400
I dont want to use applescript. Or cant use applescript, i dont think
anyway.. I know applescript. here is a snippet of the code i have:
[grep2 setLaunchPath:@"/usr/bin/grep"];
[grep2 setArguments:[NSArray
arrayWithObjects:@"-v",@"grep",nil]];
[grep2 setStandardOutput:pipe3];
[cut setStandardInput:pipe3];
[grep2 launch];
[grep2 release];
[pipe2 release];
i need to add to that code, the code to open an application in
/Application/Utilities.
Thanks
On Monday, August 26, 2002, at 07:58 PM, Ben Snitkoff wrote:
>
you can probably use apple script for what you want to do.
>
>
tell application "Finder"
>
open <path to application>
>
end tell
>
>
this may be bad apple scripting though, check apple's documentation
>
>
Ben
>
On Monday, August 26, 2002, at 07:48 PM, Rhon Fitzwater wrote:
>
>
> hi all,
>
>
>
> I am in need of some fast help. I know very very little cocoa or
>
> obj-c. I am hoping one of you out there can send me the code to do
>
> the following:
>
> i need to launch an application. i know this is very broad and
>
> doesnt tell you much. but that is really all i need. once the code
>
> is ran, it does some stuff then launches an application in
>
> /Applications/Utilities. Sounds stupid but this is what I need done.
>
> If more information is needed, email me. Thanks in advance.
>
>
>
> -Rhon
>
> _______________________________________________
>
> studentdev mailing list | email@hidden
>
> Help/Unsubscribe/Archives:
>
> http://www.lists.apple.com/mailman/listinfo/studentdev
>
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
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.