Batching videos into Gifs - possible action?

Hello,
I have a large number of videos (Pro res) I need as Gifs.
Currently, I do this:
File > Import > Video Frames to Layers
Then I run a resize image action I have made (70px x 87px)
Then Save for web > OK and save as a Gif.

I'd like to create an action so I can do this for the whole batch, instead of each individual video.
Unfortunately, when I import video to layers, it creates an 'untitled-1' document, but I need ti keep the original file name.
Does anyone know a way I can batch the entire set of videos, keeping the original file names, resizing to 70px x 87px and then saving as Gifs?

The easiest way to do this is using After Effects. Import your ProRes files, then in "Make Movie" set up an image sequence export with the specs you require. Each frame will be created with the file name you specify plus a sequence number (0001, 0002, etc.). When finished setting up each ProRes file, the render window will batch render everything.

Thanks for your response, but I'm working with AE CS6 where the make movie command has been removed and you no have to Add to Render Queue where I don;t see any gif options. The Adobe website says:
To create an animated GIF movie, first render and export a QuickTime movie from After Effects. Then import the QuickTime movie into Photoshop Extended and export the movie to animated GIF using Save For Web & Devices.

I think this is the source of the problem. Instead of importing the file, simply open the file in PS. I tried this and when I saved for web it retained the original file name and changed the extension to GIF.

Make an action to resize to 70 x 87
Make an action to save for web (GIF)

Make an action that plays the scale action and then plays the save for web action (Scale and GIF)

Haven't figured out a way to limit to or optimize around a specific file size yet without a second app, but in Photoshop CC 2015, this script allows me to automate>batch videos to gifs at a decent quality at a little less than 1MB/SEC of video:

With a video open, record this script:
1) In the timeline menu (top right of timeline) set timeline frame rate to 10fps
2) convert frames>flatten frames into clips
3) convert frames>make frames from clips
4) set the work area forward to start at your first frame
5) file>export>save for web (legacy) and choose GIF, 640x360, 128 colors, looping forever