Hi all, just a quick heads up.
Unless I'm missing something, when I build standalones in 6.7 and 7.0, the quit menuitem on OSX Yosemite doensn't work. Neither does the keyboard shortcut command-Q. I've filed a bug report, but it's probably not a good idea to create standalones in these versions until this is fixed.
FWIW, I've tried in earlier versions and it works as planned.
1. Create a new stack
2. Set standalone props to only build for Mac
3. Build standalone
4. Launch standalone and just try and quit.
6.7 and 7.0 won't QUIT
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 27
- Joined: Sat Apr 08, 2006 9:50 am
- Location: Austin, TX
- Contact:
6.7 and 7.0 won't QUIT
[url=http://www.altuit.com/webs/hemingway/Products/AltuitProducts.htm]Visit Altuit, creator of ButtonGadget and other Rev add-ons[/url]
-
- VIP Livecode Opensource Backer
- Posts: 93
- Joined: Tue Nov 17, 2009 6:47 pm
- Location: Wellington, New Zealand
Re: 6.7 and 7.0 won't QUIT
In the stack script include this handler or similar:
on shutdownRequest
answer "Do you want to save changes made?" with "No" or "Yes"
if it is "Yes" then closestack
pass shutdownRequest
end shutdownRequest
Also check out the "Quit" command in the dictionary. You will also probably need to ensure that the Quit command in the File menu of your menubar contains a "Quit" command in its script and is activated.
on shutdownRequest
answer "Do you want to save changes made?" with "No" or "Yes"
if it is "Yes" then closestack
pass shutdownRequest
end shutdownRequest
Also check out the "Quit" command in the dictionary. You will also probably need to ensure that the Quit command in the File menu of your menubar contains a "Quit" command in its script and is activated.
-
- Livecode Opensource Backer
- Posts: 27
- Joined: Sat Apr 08, 2006 9:50 am
- Location: Austin, TX
- Contact:
Re: 6.7 and 7.0 won't QUIT
It appears you didn't read my message or are unfamiliar with how LiveCode runs on the Mac. On the Mac, there is no way to trap the Quit handler from the menu because it is auto-inserted. Why don't you try my recipe and SEE if you can actually script it to quit from a command-Q?pthirkell wrote:In the stack script include this handler or similar:
on shutdownRequest
answer "Do you want to save changes made?" with "No" or "Yes"
if it is "Yes" then closestack
pass shutdownRequest
end shutdownRequest
Also check out the "Quit" command in the dictionary. You will also probably need to ensure that the Quit command in the File menu of your menubar contains a "Quit" command in its script and is activated.
FWIW, it's been logged as a bug and confirmed.
[url=http://www.altuit.com/webs/hemingway/Products/AltuitProducts.htm]Visit Altuit, creator of ButtonGadget and other Rev add-ons[/url]
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: 6.7 and 7.0 won't QUIT. Works on 6.7.1
Hi All,
Good new
I just tested the quit command with LC 6.7.1
by defaut menu: OK
by command_Q: OK
Best regards
Jean-Marc
Good new
I just tested the quit command with LC 6.7.1
by defaut menu: OK
by command_Q: OK
Best regards
Jean-Marc
https://alternatic.ch