Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

asmith3006

macrumors member
Original poster
Dec 5, 2006
55
0
Hi
I'm trying to run Opera in Kiosk mode which means I need to execute
Applications/Opera.app/Contents/MacOS/Opera -kioskmode
I also want this to start up when user PublicUser logs on.

How do I go about this? I tried making an alias to Opera but can't find out how to add command line switches to it.

I've tried Mac support and after 40 minutes was told "Why don't you try a forum sir?" very helpful.

Thanks for any and all help

Andrew.
 
You could try the following:
(Actions are "quoted" to hopefully make it more readable...)

create a simple script:
- in Terminal.app:

touch test.command <ENTER>
pico test.command <ENTER>

- add the following lines:
#!/bin/sh
open -a /Applications/Opera.app/Contents/MacOS/Opera -kioskmode
killall Terminal

- save and quit (CTRL-O <ENTER>, CTRL-X)

- now change the permissions:
chmod 777 test.command <ENTER>

Add this to the login items, and I hope it works. I haven't got Opera installed, but it should work.

Good luck.:)
 
I have attached an Applescript application that will launch Opera in kiosk mode. Just unzip, put it in Applications folder, and add as a LoginItem. Enjoy!

For those wondering, its a simple one liner
Code:
do shell script "exec /Applications/Opera.app/Contents/MacOS/Opera -k"
 

Attachments

  • OperaKiosk.zip
    45.5 KB · Views: 578
That's excellent thank you!

How do I make my own Apple Scripts? Which program do you use to make them? I need to add in some more switches to make it work exactly as I want and I'd prefer to learn how to do it myself.

Thanks :)
 
How did you make it have the Opera icon? When I run one I made I get an apple script icon and then the opera icon afterwards whereas yours is just the opera icon..
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.