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