Is there a way to write console command results to a file?

Post » Wed May 16, 2012 10:09 am

Sort of like windows command operator >

dir > myfile.txt

so if you did: help "ebony sword" > ebonysword.txt
User avatar
Claire Lynham
 
Posts: 3432
Joined: Mon Feb 12, 2007 9:42 am

Post » Wed May 16, 2012 6:10 pm

Not sure, but the Page Up and Page Down button on your keyboard will scroll up/down the console page.
User avatar
Betsy Humpledink
 
Posts: 3443
Joined: Wed Jun 28, 2006 11:56 am

Post » Wed May 16, 2012 6:43 pm

Haven't tested it, but in the Fallout games you could use "SetConsoleOuputFile" (note the missing "t"), or "scof" for short.

Cipscis
User avatar
Kieren Thomson
 
Posts: 3454
Joined: Sat Jul 21, 2007 3:28 am

Post » Wed May 16, 2012 10:30 pm

Not sure, but the Page Up and Page Down button on your keyboard will scroll up/down the console page.

You could use Autohotkey with a script like this:

#SingleInstance force
#IfWinActive Skyrim
*r::
Send {Blind}{r DownTemp}{8 DownTemp}
return
*r up::
Send {Blind}{r up}{8 up}
return

When you then push the "r" key, Autohotkey will automatically push the "8" key as well. Put the shield on that quickslot and it should be unequipped when you sheathe the weapon.


So with the ability to grab console information, a scripting language included in autohotkey, which has the ability to grab information from files... you could emulate the command you want. Query the game with help, get the item ids of the things you are dealing with. write that to a file. parse it with autohotkey, and write a bat file as a result, which would execute what ever command you wanted to execute in game, and then close the console...

So, its pretty damn awesome. BUT I would need to get the results from the help from the console into a file to do it.
User avatar
Emma Louise Adams
 
Posts: 3527
Joined: Wed Jun 28, 2006 4:15 pm

Post » Wed May 16, 2012 11:24 am

Haven't tested it, but in the Fallout games you could use "SetConsoleOuputFile" (note the missing "t"), or "scof" for short.

Cipscis
Doesn't work, sadly, I tried this ages ago this is possibly the reason why:
http://www.uesp.net/wiki/Skyrim_talk:Console#ToggleDebugText_.28tdt.29_doesn.27t_work_-_anyone_else.3F

Someone could possibly build a new console.swf that allows output to a file, it would have to use some kind of calls to a SKSE plugin or something as actionscript doesn't allow you to write to files...
User avatar
A Lo RIkIton'ton
 
Posts: 3404
Joined: Tue Aug 21, 2007 7:22 pm

Post » Wed May 16, 2012 8:56 pm

Doesn't work, sadly, I tried this ages ago this is possibly the reason why:
http://www.uesp.net/wiki/Skyrim_talk:Console#ToggleDebugText_.28tdt.29_doesn.27t_work_-_anyone_else.3F

Someone could possibly build a new console.swf that allows output to a file, it would have to use some kind of calls to a SKSE plugin or something as actionscript doesn't allow you to write to files...


Funny how they could make this so easy, but they choose not to.
User avatar
xemmybx
 
Posts: 3372
Joined: Thu Jun 22, 2006 2:01 pm


Return to V - Skyrim