終了

【Script】findMenuCommandId

New Here ,
Feb 12, 2020 Feb 12, 2020

リンクをクリップボードにコピー

コピー完了

オリジナルのスクリプトを制作し仕事で使用しています。

After Effects CC2020において、日本語版でfindMenuCommandIdを実行すると0が返ってきてしまい、

findMenuCommandIdを使用したスクリプトが使用できません。

原因と対処方を教えてほしいです。

ちなみに英語版ではIDが正しく返されました。

キーワード
スクリプティング

表示

441

翻訳

翻訳

レポート

レポート
コミュニティガイドライン
他のユーザーへの思いやりを持ち、敬意を払いましょう。コンテンツの出典を明記し、投稿する前に内容が重複していないか検索してください。 さらに詳しく
community guidelines
支持者 ,
Feb 13, 2020 Feb 13, 2020

リンクをクリップボードにコピー

コピー完了

What ID was it?

投票

翻訳

翻訳

レポート

レポート
コミュニティガイドライン
他のユーザーへの思いやりを持ち、敬意を払いましょう。コンテンツの出典を明記し、投稿する前に内容が重複していないか検索してください。 さらに詳しく
community guidelines
New Here ,
Feb 20, 2020 Feb 20, 2020

リンクをクリップボードにコピー

コピー完了

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.

投票

翻訳

翻訳

レポート

レポート
コミュニティガイドライン
他のユーザーへの思いやりを持ち、敬意を払いましょう。コンテンツの出典を明記し、投稿する前に内容が重複していないか検索してください。 さらに詳しく
community guidelines
支持者 ,
Feb 20, 2020 Feb 20, 2020

リンクをクリップボードにコピー

コピー完了

Agh, I see.

Dont use app.findMenuCommandId(), as it depends on language, instead use app.executeCommand(ID) - this will work on all AE languages.

投票

翻訳

翻訳

レポート

レポート
コミュニティガイドライン
他のユーザーへの思いやりを持ち、敬意を払いましょう。コンテンツの出典を明記し、投稿する前に内容が重複していないか検索してください。 さらに詳しく
community guidelines
New Here ,
Jul 05, 2020 Jul 05, 2020

リンクをクリップボードにコピー

コピー完了

最新

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.....

投票

翻訳

翻訳

レポート

レポート
コミュニティガイドライン
他のユーザーへの思いやりを持ち、敬意を払いましょう。コンテンツの出典を明記し、投稿する前に内容が重複していないか検索してください。 さらに詳しく
community guidelines