File: ffsp.sh

package info (click to toggle)
xdotool 20080720-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 140 kB
  • ctags: 110
  • sloc: ansic: 1,322; makefile: 59; sh: 50
file content (10 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Activate firefox and paste the clipboard contents into the url bar.

wid=`xdotool search --title "Mozilla Firefox"`
xdotool windowactivate $wid
sleep 0.2
xdotool key "ctrl+j"
xdotool key "BackSpace"
xdotool key "ctrl+v"
xdotool key "Return"