[Acrobat AppleScript]ファイルサイズの取得(this.filesize)
tell application "Adobe Acrobat Pro"
set theFileSize to do script "this.filesize"
end tell
set theBite to theFileSize as integer
if theBite > "1048576" then
set theMB to (round (theBite / 1048576 * 10)) / 10
else if theBite > 1024 then
set theKB to (round (theBite / 1024 * 10)) / 10
else
set theB to theBite
end if
| 固定リンク
« [Acrobat AppleScript]ファイル名の取得(this.documentFileName) | トップページ | [Unicode Escape]AppleScriptでユニコード・エスケープ処理 »
「Acrobat AppleScripts」カテゴリの記事
- 【Acrobat】Acrobatフォームでデータ印字(はがき宛名)(2021.08.22)
- 【Acrobat AppleScripts】フルスクリーン開始(2021.08.05)
- [Acrobat AppleScripts]アプリケーションの画面サイズ(2021.05.03)
- [Acrobat AppleScript]PDFを開いてTIFFで書き出す(バージョンによる差異)(2011.04.08)
- [Acrobat AppleScript]ファイルサイズの取得(this.filesize)(2011.03.30)