Re: Spotlight & UI Scripting
Re: Spotlight & UI Scripting
- Subject: Re: Spotlight & UI Scripting
- From: Luther Fuller <email@hidden>
- Date: Tue, 28 Sep 2010 18:11:51 -0500
On Sep 28, 2010, at 5:43 PM, John Baltutis wrote:
Which reminds me ... On 9/28/10, Luther Fuller < email@hidden> wrote:
2. do shell script "mdutil -E -i on " & pathToDisk
As if I knew what I was talking about. But it does not work! This does works ...
set diskpath to quoted form of (POSIX path of diskAlias) do shell script "mdutil -i off " & diskpath delay 1 do shell script "mdutil -E " & diskpath delay 1 do shell script "mdutil -i on " & diskpath
Just in case anyone needs to re-index a disk.
|
_______________________________________________
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