Forums are closed as read-only due to our ongoing migration to the new forums page.
Discussion thread

M2 find word from compoasing & continue my custom command

emc
Baseball

611 posts

  • Server monkey
  • 500 posts

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

3 Replies - 130 Views

sgunhouse
0 0
sgunhouse

3877 posts

  • Moderator
  • Server monkey
  • 2000 posts

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.

emc
0 0
Baseball

611 posts

  • Server monkey
  • 500 posts

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

sgunhouse
0 0
sgunhouse

3877 posts

  • Moderator
  • Server monkey
  • 2000 posts

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"