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

Close a window

Postby 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
Till Bandi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 10
Joined: Sun Apr 16, 2006 4:52 am

Re: Close a window

Postby 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
Klaus
 
Posts: 9181
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany

Re: Close a window

Postby 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
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 4597
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Close a window

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

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

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


Return to Talking LiveCode

Who is online

Users browsing this forum: No registered users and 3 guests