Find selection from Studio in PDF or MS Word

Hi Community, 

I want a script that works this way: I select a text somewhere in Studio (say, a portion of source segment) and press a magic key combination => Focus goes to a PDF or MS Word file already opened in another window and it finds the text I selected in Studio. Is it possible? I tried to google for it but to no avail.


Top Replies

Parents Reply
  • Try to insert a few lines after the line with the Send, ^f and Sleep, 250:

    Send, ^a
    Sleep, 100
    Send, {Del}
    Sleep, 100

    If you leave the #IfWinActive away altogether it will work in all programs. If you want it to work only in Studio and in a browser then I think you have to copy the code and have one script for only in Studio and one for only in Chrome.