• 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: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command)


  • Subject: Re: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command)
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 28 Jan 2016 08:58:11 +1100

On 28 Jan 2016, at 3:05 AM, Chris Page <email@hidden> wrote:
>
> I thought you meant it mattered whether it was called from an ASOC script or from Objective-C code that the script uses, which I wouldn't expect to make a difference.

I thought I meant that too, until I realised what I was doing wrong.
>
> It makes sense that you have to call AEInteractWithUser() before using AppKit, not merely before displaying a window. I guess I wasn't explicit enough: call AEInteractWithUser() before using AppKit...and before each time you display a window that needs the user's attention.

Noted, thanks. One for the ASLG, I think.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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


References: 
 >Re: How to Run a "sudo" Terminal Command (From: Christopher Nebel <email@hidden>)
 >Re: How to Run a "sudo" Terminal Command (From: Christopher Stone <email@hidden>)
 >Re: How to Run a "sudo" Terminal Command (From: Shane Stanley <email@hidden>)
 >Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command) (From: Chris Page <email@hidden>)
 >Re: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command) (From: Shane Stanley <email@hidden>)
 >Re: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command) (From: Chris Page <email@hidden>)
 >Re: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command) (From: Shane Stanley <email@hidden>)
 >Re: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command) (From: Chris Page <email@hidden>)

  • Prev by Date: Re: Script Library caching
  • Next by Date: Re: Script Library caching
  • Previous by thread: Re: Displaying UI in AppleScriptObjC scripts (was Re: How to Run a "sudo" Terminal Command)
  • Next by thread: Re: How to Run a "sudo" Terminal Command
  • Index(es):
    • Date
    • Thread