Community
    • Login

    SendKeys command does not run the macro using "objShell.SendKeys ("^+8"")

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 569 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.
    • Suvendu MullickS Offline
      Suvendu Mullick
      last edited by

      HI Team,
      I have written a VB macro to call few macro in Note pad++ using shortcut keys but from yesterday (14/10/2020) this sends key command does not run the macro using “objShell.SendKeys (”^+8"") please help … i am using Notepad++v7.8.9
      Thanks and regards
      suvendu

      Dim objShell

      Set objShell = CreateObject(“Wscript.Shell”)

      objShell.Run “notepad++.exe ““C:\Swisscom\X-Sites\Node_fileT.xml”””, 1, False

      'WScript.Sleep (10)
      Application.Wait (Now + TimeValue(“0:00:02”))

      objShell.SendKeys (“^+8”)

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Suvendu Mullick
        last edited by

        @Suvendu-Mullick

        and this worked previously?? What did change?

        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