• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    M2 find word from compoasing & continue my custom command

    Opera for Windows
    2
    4
    1070
    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.
    • emc
      emc last edited by

      Hello ,

      I have a custom context menu command :

      Insert , "Hello ! how are you ? Pleased to invite you to our party on : . Appreciate your answer. Thank you !"

      I know the command to previous word & Execute program, "c:/windows/nircmd.exe", "sendkeypress enter" after ' How are you ' ....etc. so that what I wrote can automatically in a paragraph format with line space.

      I want to insert something with-in the paragraph i.e. the date or some word after " party on : ".

      Can I also make command at the end to have Opera find me the ":" and stop the cursor there ?

      I don't know if using FIND or SEARCH ? and then ,,,,,, what to do ? deselect all ...etc. ?

      Thank you very much.
      Edmond

      Reply Quote 0
        1 Reply Last reply
      • sgunhouse
        sgunhouse Moderator Volunteer last edited by

        Opera Mail doesn't support that as such. But you're missing a lot of things it can do.

        If you want a new line somewhere, use \n. Opera should support standard escape codes like that.

        Is that the full text of your message other than the date? Insert the closing first, then go back to the start and insert the first part - then the cursor will be at the end of the last part you inserted. Or count lines to get there.

        Reply Quote 0
          1 Reply Last reply
        • emc
          emc last edited by

          Thanks

          If you want a new line somewhere, use \n

          Did yoou mean \n can be a command to substitute Execute program, "c:/windows/nircmd.exe", "sendkeypress enter" ?

          I am currenty using all like this :

          Insert , " Hi sgunhouse , thanks. edmond"
          & delay , & go to line start & next word & next word & nwst word
          & delay , 1000 & Execute program, "c:/windows/nircmd.exe", "sendkeypress enter"
          & Execute program, "c:/windows/nircmd.exe", "sendkeypress enter"
          & next word & dexxt word
          & delay , 1000 & Execute program, "c:/windows/nircmd.exe", "sendkeypress enter"
          & Execute program, "c:/windows/nircmd.exe", "sendkeypress enter"

          So final I get :

          Hi sgunhouse ,

          Thanks.

          edmond

          Can I really use /n in the command so I can skip the sendkeypress ? ( and how the command should looks like > )

          Thanks
          edmond

          Reply Quote 0
            1 Reply Last reply
          • sgunhouse
            sgunhouse Moderator Volunteer last edited by

            You will need to use nircmd.exe to click buttons, \n is only for use inside text strings.

            Insert, "Hi edmond\n\nYou're welcome\n\nSteve"

            Reply Quote 0
              1 Reply Last reply
            • First post
              Last post

            Computer browsers

            • Opera for Windows
            • Opera for Mac
            • Opera for Linux
            • Opera beta version
            • Opera USB

            Mobile browsers

            • Opera for Android
            • Opera Mini
            • Opera Touch
            • Opera for basic phones

            • Add-ons
            • Opera account
            • Wallpapers
            • Opera Ads

            • Help & support
            • Opera blogs
            • Opera forums
            • Dev.Opera

            • Security
            • Privacy
            • Cookies Policy
            • EULA
            • Terms of Service

            • About Opera
            • Press info
            • Jobs
            • Investors
            • Become a partner
            • Contact us

            Follow Opera

            • Opera - Facebook
            • Opera - Twitter
            • Opera - YouTube
            • Opera - LinkedIn
            • Opera - Instagram

            © Opera Software 1995-