Author Topic: SWFTOOLS on a Mac  (Read 1914 times)

gtech

  • Full Member
  • ***
  • Posts: 70
SWFTOOLS on a Mac
« on: September 08, 2010, 05:47:02 pm »
As I am in the process of moving my applications from a PC to a Mac, I also played with the idea of using Megazine3 on my Mac.

One of things that would have to be done is transposing Windows batch files to Applescript or another language. But first, the SWFTOOLS must be installed to permit the "Conversion of a PDF File into an MZ3 Book".

So that's what I finally did today, and I must say it wasn't as easy as I thought. And in case someone else want to do it someday, here is a detail that is good to know...  there is a mistake in a link right now and it won't install because of that...

Here is where I found the answer to why it wasn't installing  https://trac.macports.org/ticket/26075

It may be mentioned elsewhere but that's where I found it first.

So I had to:

sudo port clean -f --all db46
sudo port selfupdate
sudo port install db46


to fix it and compile the swftools on my Mac as instructed

To compile swftools on Mac OS X,
You need to get Mac Ports. After this, do this:
   sudo port
   install swftools


Now, pdf2swf works on my Mac, and I can begin to keep working on the real goal... use MZ3 on my Mac

Gilles
 

« Last Edit: September 08, 2010, 05:49:24 pm by gtech »

Hans Nücke

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 787
  • MegaZine3 Sales Manager
Re: SWFTOOLS on a Mac
« Reply #1 on: September 11, 2010, 11:18:09 am »
Good to know it works; thank you for sharing!

gtech

  • Full Member
  • ***
  • Posts: 70
Re: SWFTOOLS on a Mac
« Reply #2 on: September 16, 2010, 07:29:41 pm »
Well, there may not be many Mac users around here, but as an added note, I would like to mention that I am now able to create an ebook from a SWF file converted from a PDF in Python. It's not a lot, but I experimented with Python for quite a while to make sure that it was worth learning it before I decided to really use it.

Here is a test ebook  that I made using a simple reader (sorry... in french) just as an exercise.   http://gtechblues.com/Python_en_10min.swf

I am just using the os.system("opt/local/bin/pdf2swf ..........etc......") command

I will now make a graphical interface to enter the details, etc..., all in Python.

The way I see it is that if I can make it work on my Mac, I will know more about how to do it on a PC too, except for some details. But my original goal anyway is to be able to use the MZ3 ebooks on my Mac.

So this should conclude the thread that is about the SWFTOOLS on a Mac.

Gilles
« Last Edit: September 19, 2010, 05:00:42 pm by gtech »