Welcome, Guest. Please login or register.

Author Topic: change screenmode from dos?  (Read 2013 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline runequesterTopic starter

  • It\'s Amiga time!
  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 3695
    • Show only replies by runequester
change screenmode from dos?
« 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
« Last Edit: July 20, 2011, 08:21:16 AM by runequester »
 

Offline Matt_H

Re: change screenmode from dos?
« Reply #1 on: July 20, 2011, 01:26:54 PM »
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
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: change screenmode from dos?
« Reply #2 on: July 20, 2011, 05:50:59 PM »
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... :)
« Last Edit: July 20, 2011, 05:57:28 PM by Franko »
 

Offline runequesterTopic starter

  • It\'s Amiga time!
  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 3695
    • Show only replies by runequester
Re: change screenmode from dos?
« Reply #3 on: July 20, 2011, 06:27:09 PM »
Thanks guys :)