Re: Having a problem turning on window.
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