Bug #807

Print screen cmd direct mode

Added by malcolm harvey over 2 years ago. Updated over 2 years ago.

AOZ Studio Team
Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected version:


The Print screen cmd in direct mode, it certainly works in AOZ itself when it runs (so its recognized) but seams not working in direct mode at this time by the look if it.
ie:(Direct mode) If you type "Print screen" same as editor code it seams to understand that, but yet prints nothing in the console just does CRLF.
Other times it also can give syntax error instead.


Updated by Brian Flanagan over 2 years ago

The Screen function is working properly in B9 in the browser, AOZ Viewer, and in Direct mode.
Check and see if you were switching screens.
If you switched screens, but did not bring the screen to front, you would not see the result.

Here's some sample code to illustrate:


Screen Open 0,1920,1080,32,Lowres
Screen Open 1,1920,1080,32,Lowres

Scr = 0
    Locate 0,0
    Screen Scr : Screen To Front Scr
    Print "Scr:";Scr
    Print "Screen:";Screen
    Wait Key
    Inc Scr : If Scr > 1 Then Scr = 0
    Wait Vbl

So... when you try it in direct mode, make sure you do it like this:

Screen 1
Screen To Front 1
Print Screen
Screen 0
Screen To Front 0
Print Screen

Let us know if you still have problems.


Updated by Brian Flanagan over 2 years ago

  • Status changed from New to Feedback

Updated by Francois Lionet over 2 years ago

Seems to work with the new console...


Updated by Brian Flanagan over 2 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from none to 1.0.0 (B10) u16

...for me too, Francois. It was working in B9 as well.
I think Malcom will be happy once B10 is released. :-)

Also available in: Atom PDF