Email Script That Generates a Unique Droplr Short Link

I created this basic script that does the following:

  1. Takes a static, long URL and applies it to the clipboard.
  2. Activates Droplr's shortcut keystroke to send current clipboard to Droplr. This automatically shortens any URL currently on the clipboard, generates a shortened link, and applies that shortened link to the clipboard.
  3. Types script which includes new short URL.
  4. Restores the short URL to the clipboard.

I'm using this workflow instead of activating menu items because Droplr is configured to hide the dock application, so basic menu commands are not accessible.

Generally, is this the most optimal way of performing this task? Am I missing something? I experimented with assigning the current clipboard to a variable and then including that variable in the script, but I couldn't get the macro working as intended. I think I'm utilizing variables incorrectly.