Jump to content

Recommended Posts

Posted

Is there any API or functions to convert all office documents(excel,word,ppt,etc) and pdf to images (jps,bmp or convert any animation in ppt to swf or gif).

It should convert all the pages in the document to individual image files.

 

Please help me on this.

Posted

_WORD_..... (Standard UDF)

and QUICKPDF UDF (look in my signatures)

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Why would you need images? Isn't a PDF enough?
What do you try to achieve with images that can't be done with a PDF?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 10/3/2015 at 5:04 PM, water said:

Why would you need images? Isn't a PDF enough?
What do you try to achieve with images that can't be done with a PDF?

Can't say exactly.But this is just  client requirement in my org.

Posted
  On 10/3/2015 at 1:37 PM, mLipok said:

_WORD_..... (Standard UDF)

and QUICKPDF UDF (look in my signatures)

 

I didn't found any function to convert word to images.in _word_ . Can you provide any code sample.

Posted

As far as I know MS Word only supports PDF and XPS as export/save formats.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)
  On 10/10/2015 at 1:12 PM, water said:

As far as I know MS Word only supports PDF and XPS as export/save formats.

Then first I will convert all the docs to pdf and search alternate for converting pdf to images.
Through _Word_DocExport($oDoc, $sFilename) I am able to convert word to pdf.But I didn't see any _ppt or similar to that. Can you help me on this.

 

I got excel.au3 but not for ppt.

Edited by ur
Posted

AutoIt only comes with UDFs for IE, Word and Excel. I will post some code as soon as I return to my office. 

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 10/10/2015 at 12:53 PM, ur said:

I didn't found any function to convert word to images.in _word_ . Can you provide any code sample.

  On 10/10/2015 at 2:05 PM, ur said:

Then first I will convert all the docs to pdf and search alternate for converting pdf to images.
Through _Word_DocExport($oDoc, $sFilename) I am able to convert word to pdf.But I didn't see any _ppt or similar to that. Can you help me on this.

I say exactly what you need to do:

  On 10/3/2015 at 1:37 PM, mLipok said:

_WORD_..... (Standard UDF)

and QUICKPDF UDF (look in my signatures)

I mean use WORD UDF to convert DOC to PDF

and use QUICKPDF UDF to convert PDF to JPG .....

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Search for PDFCreator. (www.pdfforge.org)

It seems to be able to "print" everything as pdf,jpg,tif ...

A COM interface makes it a good candidate for automation using Autoit.

Posted

Gee!

You have right ..... I think my memory is failing ;)

Look in my signature for PDFCreator UDF :)


mLipok

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

I have a follow up question on this thread, not trying to hijack it...is there anyway to hide the word doc (I know there is the functionality in the Excel UDF) while performing the conversion?

  Reveal hidden contents
All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

  Reveal hidden contents

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Posted

For function _Word_Create set parameter $bVisible to False.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 10/16/2015 at 12:23 PM, water said:

For function _Word_Create set parameter $bVisible to False.

Thanks, over looked that one...

  Reveal hidden contents
All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

  Reveal hidden contents

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...