You will get a command line switch that tells you what mode to go into. This code is from a file I have (got it here somewhere) that shows how to build a screen saver in BlitzMax. You'll have to convert the syntax as I don't know BlitzPlus:
If AppArgs.length > 1
Select AppArgs[1]
Case "/p"
InitPreviewMode( )
Case "/s"
InitSaverMode( )
Case "/c"
InitConfigMode( )
Default
InitConfigMode( )
End Select
Else
InitConfigMode( )
EndIf
This might also help you: http://blitzmax.com/codearcs/codearcs.php?code=266
|