Re: Search for a file on User's desktop
Re: Search for a file on User's desktop
- Subject: Re: Search for a file on User's desktop
- From: KOENIG Yvan <email@hidden>
- Date: Tue, 3 Aug 2010 14:10:58 +0200
Le 3 août 2010 à 13:43, SHIVANK AGGARWAL, Noida a écrit :
Hi All,
I have the name of the file, I want to know whether the file exits
on users desktop or not with its folder path.
Regards,
this simple code will give you the name of every items on the desktop.
set p2d to path to desktop
tell application "Finder"
set files_on_desktop to name of every item of p2d
end tell
Yvan KOENIG (VALLAURIS, France) mardi 3 août 2010 14:10:38
_______________________________________________
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