• 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: Having a problem turning on window.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having a problem turning on window.


  • Subject: Re: Having a problem turning on window.
  • From: Brian Christmas <email@hidden>
  • Date: Mon, 26 Jan 2015 01:02:55 +1100

G’day Shane

Thanks for your feedback. I’m pleased you’ve verified I’m on the right track.

makeKeyAndOrderFront is exactly how I started off, and it didn’t work, so I’ve been fruitlessly trying other options.

I’ve been trying to show the window well before calling the secondary script ‘OAS', with no success, it’s as though my version of ASObC can’t display windows until it’s idling.

(45 minutes later) I had prepared a stripped down version of my app, but noticed that it was far to large at 3.4 MB, so I rebuilt it on a clean new project, which not only weighs in at 1 MB, but now works. So, obviously my main project had become corrupted in some way. I’ll rebuild it later this morning, and test.

Regards

Santa


On 25 Jan 2015, at 11:21 pm, Shane Stanley <email@hidden> wrote:

On 25 Jan 2015, at 11:04 pm, Brian Christmas <email@hidden> wrote:
>
> Is my procedure correct, please?

> It's hard to tell. You're showing the window (makeKeyAndOrderFront:) and then you're getting rid of it (orderOut:); that sounds like a recipe for a brief flicker.
>
> Get rid of all that visible properties for windows crap and display. The way you show windows is with makeKeyAndOrderFront: or orderFront:, and you hide them with orderOut: or close. All that other stuff just serves to confuse things.
>
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Having a problem turning on window.
      • From: Shane Stanley <email@hidden>
References: 
 >Having a problem turning on window. (From: Brian Christmas <email@hidden>)
 >Re: Having a problem turning on window. (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Having a problem turning on window.
  • Next by Date: Re: Having a problem turning on window.
  • Previous by thread: Re: Having a problem turning on window.
  • Next by thread: Re: Having a problem turning on window.
  • Index(es):
    • Date
    • Thread