• 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
Re: Finder 'update' command broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder 'update' command broken?


  • Subject: Re: Finder 'update' command broken?
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 24 Jun 2008 09:33:29 -0500

On Jun 24, 2008, at 8:58 AM, Bill Cheeseman wrote:

Am I correct that the Finder's 'update' command doesn't work in Leopard
(10.5.3)? When I run it against an application that I just installed (using
an installer package I'm developing), the version displayed in an open
Finder window remains unchanged, and Get Info shows the old version and
copyright information. Worse, Finder commands like 'get version' continue to
return the old information.


Closing and reopening the window doesn't help. I have to log out and back in
for the newly installed app to be recognized as the new version by the
Finder.


Running the newly installed app works perfectly well, but the Finder still
remains ignorant.

I use this handler to get info for a 'display alert' in many applications:


on titleAndVersion()
set selfRef to (path to me)
set AppleScript's text item delimiters to {"."}
tell application "System Events"
(text item 1 of ((get name of selfRef) as text)) & space & (get version of selfRef)
end tell
return the result
end titleAndVersion


Originally, this handler used 'tell application "Finder" ...', but the version information was often missing, so I rewrote it with 'tell application "System Events" ...'. Now it works properly most of the time. Something seems not to be working reliably.

_______________________________________________
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
  • Follow-Ups:
    • Re: Finder 'update' command broken?
      • From: Laine Lee <email@hidden>
References: 
 >Finder 'update' command broken? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Mounting SMB Share
  • Next by Date: Re: Mounting SMB Share
  • Previous by thread: Finder 'update' command broken?
  • Next by thread: Re: Finder 'update' command broken?
  • Index(es):
    • Date
    • Thread