You can certainly use AS to query the frontmost application but I'm guessing as 
soon as you click the button in your app then your app is it. You can also 
query the application processes - if they are sorted in order from frontmost to 
'rearmost' then maybe you could tell the second process in the list to come to 
the front?

Terry...

On 30/3/20, 9:39 am, "scott--- via use-livecode" 
<use-livecode@lists.runrev.com> wrote:

    This sounds like something AppleScript might be able to solve…
    
    
    > On Mar 29, 2020, at 3:01 PM, Bill Vlahos via use-livecode 
<use-livecode@lists.runrev.com> wrote:
    > 
    > Mark,
    > 
    > OK. That makes sense and matches the behavior as my window does hide.
    > 
    > However, the Mac doesn’t give any window the focus. My application 
doesn’t really hide. It just closes the window but staying as the frontmost 
application.
    > 
    > I need my whole application to hide to give the target window which had 
focus before I clicked the button on my floating window after it hides itself. 
    > 
    > Bill
    > 
    >> On Mar 29, 2020, at 2:43 PM, Mark Wieder via use-livecode 
<use-livecode@lists.runrev.com> wrote:
    >> 
    >> On 3/29/20 2:17 PM, Bill Vlahos via use-livecode wrote:
    >> 
    >>> The documentation in 9.5.1 says that hide stack is not supported in 
64bit. What is the alternative for MacOS X 64bit to temporarily hide my 
application?
    >> 
    >> 
    >> Er... no. The documentation says
    >> 
    >> Additionally QuickTime does not include 64 bit support and therefore can 
not be supported on OS X 64 bit builds of LiveCode.
    >> 
    >> So the hide command works as expected unless you try to use the QT 
modifications.
    >> 
    >> -- 
    >> Mark Wieder
    >> ahsoftw...@gmail.com
    >> 
    >> _______________________________________________
    >> 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

Reply via email to