As a workaround, making it a system window, then immediately making it a
topLevel window should get around your issue. Not sure why it behaves the way
it does. Going to a stack should make the stack the topStack, and only other
stacks set as modal or system windows would override that behavior.
I don't think any OS allows an app to insert itself into the user's work
flow like that. Even your own solution requires you to specify it via a hot
key.
Usually we use the native version of interapp communication, which on Mac
is applesccript and on Windows VB. Or you could see if there's an
Since I do not create the stack as a "modal stack" (a command I didn't even
know existed... again, thanks for THAT), then does that make my card (only one
in the app) a "system" window? After read the doc's on "modal stack", I doubt
that I want my stack to become "modal"... even temporarily.
W
Is the window that remains on top a modal or system window?
Bob S
> On May 11, 2018, at 08:09 , Douglas Ruisaard via use-livecode
> wrote:
>
> no apologies necessary... you got it completely right!... Unfortunately your
> idea doesn't work in Windows 7 and/or in LC v 8.1.9 (I've removed v9 f
no apologies necessary... you got it completely right!... Unfortunately your
idea doesn't work in Windows 7 and/or in LC v 8.1.9 (I've removed v9 for the
time being, so it isn't available to try your idea).
The LC window remains "behind" any other window which I have made the top-most.
Luckily
Hi Douglas,
Apologies if I'm misunderstanding the problem or if someone already
suggested this, but won't the stack come to the front if you just say
"go to stack tMyStack" ? Seems to me that would make it the topStack,
which is apparently what you want (as I read it).
Or if the stack is a
Go card/stack??
Bob S
> On May 10, 2018, at 01:44 , Klaus major-k via use-livecode
> wrote:
>
>> Am 09.05.2018 um 23:34 schrieb Douglas Ruisaard via use-livecode
>> :
>>
>> Thanks, Mike... but this doesn't make my LC screen active... it does flicker
>> it but leaves it in buried under the
Oh, one other option for windows would be vbscript. Unfortunately, I
don't think you can "do myScript as vbscript" because (according to the
dictionary) the required objects aren't available to livecode using that
method. You can however, create a .vbs file with a script that should be
able to b
Hmm Just a curiosity question to further the experiment if you don't
mind.. I had been thinking you could use the "click" command to bring
things to front, but if its not in front you can't do that. So out of
curiosity.. If you set it to a system window so that its in front of
everything, and th
More specifically, if I increase the "wait", the desired windows comes to the
foreground, the wait expires and then it "retreats" back behind the other
window(s) to its original placement. Neat trick for a timed "pop-up" window.
Without the "false" reset, the window remains as the foreground w
Hi Doug,
> Am 09.05.2018 um 23:34 schrieb Douglas Ruisaard via use-livecode
> :
>
> Thanks, Mike... but this doesn't make my LC screen active... it does flicker
> it but leaves it in buried under the top window.
> I'll check out those links, Lagi... thanks for the research
>
> Thanks to Bo
Hmm. Not sure whats up then. doing the systemwindow trick pops things to
the front for me from behind a browser of whatever happens to be in front,
so no clue why it won't work for you. (unless the window that it is behind
is a system window itself)
On Wed, May 9, 2018 at 3:34 PM, Douglas Ruisaa
Thanks, Mike... but this doesn't make my LC screen active... it does flicker it
but leaves it in buried under the top window.
I'll check out those links, Lagi... thanks for the research
Thanks to Bob und Klaus for the "Launch" suggestion ... however, I don't want
to open, launch or startup
Hi Bob,
> Am 09.05.2018 um 19:22 schrieb Bob Sneidar via use-livecode
> :
>
> Oh, no kidding!
No! :-)
> I read the dictionary, and it gives no indication this will work with folders
> as well as files!!!
> I use launch document for files as well.
One day I just tried it and it worked!
Believ
Oh, no kidding! I read the dictionary, and it gives no indication this will
work with folders as well as files!!! I use launch document for files as well.
And I thought I was being clever! I guess this means I cannot absolutely trust
the dictionary anymore! LOL!
Bob S
> On May 9, 2018, at 10
Hi Bob,
> Am 09.05.2018 um 19:05 schrieb Bob Sneidar via use-livecode
> :
>
> Here is what I do and it works a peach. Assuming tPath is a valid path to a
> folder:
>
> if tPlatform contains "Win" then
> replace "/" with "\" in tPath
> put "explorer " & quote & tpath & quote into t
Here is what I do and it works a peach. Assuming tPath is a valid path to a
folder:
if tPlatform contains "Win" then
replace "/" with "\" in tPath
put "explorer " & quote & tpath & quote into theCmd
put shell(theCmd) into theResult
else
put "property the_path : " &
Hi Doug,
Could this thread be helpful?
http://forums.livecode.com/viewtopic.php?f=7&t=30984
and this lesson
http://lessons.livecode.com/m/2592/l/125868-searching-for-
an-open-window-by-title
Only for Livecode "windows"/stacks though
Failing that, using FFI with C would do it
You need to get
While the solution is not perfect, you can have your script
set the systemwindow of stack "stackname" to true
wait 1 tick
set the systemwindow of stack "stackname" to false
(Saw this on the forums at one time or another, think the thanks go to Lagi)
The only negative of this method is the flicker
Thanks, as always, for the responses. Getting old means you forget about the
differences between Commands and Functions... but anyway
My MAIN question was whether there was a way to get LC to make a desktop window
THE active, top-most window... next necessarily the LC's window (in my case)
but A
On 5/8/18 12:48 PM, Douglas Ruisaard via use-livecode wrote:
On a somewhat related note, how do you "set" the mouse location within an LC window? I know and use the "set the screenMouseLoc to
the loc of this stack" but an equivalent "set the MouseLoc to the loc of this stack" or "set the mouseL
dunbarx wrote:
> The "screenMouseLoc" is a property, but the "mouseLoc" is a
> function.You cannot set a function.
>
> Why this was wrought this way is anybody's guess.
If memory serves mouseLoc was implemented as a function for
compatibility with HyperCard, which offered no way to move the mou
Hi.
The "screenMouseLoc" is a property, but the "mouseLoc" is a function.You
cannot set a function.
Why this was wrought this way is anybody's guess. I recommend that you make
a library gadget that automatically takes the open LC window properties and
does the math. Then your "newMouseLoc" proper
In Windows 7, LC v8.1.9
Is there a way to make an LC "window" the active / top window on the desktop
after making another window on the desktop active? I have an app which allows
me to copy a portion of text from, say, a Notepad window, into the clipboard.
A timed loop within my LC script then
24 matches
Mail list logo