• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
application file id/can't find disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

application file id/can't find disk


  • Subject: application file id/can't find disk
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 20 Sep 2004 09:48:34 -0700

There's something wrong - sometimes - with 'application file id' in the
Finder. I can't give a 100% repro, but under some circumstances - one of
which may include having more than one version of an app on your computer -
it stops working for that app.

At the moment, I can't get

    tell app "Finder" to get application file id "OPIM"
    --> Finder got an error: Can't get application file id "OPIM".

which should be the application file of Microsoft Entourage, on my machine.
It's not finding any of the Microsoft Office apps (I have both 2004 and X
versions on my machines), but has no problem with any other Carbon or Cocoa
apps (of which I have mostly just one version each, although I do have two
versions of GraphicConverter. It finds the GC version included by Apple in
/Applications rather than the more recent licensed version I keep in
~/Applications.) The peculiar thing is that after removing these two files:

    /Library/Caches/com.apple.LaunchServices.6B.csstore
    ~/Library/Preferences/com.apple.LaunchServices.plist

and opening Entourage once, I can now

    tell application "Microsoft Entourage" to launch

without problem - no "Where is..?" dialog -  but application file id "OPIM"
still gets the error.

This puts me in a quandary. I customarily use:

    tell app "Finder" to set entouragePath to application file id "OPIM" as
Unicode text
    tell application entouragePath to launch

to avoid the "Where is Microsoft Entourage?" dialog. But now it seems that,
at least for myself and many users, it's less disruptive to simply

     tell application "Microsoft Entourage" to launch

and hope for the best. On the other hand,. for quite a substantial number of
users, that command - I think - now brings up a really weird error:

    Disk Microsoft Entourage cannot be found

instead of the "Where is Microsoft Entourage?" dialog. Having Entourage open
when running the script avoids that problem, and the other problems. But
this is no good.

Quite frankly. I'd settle for a one-time "Where is Microsoft Entourage?"
dialog, if it could be over and done with. If anyone knows what exactly
causes the "Disk Microsoft Entourage cannot be found" error, I'd really
appreciate hearing from you.


Is there any explanation for why application file id "OPIM" doesn't work,
and how I can get it to work with certainty? And is there an explanation for
"Disk Microsoft Entourage cannot be found", and how to fix it?

Somehow, I think only Chris Nebel, if anyone, will know. If anyone else
does, please let me know. Many thanks.

--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: application file id/can't find disk
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Puzzling behavior
  • Next by Date: Fade Itunes
  • Previous by thread: Re: whose statement in FMP 7
  • Next by thread: Re: application file id/can't find disk
  • Index(es):
    • Date
    • Thread