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

  • 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.

  • 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.

  • 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 ,



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


  • 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"