リンクをクリップボードにコピー
コピー完了
オリジナルのスクリプトを制作し仕事で使用しています。
After Effects CC2020において、日本語版でfindMenuCommandIdを実行すると0が返ってきてしまい、
findMenuCommandIdを使用したスクリプトが使用できません。
原因と対処方を教えてほしいです。
ちなみに英語版ではIDが正しく返されました。
リンクをクリップボードにコピー
コピー完了
What ID was it?
リンクをクリップボードにコピー
コピー完了
I have tried all ID. Everything returns zero.
I want to restrict who can use my script. For that I use the logout ID in the help menu. I'm coding so that users returning zero are not available.
app.executeCommand(ID) works fine.
リンクをクリップボードにコピー
コピー完了
Agh, I see.
Dont use app.findMenuCommandId(), as it depends on language, instead use app.executeCommand(ID) - this will work on all AE languages.
リンクをクリップボードにコピー
コピー完了
My script restricts the users that can be used by referring to the "Sign Out..." in the Help menu. in the Help menu to restrict the users that can be used by referring to the account names in Sign Out...
I can't identify the account name logged in AfterEffects with "app.executeCommand()" so I can't restrict it this way.
I'd like to know if there's another way to find out the account names using the script.
As in the 2019 version, "findMenucommandId" is also available in Japanese.
AE2019 had no problems with Japanese.....