title: Autocomplete with parameters in Autokey
body: <p>I'm using autokey to improve my productivity, I create a sample script with abbreviation that trigger when the tab key is pressed, and the next code is executed by autokey:</p>
  
  <pre><code>output = "My phrase"
  keyboard.send_keys(output)
  </code></pre>
  
  <p>And it work with simple phrases, but I need send parameters in the abbreviation and I need that Autokey use that parameters to generate the phrase. For example I need that with the abbreviation abb-param1-param2, Autokey output the phrase: </p>
  
  <p>This is the message, and you send the parameters: parameter 1: param1, paremeter 2: param2.</p>
  
  <p>My problem with this is  that I cant get the word before the cursor text to split it with the '-' separator and take the two last positions of the generated array like parameters to generate the new phrase.</p>
  
  <p>Somebody know what can I to do to solve this problem ? 
  Thank you.</p>