Create a new file

Sometimes one wants to create a new file in the same directory as the file in the active tab. NoteTab doesn't support this reliably.

Here is a clip script to do this. Note that it names the file "new.php" but you can change this to any default name you wish.

When you run the script (press ESC and type the name you gave it, or double-click the name in the F4 clip library tab), it will actually create the new file in the current folder and then prompt you to rename it.

Here is the script:

^!Set %new%=^$GetPath(^$GetDocName$)$new.php
^!MENU File/New
^!Save AS ^%new%
^!MENU Document/Rename

David Spector
Springtime Software

Login or Signup to post a comment

Create a new topic

Start a new topic

Aid4Mail is a trademark licensed to Fookes Software Ltd. Fookes is a registered trademark of Fookes Holding Ltd. All other trademarks and service marks, both marked and not marked, are the property of their respective owners.