FileInsertAtCursor

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
pwdiener
Posts: 134
Joined: Wed Jul 11, 2007 3:45 pm

FileInsertAtCursor

Post by pwdiener »

How does FileInsertAtCursor work? I'm assuming that a file is inserted in to the current document at the cursor position. Is the name of the file to be inserted passed as an argument to FileInsertAtCursor?

Are there other keyboard functions (macro functions) that take parameters?

Bill
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

How does FileInsertAtCursor work? I'm assuming that a file is inserted in to the current document at the cursor position.
That is correct ;)
Is the name of the file to be inserted passed as an argument to FileInsertAtCursor?
No. The FileInsertAtCursor is a keyboard function an like all keyboard functions takes no arguments.

The function will prompt the user for the file to be inserted.

To see how it works just do the following:
  1. File, New menu
  2. Macros, Execute Script menu
  3. Type in FileInsertAtCursor
Are there other keyboard functions (macro functions) that take parameters?
None.

But if needed it should be very easy to write a macro that does the same and also takes a file name as a paramater;)

Cheers Jussi
Post Reply