« 2021年8月 | トップページ | 2021年10月 »

[モリサワ]印刷データの間違い探しに挑戦!!!

印刷データの間違い探しに挑戦!!!
https://www.morisawa.co.jp/blogs/MVP/6542

|

Download the DNG Converter

macOS Windows
Download latest DNG Converter for macOS Download latest DNG Converter for Windows
Processor
Multicore Intel® processor with 64-bit support (Rosetta support for M1 Apple Silicon processor)
Processor

Intel®, AMD, or ARM processor with 64-bit support; 2 GHz or faster processor
Operating System macOS Mojave (version 10.14) or later
Operating System Windows 10 (64-bit) version 1809 or later; LTSC versions are not supported
a

|

Adobe Acrobat DC 早わかりガイド

Adobe Acrobat DC 早わかりガイド
https://helpx.adobe.com/jp/acrobat/using/hayawakari-guide.html

|

profiles tool no longer supports installs. Use System Preferences Profiles to add configuration profiles.

Profiles Tool
/usr/bin/profiles  がOS11からinstallをサポートしなくなった。
Mobileconfigを使った設定等を行いたい場合
A:ローカル環境でのMobileconfigはUIを使ってインストールする
B:MDMサーバーから適用させる

かな…他にも何かあるかも…



A:ローカル環境でのMobileconfigはUIを使ってインストールする
完全手作業か
コマンドで(com.hoge.foo.mobileconfigにはmobileconfigへのパスを入れて)

open com.hoge.foo.mobileconfig | open "x-apple.systempreferences:com.apple.preferences.configurationprofiles"

とか?やって
やっぱり手作業で認証していくしかない



B:MDMサーバーから適用させる
JamfNowは1台だけなら無料なので使うといいでしょう
https://app.jamfnow.com/devices

|

rosetta2

実態はここ
/Library/Apple/usr/lib/libRosettaAot.dylib
/Library/Apple/usr/libexec/oah
/Library/Apple/usr/share/rosetta
/Library/Apple/usr/share/rosetta/rosetta

最初のアクセスでUIが起動してインストールを促すので
特に必要ないかな
/usr/sbin/softwareupdate --install-rosetta --agree-to-license



ダウンロード - rosetta2.zip



20210920-163639

|

CommandLineTools

CommandLineTools
Mac OS固有のコマンド群

A:個別インストール:/Library/Developer/CommandLineTools
B:Xcode内蔵:/Applications/Xcode.app/Contents/Developer
C:/usr/bin/SetFileのように/use/bin配下にあるものもある



A:個別インストール:/Library/Developer/CommandLineTools
https://developer.apple.com/download/all/?q=Command%20Line%20Tools

ターミナルを起動させてSetFileと入力して実行すると
インストールUIが起動してインストールできる。
/usr/bin/xcode-select を使ってインストールする方法もある



B:Xcode内蔵:/Applications/Xcode.app/Contents/Developer
Xcodeをインストールする方法でもいい
https://apps.apple.com/jp/app/xcode/id497799835?mt=12



CommandLineToolsとXcodeは同居できるのでバージョンの相違には留意が必要

ダウンロード - xcodeselect.zip



Xcodeselect

Xcode

|

ルートユーザーを有効にする

ルートユーザーを有効にする

A:ディレクトリユーティリティ.appを利用する
B:コマンド『dsenableroot』を利用する



A:ディレクトリユーティリティ.appを利用する

Dsenableroot



B:コマンド『dsenableroot』を利用する

ダウンロード - dsenableroot.zip


dsenableroot(8) BSD System Manager's Manualdsenableroot(8)

NAME
dsenableroot -- enables or disables the root account.

SYNOPSIS
dsenableroot [-d] [-u username] [-p password] [-r rootPassword]

DESCRIPTION
dsenableroot sets the password for the root account if enabling the root
user account. Otherwise, if disable [-d] is chosen, the root account
passwords are removed and the root user is disabled.

A list of flags and their descriptions:

-u username
Username of a user that has administrative privileges on this
computer.

-p password
Password to use in conjunction with the specified username. If
this is not specified, you will be prompted for entry.

-r rootPassword
Password to be used for the root account. If this is not speci-
fied for enabling, you will be prompted for entry.

EXAMPLES
-dsenableroot
Your username will be used and you will be queried for both your
password and the new root password to be set to enable the root
account.

-dsenableroot -d
Your username will be used and you will be queried for only your
password to disable the root account.

-dsenableroot -u username -p userpassword -r rootpassword
The supplied arguments will be used to enable the root account.

-dsenableroot -d -u username -p userpassword
The supplied arguments will be used to disable the root account.

Mac OS August 08 2003 Mac OS

|

Google Chrome Enterprise インストール

もちろん手動でもOKなんですが
スクリプトにしておきます

ダウンロード - googlechromeenterprise.zip

|

GoogleSoftwareUpdate.bundle

ローカルドメイン
PKGパッケージを使ってインストールする
ユーザードメイン
dmgからコピーしてインストールする



https://chromeenterprise.google/intl/ja_jp/browser/download/


GoogleSoftwareUpdateの中身とできる場所が異なります。
pkgを使ってインストールすると
/Library/Google/GoogleSoftwareUpdate
/Users/ユーザー名/Library/Google/GoogleSoftwareUpdate
この2つが出来ます。
dmgからコピーしてインストールすると
/Users/ユーザー名/Library/Google/GoogleSoftwareUpdate のみが生成されます


ローカルドメイン
PKGパッケージを使ってインストールするとこちらが生成されて
中に『GoogleSoftwareUpdate.bundle』があります

_20210925_18_58_17


ユーザードメイン
dmgからコピーしてインストールするとこちらのみ
中に『GoogleSoftwareUpdate.bundle』があります
_20210925_19_01_12



『GoogleSoftwareUpdate.bundle』この中にコマンドラインツールがあります
なので
コマンドでアップデート等を行う場合は、デバイスで
Google Chromeのインストール方法を『統一』しておくことが大事です
_20210925_19_11_56

|

AdobeCreativeCloudCleanerTool

最新バージョンは
4.3.0.164
https://swupmf.adobe.com/webfeed/CleanerTool/mac/AdobeCreativeCloudCleanerTool.dmg

Adobecreativecloudcleanertool.

|

Yumi's Cells(ユミの細胞たち)

Yumi's Cells
tving
https://yumiscells.tving.com/


 


LINE マンガ
https://manga.line.me/product/periodic?id=Z0000275


Web Toon
https://www.webtoons.com/en/slice-of-life/yumi-cell/list?title_no=478
comic.naver.com
https://comic.naver.com/webtoon/list?titleId=651673


 


 


Original soundtrack Part 1
"If I Could Read Your Mind" (나를 신경 쓰고 있는 건가) Wendy (Red Velvet)
https://www.youtube.com/watch?v=s_EQxQCqR5M


 


Original soundtrack Part 2
"Nightfalling" John Park
https://www.youtube.com/watch?v=PMqVlIdklBk


 




ユミの細胞たち: The Puzzle
Twitter
https://twitter.com/puzzle_skywalk

ユミの細胞たち: The Puzzle 4+
https://apps.apple.com/jp/app/id1564026069

Google Play
https://play.google.com/store/apps/details?id=com.skywalkgames.yumithepuzzle

続きを読む "Yumi's Cells(ユミの細胞たち)"

|

[Acrobat]エラーが発生しました。後で再度アップデートを確認してください。 エラー:1636

44

AcrobatDCのアップデートがエラー:1636で失敗する場合
(つーか、毎度ですけどね…)
解決方法
Acrobat Update Helper(ARMDC)を更新する
最新のバージョンは1.1.1
場所はこちら
/Library/Application Support/Adobe/ARMDC/Application/Adobe Acrobat Updater.app
単体インストーラーは
AdobeUpdateServerSetupTool運用されている場合はそちらから入手できます
/サーバールート/arm-updates/mac/ARMDC/ARM_update/ARMDC Agent Installer.pkg
AdobeUpdateServerSetupToolの場合--acrobatonlyオプションで新規で更新すれば良いかな

インストーラーpkg(ARMDC Agent Installer.pkg)はダウンロードも出来ます
https://armmf.adobe.com/arm-updates/mac/ARMDC/ARM_update/ARMDC Agent Installer.pkg


参考記事(こちらの記事たちの修正記事でもあります)
Adobe Acrobat Updater.appのバッテンマーク
https://force4u.cocolog-nifty.com/skywalker/2021/07/post-db55b4.html
【過去記事補足】[Acrobat]AdobeARMDCHelper
https://force4u.cocolog-nifty.com/skywalker/2021/06/post-5b6386.html
[Acrobat]AdobeARMDCHelper
https://force4u.cocolog-nifty.com/skywalker/2021/05/post-ddb7a3.html

|

[Adobe]CCX Process

だから…もう…
先日の[Adobe]CoreSyncと同じ
CCX Processの2021年9月14日時点の最新バージョンは
4.5.2
SAPCodeはCCXP

productVersionでは4.5.2.12が最新

platform id="osx10-64"
languageSet productCode="adobeCode_NonRibs" name="LS1"
installSize="0"
packageCode="{CCXP-4.5.2-64-ADBEADBEADBEADBEADBEAD}"
packageType="hdPackage"
baseVersion="2.2.1"
productVersion="4.5.2.12"

uwpProduct="false"
maintenanceBuild="false"

82

|

【Jedit Ω】選択HTMLをhtmlentities変換してBLOG等に貼り付けられるようにする

Screencapture-20210912-193933

こんな感じね

ダウンロード - htmlentities2.zip

|

Asix USB Ethernet driver

https://asix.com.tw/en/support/download

AX88178A 10/100/1000M (USB3) OS11
https://asix.com.tw/en/support/download/file/1147?time=1631414733357
AX88772C 10/100/1000M
https://asix.com.tw/en/support/download/file/1110?time=1631412832865
この2つはいらん
AX88772B 10/100M
AX88772A 10/100M

|

[Adobe]CoreSync

CoreSync 2021年9月11日時点での最新バージョンは
エンタープライズ環境の方の場合はAdobeUpdateServerSetupTool運用していれば
サーバールート/ACC/services/ffc/products にXML形式で生成されるテキストから
こんな感じで
"<SAPCode>COSY</SAPCode>
<prodVersion>4.19.0</prodVersion>
<mediaLEID></mediaLEID>
<baseVersion>2.4.1</baseVersion>
<productVersion>4.19.0.12</productVersion>"
取得できます。
SAPCodeはこちらを参照してください

自分のバージョンは
コマンドラインで
defaults read '/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app/Contents/Info.plist' 'CFBundleVersion'


aamプロトコル Adobe Application Managerは最新の環境では使われないことになっているので
aamで渡された値はadobecreativecloudが引き続き処理している(と、思われる)
"<uri version="default">aam://SAPCode=COSY</uri>
<uri version="2.0.0.0">aam://SAPCode=COSY?version=4.19.0</uri>
<uri version="3.0.0.0">aam://adobecreativecloud/?SAPCode=COSY&amp;version=4.19.0</uri>"


Adobe Application ManagerはCCの2013ぐらいまで?はあったかな?(もう環境がないので確認できながいが)
/Applications/Utilities/Adobe Application Manager/core/Adobe Application Manager.app
こちらがある場合はCOSY=CoreSyncのバージョンが4.19になっていない(4.19にすると逆に不具合あるかもよ)可能性がある

Adobe Application Manager.appが『ある環境』『ない環境(こちらが現時点の正解)』で
CoreSyncやアップデートの動作が左右される(aamプロトコルがAdobe Application Managerにわたされるため)

古い環境をアップデート〜アップデートでやってきた機材の場合
不具合感じるならクリーンインストールしないと結果解決できない事が多いのでは?ないかい
(もうAdobe Application Manager環境はないので調べられないけど)

Adobe Application Managerは内部的にswfファイル持っているので
Flash環境がある程度は必要だから、セキュリティ系の設定でカスタマイズしてる場合は
その時点でAdobe Application Manager起動しなかったりするし…


ちなみに
Adobe Application Managerの最終版はFTPサイトには、まだある…けど
ftp://ftp.adobe.com/pub/adobe/creativesuite/cc/mac/ApplicationManager10.0_all.dmg
もう
あきらめたホウが良いよ…笑 旧環境は…
Screencapture-20210911-182246

|

[developer.adobe.com]SDK

要ログインです
久しぶりにログインしたら各種2021版出てた
201x年あたりからメンテナンスされていない物も多数…
https://developer.adobe.com/console/servicesandapis


Illustrator
https://www.adobe.io/illustrator/

Adobe Acrobat
https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/


Screencapture-20210905-214105


Screencapture-20210905-214314

|

【Acrobat】PDFフォームの値を取得して集計まで(まとめ)

【Acrobat】PDFフォームの値を取得して集計まで(その1)
https://force4u.cocolog-nifty.com/skywalker/2021/09/post-ff0078.html
ファイルのオープンとクローズの部分を説明しました
-----------------------------------------------------------
【Acrobat】PDFフォームの値を取得して集計まで(その2)
https://force4u.cocolog-nifty.com/skywalker/2021/09/post-c64e63.html
フォーム名の取得部分を説明しました
-----------------------------------------------------------
【Acrobat】PDFフォームの値を取得して集計まで(その3)
https://force4u.cocolog-nifty.com/skywalker/2021/09/post-d081da.html
各フォーム名のフォームの値の取得を説明しました
-----------------------------------------------------------
【Acrobat】PDFフォームの値を取得して集計まで(その4)
スクリプトの全体
-----------------------------------------------------------
サンプルデータとスクリプトダウンロード

ダウンロード - getformvalue.zip


-----------------------------------------------------------

|

【Acrobat】PDFフォームの値を取得して集計まで(その1)

【Acrobat】Acrobatフォームでデータ印字(その1)
https://force4u.cocolog-nifty.com/skywalker/cat75986021/index.html
この記事で
タブ区切りテキストのデータから
フォームPDFをデータの件数分作成するってのをやりました。
------------------------------------------------------------------------
その発展形で
【Acrobat】Acrobatフォームでデータ印字(はがき宛名)
https://force4u.cocolog-nifty.com/skywalker/2021/08/post-ba955e.html

やりました
------------------------------------------------------------------------
今度は、その逆で
入力済みフォームPDFから各フォームの値を取得して
タブ区切りテキストにします。
------------------------------------------------------------------------
Acrobatフォームでデータ印字とほぼ同じ処理を
逆にやるだけです。
AppleScriptのいいところと
JavaScriptのいいところ取りです。
例えば
ファイルのオープンとクローズ
ファイルの選択はUIが使えるのでやっぱりAppleScript
Acrobat内の処理、ファイルのオープンとクローズはJavaScript

行った感じで処理しています。

(*
サンプル
PDF
開いて閉じるだけの部分



*)

on run
set theDefLoc to (path to desktop from user domain) as alias
set theFileType to "public.pdf,com.adobe.pdf" as text
set AppleScript's text item delimiters to {","}
set theFileTypeList to every text item of theFileType
set theWithPrompt to theFileType & "PDF\nをえらんでください\n"
set theWithPromptMes to "PDFフォームファイルを選んでください"
open (choose file default location theDefLoc ¬
with prompt theWithPrompt & theWithPromptMes ¬
of type theFileTypeList ¬
invisibles true ¬
with multiple selections allowed without showing package contents)
end run


on open objOpenFile
tell application "Adobe Acrobat" to activate
repeat with objFiles in objOpenFile
set theTemFilePath to POSIX path of objFiles as text
tell application "Adobe Acrobat"
activate
--////////////////ファイルを開く
do script "app.openDoc(\"" & theTemFilePath & "\");"

---////////////////ファイルを閉じる
do script "closeDoc();"
end tell
end repeat

end open


続く

|

Type Projectのスタッフブログ はじまりました

Aae53cca9d0cb2afdb453970f9f67ca22048x974

https://typeproject.com/staffblog/

どうでしょう…
もう一般ユーザー置いておいて、マニアック路線希望ですね♪
今後に期待 

|

【Acrobat】PDFフォームの値を取得して集計まで(その2)

フォームの『名前』を取得します。
フォームの値を取得するのに必要なのが

this.getField(フォームの名前).value;


なりますので
フォームの名前を取得する必要があります
ここで処理するのは
1:何個フォームがあるか?
2:各フォームの名前を取得する となります

Screencapture-20210904-163847
------------------------------------------------------------------

(*
サンプル
PDFフォームの名前を取得する部分



*)

set theFldNUM to "" as text
set theFldCntNUM to 0 as integer
set theTitleText to "" as text

tell application "Adobe Acrobat"
----activate
--////////////////テンプレートファイルを開く
---do script "app.openDoc(\"" & theTemFilePath & "\");"
--////////////////開いたファイルを処理
tell window 1
do script "console.show();"
do script "console.clear();"
do script "var theFildNo = this.numFields"
set theFldNUM to (do script "theFildNo") as text

repeat theFldNUM times
do script "var theFildTitle = this.getNthFieldName(" & theFldCntNUM & ")"
set theFildTitleText to (do script "theFildTitle") as text
set theTitleText to ("" & theTitleText & theFildTitleText & "\t") as text
set theFldCntNUM to (theFldCntNUM + 1)
end repeat

set theTitleText to ("" & theTitleText & "") as text

log theTitleText

---////////////////ファイルを閉じる
----do script "closeDoc();"
end tell
end tell

|

【Acrobat】PDFフォームの値を取得して集計まで(その3)

【Acrobat】PDFフォームの値を取得して集計まで(その2)
https://force4u.cocolog-nifty.com/skywalker/2021/09/post-c64e63.html
こちらで
『フォームの名前』は取得しました
この時に『フォームの数』も取得していますので
ひとつずつ
this.getField(フォームの名前).value; を繰り返します。

Screencapture-20210904-164839


-----------------------------------------------------------------

(*
サンプル
フォームの名前を取得して
から
各フォームの名前の値を取得します。



*)




set theFldNUM to "" as text
set theFldCntNUM to 0 as integer
set theTitleText to "" as text

tell application "Adobe Acrobat"
----activate
--////////////////テンプレートファイルを開く
---do script "app.openDoc(\"" & theTemFilePath & "\");"
--////////////////開いたファイルを処理
tell window 1
do script "console.show();"
do script "console.clear();"
do script "var theFildNo = this.numFields"
set theFldNUM to (do script "theFildNo") as text

repeat theFldNUM times
do script "var theFildTitle = this.getNthFieldName(" & theFldCntNUM & ")"
set theFildTitleText to (do script "theFildTitle") as text
set theTitleText to ("" & theTitleText & theFildTitleText & "\t") as text
set theFldCntNUM to (theFldCntNUM + 1)
end repeat

set theTitleText to ("" & theTitleText & "\n") as text



set theFldCntNUM to 1 as integer

set AppleScript's text item delimiters to {"\t"}
set listTitleText to (every text item of theTitleText) as list
set AppleScript's text item delimiters to {""}

repeat theFldNUM times
set theFormValue to (item theFldCntNUM of listTitleText) as text
log theFormValue
do script "var theFormValeText = this.getField(\"" & theFormValue & "\").value;"
set theFildValeTText to (do script "theFormValeText") as text
set theTitleText to ("" & theTitleText & theFildValeTText & "\t") as text

set theFldCntNUM to (theFldCntNUM + 1)
end repeat

set theTitleText to ("" & theTitleText & "\n") as text


theTitleText

---////////////////ファイルを閉じる
----do script "closeDoc();"
end tell
end tell

|

【Acrobat】PDFフォームの値を取得して集計まで(その4)

【Acrobat】PDFフォームの値を取得して集計まで(その1)
https://force4u.cocolog-nifty.com/skywalker/2021/09/post-ff0078.html
ファイルのオープンとクローズの部分を説明しました
-----------------------------------------------------------
【Acrobat】PDFフォームの値を取得して集計まで(その2)
https://force4u.cocolog-nifty.com/skywalker/2021/09/post-c64e63.html
フォーム名の取得部分を説明しました
-----------------------------------------------------------
【Acrobat】PDFフォームの値を取得して集計まで(その3)
https://force4u.cocolog-nifty.com/skywalker/2021/09/post-d081da.html
各フォーム名のフォームの値の取得を説明しました
-----------------------------------------------------------
あとは取り出したデータを整形してテキストファイルにするだけです。
タブ区切りテキストにします
(エクセルにペーストするのに一番便利だからね)

Screencapture_20210904_15_53_36
-----------------------------------------------------------

(*
複数の入力済みフォームPDFから
値を取り出す
20210904 V1 初回作成

フォームからデータを取り出して
タブ区切りテキストにします



*)

on run
set theDefLoc to (path to desktop from user domain) as alias
set theFileType to "public.pdf,com.adobe.pdf" as text
set AppleScript's text item delimiters to {","}
set theFileTypeList to every text item of theFileType
set theWithPrompt to theFileType & "PDF\nをえらんでください\n"
set theWithPromptMes to "PDFフォームファイルを選んでください"
open (choose file default location theDefLoc ¬
with prompt theWithPrompt & theWithPromptMes ¬
of type theFileTypeList ¬
invisibles true ¬
with multiple selections allowed without showing package contents)
end run


on open objOpenFile
--////////////////テキストエディットを起動しておきます
tell application "TextEdit" to activate
--////////////////アクロバットを起動しておく
tell application "Adobe Acrobat" to activate
--////////////////アクロバットが完全に起動するのを待つ(環境依存で任意の値を指定してください)
delay 5
--////////////////各値初期化
set theFldNUM to "" as text
set theTitleText to "" as text
set theValeText to "" as text
set theTitleChk to 0 as integer
set theFileCnt to 0 as integer
--////////////////オープンした数だけ繰り返し
repeat with objFiles in objOpenFile
--////////////////フィールド数は0から
set theFldCntNUM to 0 as integer
--////////////////開くファイルのUNIXパスを取得
set theTemFilePath to POSIX path of objFiles as text
tell application "Adobe Acrobat"
activate
--////////////////コンソール見たい時用
---do script "console.show();"
---do script "console.clear();"
--////////////////ファイルを開く
do script "app.openDoc(\"" & theTemFilePath & "\");"
delay 0.5
--////////////////フォームの名前を取得する
--////////////////最初の1回だけフォームの名前を取得する
if theTitleChk = 0 then
--////////////////フォームの数を数える
do script "var theFildNo = this.numFields"
--////////////////AppleScript用にテキストにして戻す
set theFldNUM to (do script "theFildNo") as text
--////////////////フォームの数だけ繰り返し
repeat theFldNUM times
--////////////////順番にフォーム名を取得
do script "var theFildTitle = this.getNthFieldName(" & theFldCntNUM & ")"
--////////////////AppleScript用にテキストにして戻す
set theFildTitleText to (do script "theFildTitle") as text
--////////////////タブ区切りテキストにして整形
set theTitleText to ("" & theTitleText & theFildTitleText & "\t") as text
--////////////////カウントアップ
set theFldCntNUM to (theFldCntNUM + 1)
end repeat
end if
--////////////////次からフォーム名は取得しないためにカウントアップ
set theTitleChk to (theTitleChk + 1) as integer
--////////////////フォームの値を取得する
--////////////////繰り返し値の初期化
set theFldCntNUM to 1 as integer
set AppleScript's text item delimiters to {"\t"}
--////////////////フォーム名をリストにする
set listTitleText to (every text item of theTitleText) as list
set AppleScript's text item delimiters to {""}
--////////////////最初の列数のカウントアップ
set theFileCnt to (theFileCnt + 1) as integer
--///////////////最初の1列目をNoをいれてタブで区切っておく
set theValeText to ("" & theValeText & theFileCnt & "\t") as text
--///////////////フォーム数だけ繰り返す
repeat theFldNUM times
--///////////////順番にリストにしたフォーム名を取得して
set theFormValue to (item theFldCntNUM of listTitleText) as text
--///////////////フォーム名の値を取得する
do script "var theFormValeText = this.getField(\"" & theFormValue & "\").value;"
--////////////////AppleScript用にテキストにして戻す
set theFildValeText to (do script "theFormValeText") as text
--////////////////タブ区切りテキストにして整形
set theValeText to ("" & theValeText & theFildValeText & "\t") as text
--////////////////カウントアップ
set theFldCntNUM to (theFldCntNUM + 1)
end repeat
--////////////////1つのファイルの値の取得が終わったら改行する
set theValeText to ("" & theValeText & "\n") as text
---////////////////ファイルを閉じる
do script "closeDoc();"
end tell
end repeat
--////////////////フォーム名のタイトル部を整形
set theTitleText to ("No\t" & theTitleText & "\n") as text
--////////////////取得したフォームの値と合わせて整形
set theValeText to (theTitleText & theValeText) as text
---////////////////出来上がった値をテキストファイルにする
set theDesktopUnixPath to POSIX path of (path to desktop folder from user domain) as text
set aliasDesktop to (path to desktop folder from user domain as alias) as text
set theSaveFile to (aliasDesktop & "フォームデータ.txt") as text
set theSaveFileName to ("フォームデータ.txt") as text
---////////////////先に空のテキストファイルを作っておく
tell application "Finder"
set theFolder to ((aliasDesktop) as alias)
try
make new file at aliasDesktop with properties {name:(theSaveFileName)}
end try
set theOutPutFile to (((aliasDesktop) as text) & ((theSaveFileName) as text)) as alias
end tell
---////////////////空のテキストファイルを開いて値を流し込む
tell application "TextEdit"
open theOutPutFile
tell document 1
set its text to theValeText
end tell
save document 1
end tell
end open

|

« 2021年8月 | トップページ | 2021年10月 »