Adobe Illustrator script to place one file into another file.
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

I have an Adobe Illustrator file that contains an arrow. (see file leader-arrow.ai)

And i have 100 other Adobe Illustrator files, which contain one text item. (I placed one of these files at sample.ai)

I simply need an Adobe Illustrator script that will place the contents of leader-arrow.ai to the LEFT of the text object (in sample.ai).

The result will look like this: https://i.imgur.com/PEmg7kr.gif

The Sample Adobe Illustrator files are here: http://tinyurl.com/yajah94u

The X Y position of the text (in sample.ai) is a little bit different in each document. So the script must "find the edge" of the text layer each time it runs.

Here's a sample script that will import, but I don't know how to "place" documents. https://gist.github.com/robmoggach/9df50a1e4eb936a5a2db

Crowdsource coding tasks.