Focus question

Bill Vlahos bvlahos at mac.com
Thu Jun 23 19:16:32 EDT 2011


I figured out what the problem is but I can't figure out a workaround.

I call an applescript embedded in a field on the preOpenCard Card script.
   do field "blahblah" as applescript

Is there a way to kick my app to the front? I even tried to run an AppleScript to active the program but that doesn't work either.

Any ideas?

Bill Vlahos

On Jun 22, 2011, at 7:50 PM, Bill Vlahos wrote:

> I retested it and the windowshape property doesn't matter. It must be something else. 
> 
> Bill
> 
> Sent from my iPhone
> 
> On Jun 22, 2011, at 6:47 PM, Bill Vlahos <bvlahos at mac.com> wrote:
> 
>> I set it in the IDE before saving the standalone. 
>> 
>> Bill
>> 
>> Sent from my iPhone
>> 
>> On Jun 22, 2011, at 2:41 PM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
>> 
>>> Hi Bill,
>>> 
>>> Do you set the windowShape property when the stack opens?
>>> 
>>> --
>>> Best regards,
>>> 
>>> Mark Schonewille
>>> 
>>> Economy-x-Talk Consulting and Software Engineering
>>> Homepage: http://economy-x-talk.com
>>> Twitter: http://twitter.com/xtalkprogrammer
>>> KvK: 50277553
>>> 
>>> New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce
>>> 
>>> On 22 jun 2011, at 22:10, Bill Vlahos wrote:
>>> 
>>>> I've created a Mac app which uses the Windowshape property. It works fine except that it opens either behind other windows or, even if it is the frontmost window, still doesn't actually have focus. I have to click anywhere on the window and then I can click on the button to get started.
>>>> 
>>>> I want it to open in front over everything and be ready for button clicks.
>>>> 
>>>> What is wrong?
>>>> 
>>>> Bill Vlahos
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list