Page 1 of 1
Close a window
Posted: Thu Feb 16, 2017 9:21 am
by Till Bandi
I can launch a document from liveCode – is there also a way to close the document respectively the window I opened with the launch document command?
(launch document „xyxy.pdf“). something like <<close window "xyxy.pdf">>?
I’d be happy for any hint, thanks
Till
Re: Close a window
Posted: Thu Feb 16, 2017 1:36 pm
by Klaus
Hi Till,
I'm afraid ths cannot be done with the build-in means of Livecode.
Maybe you could use an AppleScript on the Mac and a VB-Script on Windows for this task.
Best
Klaus
Re: Close a window
Posted: Thu Feb 16, 2017 4:58 pm
by dunbarx
All.
This is just about the same question in two threads on the same morning. Check out both, because the answer will likely be the same.
http://forums.livecode.com/viewtopic.php?f=9&t=28846
Craig
Re: Close a window
Posted: Fri Feb 17, 2017 4:38 pm
by Till Bandi
That's what I feared – i'll try.
Thanks!