首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SWF到PDF成批转换

SWF到PDF成批转换
EN

Stack Overflow用户
提问于 2013-02-08 20:57:03
回答 2查看 3.9K关注 0票数 2

我有数百个swf格式的文件(这是一本电子书),我想把它们批量转换成pdf (在我的iPad上读取它们)。

我尝试过很少像eConverter (在swfdec中没有得到错误),这也可能不会完成批处理转换。

swftool,工作良好,但质量很差。我看不懂这些信。

SWF打印机 Pro质量又差

ffmpeg错误“不支持压缩SWF格式”

如果你们能帮我找到解决办法,那就太好了。谢谢

EN

回答 2

Stack Overflow用户

发布于 2014-10-01 07:17:05

如果您只想在iPad上阅读它们,您可以这样做:

  1. 在Finder中创建一本ORB书。

将所有swf文件打包到一个.orb文件中。(每页一瑞士法郎)

http://rintarou.dyndns.org/2014/09/13/create-an-orb-book-in-finder/

  1. 下载iPad的ORB (Lite免费提供广告,只打开第一个.orb文件)。

使用它读取iPad上的iPad文件。

http://rintarou.dyndns.org/works/orb-viewer/

如果你真的需要将它们转换成PDF格式,你可以为Mac购买ORB阅读器。

它将在Mac上读取.orb,并转换为PDF。

PS。我是上述应用程序的作者。

票数 0
EN

Stack Overflow用户

发布于 2017-05-12 04:31:56

我用HotKey脚本做了类似的事情。下面是一个示例(附有说明和HotKeyNet脚本主机软件的链接)。(注:这个答案是针对Windows平台的。)

代码语言:javascript
复制
// Software: http://hotkeynet.com
// http://www.adobe.com/support/flashplayer/debug_downloads.html
// https://www.foxitsoftware.com/products/pdf-reader/

// Script for HotKeyNet (0.1.45 Build 210) to automate
// converting many .SWF files to PDFs by opening each SWF in
// Adobe's standalone Flash Player and then printing it as a
// PDF file using Foxit Reader's virtual PDF printer. The SWF
// files' contents are static (not animated), and are thus
// suitable for printing. They are pages of a print magazine
// and the files contain multiple objects - images, text,
// fonts, and rendering and layout information.

// The script works by sending a sequence of keystrokes
// to the main and child windows of Adobe Flash Player
// and Foxit Reader's PDF Printer

// To use this script:
// 1) Load it in HotKeyNet.exe, then:
// 2) Minimise HotKeyNet to the taskbar.
// 3) Set Foxit's PDF Printer as the default printer.
// 4) Open file 01.swf in Adobe Flash Player, and manually
//    perform the above sequence for converting it to PDF
//    to establish the source and destination folders to
//    be used by the player and the virtual printer.
// 5) Ensure that the flash player has the focus. (i.e.
//    that it is the foreground application.)
// 6) Press the HotKey defined below to run the script.


// Part 1: Define a user-command "PrintOnePage".
// Within the command, %1% stands for a parameter
// passed to the command, which will be a filename.
// That name will be used as both the .SWF file to
// be opened and the .PDF file to be written.

<Command PrintOnePage>
        <sendpc local>
            <sendwin "Adobe Flash Player 23">

// Key sequence to open a file in the player:
// Alt+F, O, Alt+B, filename, Alt+O, Enter 

            <key LAlt F>
            <key O>
            <key LAlt B>
            <wait 500>
            <text %1%>
            <key LAlt O>
            <wait 500>
            <key Enter>

            <sendwin "Adobe Flash Player 23">

// Key sequence to print the file as a PDF:
// Alt+F, P, Alt+P, Alt+N, filename, Enter

            <key LAlt F>
            <key P>
            <wait 4000>
            <sendwin Print>
            <key LAlt P>
            <wait 500>
            <sendwin "Print to PDF Document - Foxit Reader PDF Printer">
            <key LAlt N>
            <text %1%>
            <key Enter>
            <wait 12000>

// End of user-command definition


// Part 2: Define a HotKey that, when pressed (once),
// will run the above command multiple times with a
// different parameter each time. They are 02, 03, 04,
// etc, which are the SWF and PDF filename pairs.

<hotkey F1>
<PrintOnePage 02>
<PrintOnePage 03>
<PrintOnePage 04>
<PrintOnePage 05>
<PrintOnePage 06>

// Add a line for each page file

// End of script
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14781226

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档