Terry, Good suggestion.
Thank you, Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jun 23, 2011, at 4:54 PM, Terry Judd wrote: > On 24/06/2011 09:16 AM, "Bill Vlahos" <bvla...@mac.com> wrote: > >> 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. > > Telling Applescript to activate your standalone should work but perhaps you > need to give the other process some time to complete first, so how about at > the end of your preOpenCard sript... > > send "focusMe" to me in 2 secs" # or some other length of time > > on focusMe > put <appName> into myAppName > put merge("tell application [[myAppName]] to activate") into tScript > do tScript as applescript > end focusMe > > HTH, > > Terry... > >> >> 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 <bvla...@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.schonewi...@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@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@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@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@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > > _______________________________________________ > use-livecode mailing list > use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode