aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/go_input.sh
blob: c873dd8b02569ba50bfa65084d4cfb619c54379b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

config=$1;
shift
pid=$1;
shift
xid=$1;
shift
fifo=$1;
shift
socket=$1;
shift
url=$1;
shift
title=$1;
shift

case $(echo 'script @scripts_dir/go_input.js' | socat - unix-connect:$socket) in
  *XXXEMIT_FORM_ACTIVEXXX*) echo 'event FORM_ACTIVE' | socat - unix-connect:$socket ;;
esac