リンクをクリップボードにコピー
コピー完了
表題の通りです。
Photoshop用にjsxを組んでいたのですが(メモ帳でなんとかしていた初心者です)、
Photoshop公式のjavascript referenceを見ていた所、
デバッグ用のツール(ExtendScript Toolkit CC)があることを知り、
調べてインストールしました。
そして「対象アプリケーションを選択」から「Adobe Photoshop CC 2018(120.064)」を選択してデバッグボタンを押したところ、
「スプリクトを実行できません。Adobe Photoshop CC 2018(120.064)にはデバッグ用のエンジンがありません。」とエラー表示がされました。
CC2018ではデバッグが出来ないのでしょうか?
何か追加でインストールすれば出来るのか、
そもそもCC2018で出来ない場合は、どのバージョンなら可能なのか。
または、今は別のコードツールがあるのか。
など、お教えいただけないでしょうか?
英語が苦手なので同じような質問があったら申し訳ないのですが、
分かる方がいらっしゃいましたらご教授お願いいたします。
Try adding this to the top of the script that you are trying to debug:
#target photoshop-120
リンクをクリップボードにコピー
コピー完了
Try adding this to the top of the script that you are trying to debug:
#target photoshop-120
リンクをクリップボードにコピー
コピー完了
I'm sorry if you get strange English with Google translation.
After restarting and adding to the beginning of the script, it was fixed!
Thank you for your reply!
リンクをクリップボードにコピー
コピー完了
The translation was actually very good.
Each version of Photoshop has it's own number, so if you change you Photoshop version, you need to change the number:
PS 2018: 120
PS 2019: 130
PS 2020: 140
リンクをクリップボードにコピー
コピー完了
Thank you!
Useful if you use different versions of Photoshop.
リンクをクリップボードにコピー
コピー完了
Please note, the use of:
#target photoshop
Is correct when debugging via ExtendScript Toolkit, however for those that have moved onto the ExtendScript Debugger extension for MS Visual Studio Code you will need to //comment out or remove this line when debugging, as it is not supported (it still catches me from time to time).
リンクをクリップボードにコピー
コピー完了
Thank you for the advice!
I don't use it yet, but I will remember when it is applicable.