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
Post a Comment