# ScriptEditor redirect

**URL:** https://forum.highend3d.com/t/scripteditor-redirect/7531
**Category:** Maya
**Tags:** mel
**Created:** [December 18, 2000, 5:49am UTC](https://forum.highend3d.com/t/scripteditor-redirect/7531 "2000-12-18T05:49:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![geofffox](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/a8b319/32.png) [@geofffox](https://forum.highend3d.com/u/geofffox)
#### Post date: [December 18, 2000, 5:49am UTC](https://forum.highend3d.com/t/scripteditor-redirect/7531/1 "2000-12-18T05:49:16Z")

</div>

How do I automatically redirect the echo found in the scriptEditor to a file?   
geoffFox

---

<div class="post-metadata">

### Author: ![carmine-1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/c/97f17d/32.png) [@carmine-1](https://forum.highend3d.com/u/carmine-1)
#### Post date: [December 19, 2000, 4:41am UTC](https://forum.highend3d.com/t/scripteditor-redirect/7531/2 "2000-12-19T04:41:02Z")

</div>

did you take a look at the fprint mel commnd?

---

<div class="post-metadata">

### Author: ![geofffox](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/a8b319/32.png) [@geofffox](https://forum.highend3d.com/u/geofffox)
#### Post date: [December 19, 2000, 11:06pm UTC](https://forum.highend3d.com/t/scripteditor-redirect/7531/3 "2000-12-19T23:06:56Z")

</div>

No I have not looked at the fprint command ....but I will now.  
thanx  
geofffox

---

<div class="post-metadata">

### Author: ![pixelman](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/p/fbc32d/32.png) [@pixelman](https://forum.highend3d.com/u/pixelman)
#### Post date: [January 29, 2002, 1:48am UTC](https://forum.highend3d.com/t/scripteditor-redirect/7531/4 "2002-01-29T01:48:54Z")

</div>

It's maybee a bit late for a reaction to this post but here's a quick solution:

scriptEditorInfo -historyFilename "tempHistoryLog.txt" -writeHistory true;

'writes the ScriptEditors history to a .txt file in your Maya directory'

and

scriptEditorInfo -writeHistory false;

stops writing

Cheers,

John de Leeuw  
[aka Pixelman]  
[url=http://www.pixelmade.com][http://www.pixelmade.com[/url](http://www.pixelmade.com%5B/url)]  
[http://ncca.pixelmade.com](http://ncca.pixelmade.com)
