• 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
Installer.app can't 'display dialog'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installer.app can't 'display dialog'


  • Subject: Installer.app can't 'display dialog'
  • From: Olof Hellman <email@hidden>
  • Date: Mon, 4 Aug 2008 12:32:03 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Installer.app can't 'display dialog'

I’ve got two machines running 10.5.4 – both Intel – one a MacPro, the other a MacBook Pro.   Running this script:

 

    tell app “Installer”
                launch

                display dialog “Fred”
    end tell

succeeds on one machine and fails on the other.  On the machine that fails, event log shows this:

 

    tell application "Installer"

                launch

                                current application

                display dialog "Fred"

                «event ascrgdut»

                display dialog "Fred"

                                "Installer got an error: \"Fred\" doesn’t understand the display dialog message."

 

On the machine where the script succeeds, there is no ascrgdut event, and the display dialog line appears only once. If I target app “System Events”, the both machines succeed, both machines show an ascrgdut event, and System Events returns {} from the ascrgdut event on both machines.  All relevant pieces of the OS look the same (i.e. versions of Script Editor, the SystemAdditions.osax, the Installer app bundle, which the exception that the Installer has two localized versions of Portuguese resources – pt and pt-PT for the machine that fails as opposed to just pt for the machine that works.

 

So the question is:  anyone know why the two machines are acting differently?  Any hints on where to look?

 

- Olof Hellman

  Microsoft MacBU

 _______________________________________________
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: Installer.app can't 'display dialog'
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: interaction with Safari
  • Next by Date: Re: Class ksty
  • Previous by thread: Re: interaction with Safari
  • Next by thread: Re: Installer.app can't 'display dialog'
  • Index(es):
    • Date
    • Thread