• 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: List of aliases contains alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of aliases contains alias


  • Subject: Re: List of aliases contains alias
  • From: Mark Alldritt <email@hidden>
  • Date: Fri, 11 May 2012 10:59:17 -0700

Hello,

On 2012-05-11, at 9:15 AM, Jim Skibbie wrote:

> Someone posted about Script Debugger and I think there may be an issue there. When I have an 'on open' handler variable, in Script Debugger on 10.6.8, it says the class is list and it is a list of aliases, but when the same script is saved out and run as an application, the class is
> «class
>
> bmrk»
>
> and not a list. I think this is a bug in Script Debugger and I'm cc: ing Mark Alldritt regarding it.

There are two issues within Script Debugger.

1) How bookmark values are displayed.  Script Debugger relies on AppleScript to 'display' the list of values passed to the open handler, and AppleScript presents the values as aliases when in fact they are bookmarks.  This is happening behind Script Debugger's back and is unfortunate.  The only way to see the truth within Script Debugger is to switch its viewers to AEPrint mode which bypasses AppleScript.

2) How 'on open' events are simulated within Script Debugger.  Script Debugger 4 generates alias for files dropped onto a script window.  This causes scripts to behave differently when 'on open' events are simulated in this way.  To get bookmarks, you must drop files onto your applet's Finder or Dock icon.  This causes an external debugging session to begin, and bookmarks will be passed to Script Debugger by the Finder.  For the upcoming Script Debugger 5 release the 'on open' event simulators correctly generate bookmarks.

Cheers
-Mark


 _______________________________________________
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: List of aliases contains alias
      • From: Jim Skibbie <email@hidden>
References: 
 >Re: List of aliases contains alias (From: Jim Skibbie <email@hidden>)

  • Prev by Date: Re: List of aliases contains alias
  • Next by Date: Re: List of aliases contains alias
  • Previous by thread: Re: List of aliases contains alias
  • Next by thread: Re: List of aliases contains alias
  • Index(es):
    • Date
    • Thread