Amiga.org
		Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: runequester on July 20, 2011, 07:54:37 AM
		
			
			- 
				basically is there a way to change the workbench screen mode from dos / cli?
 
 If so, how?
 
 Thanks in advance
 
 
 actually got it sorted out, though if anyone has the answer, id still love to know
- 
				I don't know a way to do it directly, but if you have a preset saved you can use the Screenmode prefs without opening the GUI. I think the syntax is something like (assuming SYS:Prefs is in your command path):
 
 Screenmode SYS:Prefs/Presets/myscreenmode.preset USE
- 
				Not sure what you mean by "from dos" but if you mean from the CLI/Shell then you can do it this way... :)
 
 Set the Screenmode to the way you want it using prefs, then copy the and rename the file it creates in ENV:sys/screenmode.prefs to something like, My16ColourPrefs
 
 Then in the CLI/Shell type...
 
 Copy My16ColourPrefs To ENV:sys/screenmode.prefs (return)
 
 This will set the screen mode to whatever your settings were in the file "My16ColourPrefs"
 
 The only problem with this is you will get a requester telling you "Intuition is trying to... blah blah blah)", all you have to do is close the cli/shell window and any others and it will change the screenmode to your new settings... :)
 
 Not very good but intuition wont be able to set the new mode if a cli/shell window is open to do it properly you really need to make an executable script to this that can be run itself or/and made to close the CLI/Shell automatically... :)
 
 I'm pretty sure there were some PD utils for doing this if you're not able or wanting to write a script, cant recall the names of them though, try checking out Aminet... :)
- 
				Thanks guys :)