# Rename, Show Preview - Control number of lines shown?

**URL:** <https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933>\
**Category:** Help & Support\
**Created:** [October 24, 2008, 9:35pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933 "2008-10-24T21:35:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AEon](https://resource.dopus.com/user_avatar/resource.dopus.com/aeon/32/13006_2.png) [@AEon](https://resource.dopus.com/u/AEon)\
**Post date:** [October 24, 2008, 9:35pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/1 "2008-10-24T21:35:03Z")

</div>

Is there some way to control the number of lines the Rename dialog shows in Preview mode? It seems to show the first 128 by default.

I coded a Rename script (JavaScript) and would need to see the results of the renaming for several hundred file names.

Thanks.

---

<div class="post-metadata">

**Author:** ![Cris](https://resource.dopus.com/user_avatar/resource.dopus.com/cris/32/25993_2.png) [@Cris](https://resource.dopus.com/u/Cris)\
**Post date:** [October 24, 2008, 9:41pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/2 "2008-10-24T21:41:30Z")

</div>

Just drag the lower-right hand corner of the window via the handle to resize the Rename dialog ...

---

<div class="post-metadata">

**Author:** ![Cris](https://resource.dopus.com/user_avatar/resource.dopus.com/cris/32/25993_2.png) [@Cris](https://resource.dopus.com/u/Cris)\
**Post date:** [October 24, 2008, 9:46pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/3 "2008-10-24T21:46:25Z")

</div>

Sorry, just ignore my reply, i think i didn't read your post very well ...

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [October 24, 2008, 10:49pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/4 "2008-10-24T22:49:35Z")

</div>

You can use the Test mode option in the Rename dialog if you want to see more lines than the preview shows.

---

<div class="post-metadata">

**Author:** ![AEon](https://resource.dopus.com/user_avatar/resource.dopus.com/aeon/32/13006_2.png) [@AEon](https://resource.dopus.com/u/AEon)\
**Post date:** [October 25, 2008, 11:03am UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/5 "2008-10-25T11:03:22Z")

</div>

Even though I had tried it out, I never thought of using the Test view in such a way. This works pretty well. Thanks.

My "Book Title Caps" rename script should be done soon, will post it over at the Scripts forum.

---

<div class="post-metadata">

**Author:** ![tbone](https://resource.dopus.com/user_avatar/resource.dopus.com/tbone/32/25726_2.png) [@tbone](https://resource.dopus.com/u/tbone)\
**Post date:** [October 25, 2008, 11:46am UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/6 "2008-10-25T11:46:15Z")

</div>

Hi Aeon,

can you explain to me (in short), how you switched your rename script  
to javascript ?! I thought DO just supports visual basic scripting ?!

thx!

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [October 25, 2008, 12:22pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/7 "2008-10-25T12:22:52Z")

</div>

There's a guide to using JScript and Perl here:

[[Rename scripts in JScript, VBScript and PerlScript](http://resource.dopus.com/t/rename-scripts-in-jscript-vbscript-and-perlscript/5480/1))

---

<div class="post-metadata">

**Author:** ![tbone](https://resource.dopus.com/user_avatar/resource.dopus.com/tbone/32/25726_2.png) [@tbone](https://resource.dopus.com/u/tbone)\
**Post date:** [October 25, 2008, 12:44pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/8 "2008-10-25T12:44:46Z")

</div>

Oh sweet, and that simple.. o)

Thank you Leo!

---

<div class="post-metadata">

**Author:** ![AEon](https://resource.dopus.com/user_avatar/resource.dopus.com/aeon/32/13006_2.png) [@AEon](https://resource.dopus.com/u/AEon)\
**Post date:** [October 25, 2008, 1:13pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/9 "2008-10-25T13:13:43Z")

</div>

Right, I was so happy to find leo's info on JavaScript, because I started writing scripts for UltraEdit recently (ARexx returneth... somewhat) and did not really want to learn _another_ language.

My Rename script is quite long and fully commented so it should help you check out a few "working" examples.

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [October 25, 2008, 1:16pm UTC](https://resource.dopus.com/t/rename-show-preview-control-number-of-lines-shown/6933/10 "2008-10-25T13:16:37Z")

</div>

Myarmor deserves the credit really. I just packaged the info into a convenient post. 🙂
