Menu

#683 Menu command to copy filename to clipboard

Completed
closed
SciTE (280)
4
2010-06-02
2010-04-13
Hans
No

Nice would be SciTE had menu commands to copy the filename to the clipboard as path, name, c literal or link.
Often needed to insert file names in documents.

See CopyFileNameToClipboard() function in SciteWin.cxx (attached to #2986724)

Discussion

  • Hans

    Hans - 2010-04-13
    • labels: --> SciTE
     
  • Neil Hodgson

    Neil Hodgson - 2010-04-14
    • priority: 5 --> 4
    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson

    Neil Hodgson - 2010-04-14

    This has been asked for before and there probably is sufficient use for it to be added but I don't think all the variants are needed, particularly the URL escaped form which is rather Germanic in its choice of characters to escape - that's the sort of specialized functionality that belongs in scripts.

    This command does almost the same thing although it depends on the output.code.page being 65001 (UTF-8) since CopyText works using the pane's encoding:

    command.name.2.*=Copy Path
    command.mode.2.*=subsystem:lua,savebefore:no
    command.2.*=dostring output:CopyText(props.FilePath)

     
  • Neil Hodgson

    Neil Hodgson - 2010-04-16

    Added File | Copy Path to copy the full path.

     
  • Neil Hodgson

    Neil Hodgson - 2010-04-16
    • milestone: --> Completed
     
  • Neil Hodgson

    Neil Hodgson - 2010-06-02
    • status: open --> closed
     

Log in to post a comment.