Kiosk Mode

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Kiosk Mode

Post by jwbuzz » Thu Apr 15, 2010 3:26 pm

I've searched through the forums and can't find much on this. I'm demo'ing revolution as a dev environment for quick projects. Specifically, I'm building a kiosk. I need to be able to do the following for kiosk behavior and can't figure out how to do it in revolution.

I'm on Mac OS 10.6

1. Make the window full screen with no application frame around it. I don't want the grey bar with the maximize, minimize, etc.
2. Make it where the user can't access anything else on the system. I need to keep this app always on top.

Any help or pointers to the right documentation would be much appreciated.

Klaus
Posts: 14193
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Kiosk Mode

Post by Klaus » Thu Apr 15, 2010 4:18 pm

Hi jwbuzz,

do you also have a real name that I can use to address you?
jwbuzz wrote:...
1. Make the window full screen with no application frame around it. I don't want the grey bar with the maximize, minimize, etc.
This is an easy one :)

Code: Select all

on propenstack
  ## No titlebar and close tec. buttons!
  set decorations of this stack to empty

  ## Make the stack/card as big as the monitor
  set the rect of this stack to the screenrect
  ...
end preopenstack
jwbuzz wrote:...
2. Make it where the user can't access anything else on the system...
This is not be possible without an external, sorry.


Best

Klaus

Klaus
Posts: 14193
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Kiosk Mode

Post by Klaus » Thu Apr 15, 2010 4:21 pm

I memorized that there IS indeed such an external and even free! Check this:
http://www.andregarzia.com/libKiosk.html


Best from germany

Klaus

jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Re: Kiosk Mode

Post by jwbuzz » Thu Apr 15, 2010 4:56 pm

Klaus.. thank you very much for the reply. My name is Justin.

I will try out your suggestions.

jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Re: Kiosk Mode

Post by jwbuzz » Thu Apr 15, 2010 5:08 pm

Klaus... where does "on propenstack" go? In the script of my first card?

Klaus
Posts: 14193
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Kiosk Mode

Post by Klaus » Thu Apr 15, 2010 5:16 pm

Hi Justin,
jwbuzz wrote:Klaus... where does "on propenstack" go? In the script of my first card?
Yep (or in the stackscript).

But I always prefer to put it into the script of the first card, since this way substacks do NOT execute this script
if they do not have their own "preopenstack" handler!


Best

Klaus

jwbuzz
Posts: 39
Joined: Tue Apr 13, 2010 7:56 pm

Re: Kiosk Mode

Post by jwbuzz » Thu Apr 15, 2010 8:18 pm

Klaus.. I tested this external and it works great. How do you include (or bundle) it when building a standalone application?

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Re: Kiosk Mode

Post by trevordevore » Fri Apr 16, 2010 3:22 pm

Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

Post Reply