View Single Post
Old 05-25-2019, 08:13 AM   #101
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Is there an option to spit out the coordinates of the printed text e.g. 0,178,20,178 ?
This way input events can be used in scripts easily

If you can do it ofcourse

Some pseudo code

Code:
#!/bin/sh
coordinates=$(fbink -x10 -y15 -newoption "Feature Request") #spits out 0,178,20,178
while read /dev/input ;do
   case event in
      coordinates) printf "pressed" ;;
   esac
done
BloodRagg is offline   Reply With Quote