Author Topic: Insert the Contents of Another File  (Read 4511 times)

Lisa

  • Senior Community Member
  • Posts: 238
  • Hero Points: 23
  • User-friendly geek-speak translator extraordinaire
Insert the Contents of Another File
« on: September 25, 2007, 02:30:04 pm »
To insert the contents of a file before or after the current line, use the get command. Open the SlickEdit command line (press Esc or click in the message area), type get file (where file is the name of the file you want to insert), then press Enter. To browse for a file to insert, use File > Insert a File (or the gui_insert_file command) instead.

Bonus Tip: By default, the file is inserted after the current line. The insert location is based on the Line insert style setting on the More tab of the General Options dialog (Tools > Options > General). Note that this setting is also controlled by the def_line_insert configuration variable (set to A for After or B for Before).

For more information about get, use the Help index (Help > Index). For information about setting config variables, see the Did You Know tip called Set Config Variables.
« Last Edit: September 27, 2007, 02:20:50 pm by Lisa »