Source language: Translate to:

strange behaviour of RunInRectangle

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

strange behaviour of RunInRectangle

Postby Horst Helfen » Sun Jan 31, 2016 6:11 am

Hello,

I built an application that uses SumatraPDF (http://www.sumatrapdfreader.org/free-pdf-reader.html) in a rectangle. My NeoBook applications doesn't run in full screen mode. When I got to the page with the rectangle, SumatraPDF opens in full screen mode an then resizes to the rectangles size. That leads to a flicker effect which I would like to avoid.
Horst Helfen

Programmers don't die, they just GOSUB without RETURN.
User avatar
Horst Helfen
 
Posts: 100
Joined: Thu May 05, 2005 4:11 am
Location: Hamburg, Germany

Re: strange behaviour of RunInRectangle

Postby Neosoft Support » Sun Jan 31, 2016 4:32 pm

Getting any software to run inside a rectangle is a bit of hack to begin with, so I doubt that there is anything we can do to prevent the flicker. Most apps aren't designed to be confined to a rectangle, so really we're lucky that SumatraPDF works at all.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: strange behaviour of RunInRectangle

Postby Tony Kroos » Sun Jan 31, 2016 10:01 pm

https://github.com/sumatrapdfreader/sum ... -arguments
Try to set some command-line arguments like -view or -presentation
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: strange behaviour of RunInRectangle

Postby Horst Helfen » Mon Feb 01, 2016 12:42 am

Hello Tony,

thank you very much for you hint. Opening SumatraPDF minimized solved the problem.
Horst Helfen

Programmers don't die, they just GOSUB without RETURN.
User avatar
Horst Helfen
 
Posts: 100
Joined: Thu May 05, 2005 4:11 am
Location: Hamburg, Germany


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 0 guests