Close a window

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Till Bandi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 12
Joined: Sun Apr 16, 2006 4:52 am

Close a window

Post by Till Bandi » Thu Feb 16, 2017 9:21 am

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

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Close a window

Post by Klaus » Thu Feb 16, 2017 1:36 pm

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

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Close a window

Post by dunbarx » Thu Feb 16, 2017 4:58 pm

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

Till Bandi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 12
Joined: Sun Apr 16, 2006 4:52 am

Re: Close a window

Post by Till Bandi » Fri Feb 17, 2017 4:38 pm

That's what I feared – i'll try.

Thanks!

Post Reply

Return to “Talking LiveCode”