FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   fullscreen inside P5 environment?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: fullscreen inside P5 environment?  (Read 442 times)
lunetta

7200475272004752 WWW Email
fullscreen inside P5 environment?
« on: Dec 20th, 2004, 12:19am »

Hello
 
Ist there any possible trick to run fullscreen from the P5 environment instead of tweaking the jar and making an application?
 
 
st33d

WWW Email
Re: fullscreen inside P5 environment?
« Reply #1 on: Dec 20th, 2004, 7:47pm »

Well I haven't got an inside answer. But there is a cheeky little ouside answer you can put in the html leading to your applet. But you will have to put a link up to close it.
 
Given that there's a javascript way of doing it there's probably a command in java you can reach through Processing and access to do this, but that's just a guess. Try this code out:
 
Code:

<html>
<head>
<title>Untitled Document</title>
<script language="JavaScript">
function popup(){
window.open("target.html", "name", ',type=fullWindow,fullscreen,scrollbars=yes');
}
</script>
</head>
 
<body>
<a href="javascript:popup()">fullScreen</a>  
</body>
</html>

 
It's a pain to close though. Bit of an alt+f4 job. But I got this from here:
 
http://www.htmlcodetutorial.com/linking/linking_famsupp_87.html
 
Hope this gives you some ideas.
« Last Edit: Dec 20th, 2004, 7:49pm by st33d »  

I could murder a pint.
mKoser

WWW Email
Re: fullscreen inside P5 environment?
« Reply #2 on: Dec 20th, 2004, 8:01pm »

have you tried shift-clickin the 'play-button' ... this should launch your sketch in 'present' mode. (also to be found in 'Sketch' > 'Present')
 
On PC this launches fullscreen, on OSX this launches fullscreen with a menu-bar (use OSX's built-in Zoom'in capabilities to avoid this (System Preferences > Universal Acces > Turn Zoom On))
 
You can change the grey background colour in your preference-file.
 
+ mikkel
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
gll

WWW Email
Re: fullscreen inside P5 environment?
« Reply #3 on: Dec 23rd, 2004, 8:28am »

Hey, that's funny, it's there since I began to work with P5 (v65), and I've always passed over that usefull function. One year after...
 
I did a P5 archeological investigation on that.  
 
Thx mikkel.,.
 

guillaume LaBelle
lunetta

7200475272004752 WWW Email
Re: fullscreen inside P5 environment?
« Reply #4 on: Jan 27th, 2005, 9:58pm »

hey, I just read the answer now (sweet vacation)
and I'm laughing alone:
I've been using processing for a year and I had never, ever, ever saw this button on the menu.  
 
Really useful, thanks for the feedback
 
Pages: 1 

« Previous topic | Next topic »