Acrobat AppleScript

[Acrobat AppleScript]PDFを開いてTIFFで書き出す(バージョンによる差異)

上書きオプション等はAcrobat7からなので
バージョンを取得して分岐を作る

それぞれ記述を変える

対応できますね。

Website_image20110408_135815

続きを読む "[Acrobat AppleScript]PDFを開いてTIFFで書き出す(バージョンによる差異)"

| | トラックバック (0)

[Acrobat AppleScript]ファイルサイズの取得(this.filesize)

Website_image20110330_193140

続きを読む "[Acrobat AppleScript]ファイルサイズの取得(this.filesize)"

| | トラックバック (0)

[Acrobat AppleScript]ファイル名の取得(this.documentFileName)

Website_image20110330_184845

続きを読む "[Acrobat AppleScript]ファイル名の取得(this.documentFileName)"

| | トラックバック (0)

[Acrobat AppleScript]PDFを開いてTIFFで書き出す(Export to TIFF Image : Adobe Acrobat)

do script を使ってこのようにする事で
ロングファイルネームの不具合に対応出来ます。

Website_image20110320_155351


「acro_Long_filename.rtf」をダウンロード

Acrotext


set FileResult to choose file "変更するファイルを選択"
set savefolder to choose folder with prompt ("TIFファイルの保存先を選択してください。" as Unicode text)
set destinationFolder to savefolder as Unicode text

tell application "Finder"
set theName to name of FileResult
set newfile to destinationFolder & text 1 thru -4 of theName & "tif" as Unicode text
set newfilepass to POSIX path of newfile as Unicode text

end tell


tell application "Adobe Acrobat Pro"
open FileResult as alias

set comandline to "" as Unicode text

do script "this.saveAs(\"" & newfilepass & "\", \"com.adobe.acrobat.tiff\");"

close active doc saving no
end tell

続きを読む "[Acrobat AppleScript]PDFを開いてTIFFで書き出す(Export to TIFF Image : Adobe Acrobat)"

| | コメント (0) | トラックバック (0)

その他のカテゴリー

Accessibility | AccessibilityCheck | AccessibilityForm | AccessibilityInDesign | AccessibilityPDF | Acrobat | Acrobat Action | Acrobat Annotation | Acrobat AppleScript | Acrobat Layer | Acrobat Plug-ins | Acrobat Portfolios | Acrobat Print | AcrobatBarcode | AcrobatDialog | AcrobatForm | AcrobatJS | AcrobatMenu | AcrobatPDF | AcrobatStamp | AcrobatYouTube | AddressBook | Adobe | Adobe InDesign | AdobeAppleScript | AdobeBridge | AdobeIllustrator | AdobeJSX | aed | Alfresco | Android | AnimationGif | Apple | AppleScript | AppleScriptBasics | AppleScriptCharacter | AppleScriptColor | AppleScriptDroplet | AppleScriptErrorNum | AppleScriptFolder | AppleScriptFontBook | AppleScriptRename | AppleScriptTools | AppleSymbols | Applications | Barcode | Barcode2D | BarcodePostal | BetterHTMLExport | Book | Browser | buzz | Certificates | CharacterEntity | CharacterSets | Colors | Cool Site | CSS | Cutting | DecoMail | DecorationMail | Design | Desktop | Diff | DJ | dmg | DNS | Documents | Download | eBook | Editer | eMail | Envelopes | ExifTool | Facebook | FFmpeg | File System | Fonts | FontsTool | FontsWeb | FOOD | FormPrint | ftp | Gadget | Gif Animation | Google | HexEditor | HTML | info | iPhoto | ISBN | ISO | iTunes | iWork | iWorkNumbers | iWorkNumbersCalendar | iWorkNumbersTimecard | iWorkPages | JavaScript | JeditX | JeditX Regexp | JeditXAppleScript | JIS | jquery | Letterpress | Library | logo | Mac Admin | Mac Archiver | Mac Browser | Mac Browser Plugin | Mac QuickLook | Mac Spotlight | Mac Video | Map | Mobby | Moto | Movies | Music | Network Basic | ntp | OCR | Office | OSX | Pantone | Paper | PDFlib | Permission | Photo | Pictograms | Print | Public | QuickLook | QuickTime | QuickTimeSetting | QuickTimeSound | Real Media | ReName | ResourceFork | ruby | Screen | ScreenCast | Search | Security | SEO | Sharing | SLAResource | Spotlight | Stamp | SWF | Tutorial PSD | TV | Twitter | Typography | Unicode | Utilities | Video | WebFont | Wedding | Windows | WindowsMedia | XML | XMP | XPS | YouTube | YouTube Rss