Re: Delete an application
Re: Delete an application
- Subject: Re: Delete an application
- From: Dennis Cox <email@hidden>
- Date: Mon, 19 May 2008 06:38:41 -0500
- Thread-topic: Delete an application
Delete takes a reference to an object, so it¹s
delete file
Finder paths are delimited by colons not slashes:
delete file ³MacHD:Applications:Image Capture.app²
Are you really hard up for 12Mb of space? And Image Capture will probably be
reinstalled in some future update from Apple.
Or do you want another program to handle cameras when they are attached? Use
Image Capture preferences to change the default behavior:
In Image Capture, go to the preferences and select the General tab, in
Camera section select the program you want to open upon connecting a camera
by using the popup menu.
Dennis
On 5/19/08 12:01 AM, "SVV Satyanarayana" <email@hidden> wrote:
> I am trying to delete an application "Image Capture" from my system.
> But it is throwing error with following script.
>
> try
> tell application "Finder"
> delete "/Application/Image Capture.app"
> end tell
> on error
> display dialog "Cannot delete Image Capture application"
> end try
>
> When I traced the error, its due to space between "Image" and "Capture.app"
> I don't want to use "do shell script" and remove.
> How to achieve it?
>
> Satyanarayana.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden