zantoku / google-toolbox-for-mac

Automatically exported from code.google.com/p/google-toolbox-for-mac
Apache License 2.0
0 stars 0 forks source link

Needs adaption for OS X v10.6 (Snow Leopard) #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The AppleScript Spotlight importer installation fails since the 
app/binary/package of the Script Editor.app (whatever you'd prefer) has been 
moved and renamed:

In 10.5.x it is:
/Applications/AppleScript/Script Editor.app

In 10.6.x it changed to:
/Applications/Utilities/AppleScript Editor.app

So the installation script would need to accommodate both locations.

Thus said, even copying it manually does not make it work. Something else 
necessary for 10.6?

Steps I've tried:
1. Created directory with:
  sudo mkdir -m 755 -p /Applications/Utilities/AppleScript\ Editor.app/Contents/Library/Spotlight

2. Copied AppleScript.mdimporter to:
  /Applications/Utilities/AppleScript Editor.app/Contents/Library/Spotlight/AppleScript.mdimporter

3. Tried to register with: 
  su ${USER} -c "/usr/bin/mdimport -r '/Applications/Utilities/AppleScript\ Editor.app/Contents/Library/Spotlight/AppleScript.mdimporter'"

Listing the currently active mdimporters with "mdimport -L" shows that the 
bundle did *not* register.
system.log says nothing.
Searching for a known-string-inside-an-AppleScript.scpt yields nothing, so most 
likely the importer isn't working at all.
If because of not registering or because of another general problem, I'm not 
able to say.

Original issue reported on code.google.com by mael...@gmail.com on 6 Jan 2010 at 2:55

GoogleCodeExporter commented 9 years ago
Reading the other issues here it maybe helpful to know I came here from: 
http://code.google.com/p/google-
toolbox-for-mac/wiki/GTMSpotlightImporters

Original comment by mael...@gmail.com on 6 Jan 2010 at 2:58

GoogleCodeExporter commented 9 years ago
Thanks... I'll take a look ASAP.

Original comment by dmaclach on 6 Jan 2010 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by dmaclach on 6 Jan 2010 at 4:38

GoogleCodeExporter commented 9 years ago
Any progress on this? 

Original comment by groble...@gmail.com on 2 Feb 2011 at 7:47