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.3k Views 1 Watching
    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 Offline
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors