Insert current file name at cursor position

Ask questions about how to create a script or swap scripts with other users.
Post Reply
jgodfrey
Posts: 471
Joined: 19 Aug 2011 23:02
Location: Missouri, USA

Insert current file name at cursor position

Post by jgodfrey »

As another possible solution to this post:

http://www.rjsoftware.se/Forum/viewtopic.php?f=2&t=1922

Here's a simple script to insert a fully-qualified copy of the current file's name at the cursor position.

Code: Select all

#language C++Script

// Insert the fully qualified current file name at the cursor position
{
   Document.InsertText(Document.FileName);
}
Post Reply