• 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: Odd behavior with script menu, script editor and choose from list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd behavior with script menu, script editor and choose from list


  • Subject: Re: Odd behavior with script menu, script editor and choose from list
  • From: Iurista GmbH <email@hidden>
  • Date: Mon, 30 Jan 2012 18:47:13 +0100

Am 30.01.2012 um 17.11 schrieb email@hidden:

> snip...snip...snip...
>
> tell application "System Events"
> set scriptableApps to (name of application processes whose (has scripting terminology) is true)
> end tell
>
> set p to "Open Dictionary for..."
> set theApps to (choose from list scriptableApps with prompt p with multiple selections allowed)
>
> if theApps is false then -- user cancelled
> return
> end if
>
> repeat with theApp in theApps
>
> set theApp to theApp as string
> set appPath to (path to application theApp)
> tell application "AppleScript Editor"
> open appPath
> end tell
>
> end repeat
>
>
> For some reason this has stopped working at some point.
>
> It fails when run from script menu, which I otherwise find to be a marvellous timesaver, although it works just fine if I run it from inside script editor. That makes debugging rather hard.
>
> The symptom is that I can not choose from list. The list appears just fine, and contains the correct items, but for some reason I can make no selection. Just to repeat, this is only occurring when I run it from script menu.

I can not select by the mouse, but it works by cursor! At least here with SnoLeo
Rudolf
 _______________________________________________
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


  • Prev by Date: Re: Odd behavior with script menu, script editor and choose from list
  • Next by Date: giving up
  • Previous by thread: Re: Odd behavior with script menu, script editor and choose from list
  • Next by thread: giving up
  • Index(es):
    • Date
    • Thread