'script must be run outside Illustrator, it can not run from the File->Scripts Menu 'script to open a single multipage pdf 'usage - drag and drop a single pdf file into this script. 'script will open the pdf in illustrator, add a layer and text frame with the file path 'then it will copy the text to easily paste it at save time, layer can be deleted if not needed fileStr = WScript.arguments(0) set iapp = CreateObject("Illustrator.Application") set idoc = iapp.open(fileStr) set ilayer = idoc.layers.add ilayer.name = fileStr set iframe = ilayer.textFrames.add iframe.contents = fileStr idoc.selection = null iframe.selected = true iapp.cut