Re: Odd behavior with script menu, script editor and choose from list
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