Search found 6 matches
- Mon Apr 11, 2016 3:20 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Detect app activation (focus) [SOLVED]
- Replies: 9
- Views: 7179
Re: Detect app activation (focus) [SOLVED]
Ty very much, this seems to solve my issue for now!
- Wed Apr 06, 2016 2:08 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Detect app activation (focus) [SOLVED]
- Replies: 9
- Views: 7179
Re: Detect app activation (focus)
A little progress. Now i don't hide the stack, but move it to -500 (out of video viewport). Now i can correctly get the event resume, but if app still has the focus, i cannot get click on dock icon, so i cannot redisplay the app window. Any hint? Is it possible to capture the click on the icon of a ...
- Tue Apr 05, 2016 10:55 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Detect app activation (focus) [SOLVED]
- Replies: 9
- Views: 7179
Re: Detect app activation (focus)
Here is my code (stripped down version).
Basically i have a splash screen, then i want my app substack to pop up when user press a key combo (here shift + ctrl). And this works (on mac).
But i also would like to open app substack when user clicks on the icon of the standalone in the doc.
Basically i have a splash screen, then i want my app substack to pop up when user press a key combo (here shift + ctrl). And this works (on mac).
But i also would like to open app substack when user clicks on the icon of the standalone in the doc.
- Tue Apr 05, 2016 10:18 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Detect app activation (focus) [SOLVED]
- Replies: 9
- Views: 7179
Re: Detect app activation (focus)
I'm on macosx El Capitain also, and with LC 7.1.3
does not work.
Maybe because my standalone has no visible stacks, so there is nothing to 'uniconify' ...
Code: Select all
on uniconifyStack
beep
end uniconifyStack
Maybe because my standalone has no visible stacks, so there is nothing to 'uniconify' ...
- Tue Apr 05, 2016 10:00 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Detect app activation (focus) [SOLVED]
- Replies: 9
- Views: 7179
Re: Detect app activation (focus)
Thank everybody. None of this seems to work Now i have: on resumeStack answer "Resume" end resumeStack on iconifyStack -- hide auxiliary window when the stack is iconified answer "iconify" end iconifyStack on uniconifyStack -- hide auxiliary window when the stack is iconified answer "uniconiify" end...
- Tue Apr 05, 2016 9:39 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Detect app activation (focus) [SOLVED]
- Replies: 9
- Views: 7179
Detect app activation (focus) [SOLVED]
Hi everybody. I have a stack with an hidden card, that runs as a standalone. I am polling the keyboard to see if a key is pressed, then i rise up my card. I want to do the same when the icon of the standalone is pressed (so if one clicks with mouse on dock or windows task bar). In substance i need t...