Open GoogleCodeExporter opened 8 years ago
It's an interesting idea. I think a less invasive way of doing this would be to
use the script API. One could add a function to the script API which lets the
script retrieve the abbreviation/word that triggered the running of the script.
You could then use that value and extract whatever info you need to construct
the right string to send to the keyboard. If you want to have a go I'd be happy
to accept a patch, otherwise it'll go on my to-do list.
Original comment by cdekter
on 2 May 2012 at 9:16
Why not just use bash aliases? For example, I have one called restsmb that runs
"sudo service smbd restart". You could create restXXX and restYYY that runs
your "sudo rctc..." commands.
Original comment by ThomasM...@gmail.com
on 18 Dec 2012 at 6:05
> If you wonder why I don't just create simple bash script, it's because there
are a lot of servers I need to do these commands and it would be hard to keep
them all in sync.
Original comment by adam.ziv...@gmail.com
on 18 Dec 2012 at 9:01
A reference to the trigger would be useful to do conversions such as kg to lbs
trigger: (d*)kg
the number captured by the regex in say 100kg can then be used in calculations
(say x=x*2.2) to give a phrase when expanded 100 kg = 220 pounds
Original comment by phuttenc...@gmail.com
on 9 Feb 2014 at 3:13
Original issue reported on code.google.com by
adam.ziv...@gmail.com
on 1 May 2012 at 7:41