leehblue/texpander

Not an issue, only a question

Closed this issue · 3 comments

What exactly is the purpose or benefit of the Zenity popup window? Wouldn't it be easier to use xdotool to read from a specified text file, copy the contents of that file and after a short delay paste the contents of the file where you want? Granted you would need multiple shortcut keys, one for each phrase, but I only have three or four I use,
This would eliminate need for an (only in my opinion), annoying box popping up and requiring the insertion of a code to tell the script which text to copy and paste.

For what it is worth, which may not be much, here is how I solved this problem:
https://askubuntu.com/questions/280604/assign-hotkeys-to-paste-predefined-text
Scroll down after all the Auto Key stuff

The popup allowing you to select the file for insertion is the key focus of texpander, IMO. I work in an environment with thousands of hosts where I am not able to push custom files, and I use texpander to paste a fair number of utility scripts on the command-line.

@ravenx99 Fair enough - if it works for you that is great.

Like @ravenx99 I too have a lot of different snippets I expand. Some code related. Some are common answers for support ticket questions, etc. So, it's really important to me to be able to have a quick way to get to a bunch of different content. The zenity pop up seems to be the fastest and easiest way to acheive that. Thanks for using and contributing to Texpander =)