Community
    • Login

    Can I use "save as" with text saved to the clipboard within a macro?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    1 Posts 1 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas LeoneT
      Thomas Leone
      last edited by

      MACRO WRITERS…

      I’m trying to use “save as” within a macro but it is not working. Within the macro, I’m invoking the “save as” using the keystroke shortcut. The new name for the file is from a cut/paste of text within the file. This “cut/paste + save as” sequence works while recording but does not get preserved after the macro is saved then played back. In other words, when I playback the macro, the other changes within the macro occur, but the “save as” does not occur.

      The macro does a bunch of text manipulation and reformatting, along with saving off the file with the new name. I run the macro against a number of changed files on a regular basis.

      Perhaps there is another way within the macro to save the file based on the contents of some text in the file?

      Thanks and have a great day!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors