google chrome - Expect to send the Ctrl+A to the browser -


i want start google-chrome , send ctrl+a chrome process, begin recording screencastify. have set shortcut key screencastify ctrl+a. following code snippet have used:

!#!/usr/bin/expect spawn google-chrome --new-window <url> send "\x01"; interact 

the ctrl+a not triggering recording on browser.

expect cannot work gui programs chrome. so, used xdotool.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -