Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hta for saving multiple pub files as jpg

Status
Not open for further replies.

alex6169

Programmer
Aug 18, 2009
1
AU
thread329-1425276

I have been looking all over the net for a script which will batch convert .pub files and save them as .jpg files and finally came across the post referenced above after about 3 months of searching!

The problem I have with the script posted by Swi is that when I select a file, it seems to not carry the file location. The input box simply says "test.pub" not "C:\path\to\test.pub" and an error tells me "cannot find C:\WINDOWS\system32\test.pub". The strange thing is that the first time I used the script, everything worked fine.

Does anyone know where the problem may lie? I am also going to try and modify the script to save each page as a new jpg (file1.jpg, file2.jpg etc) but am new to vbscript. I assume it will be relatively easy though, but if someone has any pointers or tips, that would be great.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top