Author Topic: pdf2mgzn - automation tool  (Read 2447 times)

myspacee

  • Newbie
  • *
  • Posts: 13
pdf2mgzn - automation tool
« on: February 10, 2010, 12:19:45 pm »
Hello to all,
in these days i read all wiki and understand MegaZine basic usage (fantastic)

Assemble little tool that help to convert given PDF directory to Megazine flipbook :

[link removed by mypacee]

Tool is command line so if you want, drag&drop your folder over exe and wait for result.

It's a beta version so test and if you want report bug. Adding some new feature as
text search, cooliris  structure [http://www.cooliris.com/], .ini support to guide
flipbook generation, etc.

Some feedback is appreciated. Thank you for reading.

m.
« Last Edit: February 12, 2010, 03:49:48 pm by myspacee »

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: pdf2mgzn - automation tool
« Reply #1 on: February 10, 2010, 08:00:18 pm »
Hi,

gave this a try in a VM (sorry, always a little suspicious of megaupload / rapidshare links ;)) and it always results in an error message box (AutoIt I see, that's why the icon was so familiar).

Code: [Select]
Line -1:

Error: Subscript used with non-Array variable.

And in the console

Code: [Select]
pdf 10:53:43 AM : Copy *.pdf
pdf 10:53:43 AM : check if PDF number is divisible by four..

What I do is drag a folder containing a pdf onto the exe. Is that wrong? :P

Thanks for sharing!
Florian

PS: what's with the ftp upload thingy when starting it directly, though? Makes me feel a little queasy when I'm asked for passwords out of the blue ;) [again, don't get me wrong, but I think it's just the sane thing to do to be suspicious of unknown .exes in this day and age :)]
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

myspacee

  • Newbie
  • *
  • Posts: 13
Re: pdf2mgzn - automation tool
« Reply #2 on: February 10, 2010, 10:53:50 pm »
thank you Florian for give it a try,
see that routine that compensate PDF number fails...

This step port PDF number to be divisible by four, 'cause newspaper is composed
by four pages per sheet. Try to put in your folder a number of PDF divisible by 4 ( 4,8,12,16,etc)
to skip this part of code.

I want to correct this, in my environment have 100% success, can you send me your PDF folder
(can give to you space where to put zipped archieve)

FTP thing is relative to code reused, forgot it, in final build you find instruction to use program.

Thank you for opportunity and hope you can obtain at least one successfull result,

For now good night,

m.


myspacee

  • Newbie
  • *
  • Posts: 13
Re: pdf2mgzn - automation tool
« Reply #3 on: February 12, 2010, 03:50:58 pm »
Find bug, and correct it. Remove also link wainting to upload new build.

thank you for help find (stupid) bug,

m.

myspacee

  • Newbie
  • *
  • Posts: 13
Re: pdf2mgzn - automation tool
« Reply #4 on: February 18, 2010, 06:45:05 pm »
HEllo again,
correct some bug. Here new exe : http://www.megaupload.com/?d=P5ZG98H2

Thank you for trying,

m.

myspacee

  • Newbie
  • *
  • Posts: 13
Re: pdf2mgzn - automation tool
« Reply #5 on: February 28, 2010, 07:42:51 pm »
hello again.

add some feature:
- support for single pdf file with multipage
- add automatic index generation (!)
- correct some bug

http://www.megaupload.com/?d=61LI8RK2

in next version think to add 'album' mode to obtain
from given jpg images with this effect:



he's my kid.

thank you for reading,

m.
« Last Edit: February 28, 2010, 08:02:41 pm by myspacee »

myspacee

  • Newbie
  • *
  • Posts: 13
Re: pdf2mgzn - automation tool
« Reply #6 on: March 02, 2010, 06:23:22 pm »
Hello again:
- Update with last megazine archive
- fix bug on .pdf folder
- add .jpg folder support

http://www.megaupload.com/?d=ROFRAI1W

thank you for your time.

m.

bmullan

  • Newbie
  • *
  • Posts: 2
Re: pdf2mgzn - automation tool
« Reply #7 on: March 07, 2010, 01:10:26 am »
Would there be any chance of getting a linux version of your tools ?

myspacee

  • Newbie
  • *
  • Posts: 13
Re: pdf2mgzn - automation tool
« Reply #8 on: March 07, 2010, 12:14:03 pm »
thank you for interest bmullan,
but my tool is Autoit based (windows scripting language).

It's a BIG batch that take files rename/resize/extract text/index/etc.

Linux has strong imagemagick and ghostscrpt support. Think it's easy to port.

Script source is a avaible for all .

Only custom functions are for extracting text and index, and image resizing.

m.

Saltstraumen

  • Newbie
  • *
  • Posts: 4
Re: pdf2mgzn - automation tool
« Reply #9 on: March 09, 2010, 10:28:09 am »
Hello,
where can i get the source of the automation tool you described in the post before?
sincerley
Martin

myspacee

  • Newbie
  • *
  • Posts: 13
Re: pdf2mgzn - automation tool
« Reply #10 on: March 09, 2010, 06:56:41 pm »
ehm, Martin from Autoit forum ?
AutoIt MVPs(MVP)

uploading script....

http://www.webalice.it/t.bavaro/pdf2mgzn_src.zip

m.
« Last Edit: March 09, 2010, 07:21:17 pm by myspacee »

Saltstraumen

  • Newbie
  • *
  • Posts: 4
Re: pdf2mgzn - automation tool
« Reply #11 on: March 10, 2010, 08:53:14 am »
Hello sorry
I don't saw it
Martin