Error with app.executeMenuCommand('Adobe Stroke Palette')
en_US
In the Japanese version of Adobe Illustrator, when I execute a script that selects the Window > Stroke menu, an error occurs. It executes correctly in the English (North America) version.

Script to Execute
try {
app.executeMenuCommand('Adobe Stroke Palette') ;
} catch(e) {
alert(e) ;
}
Actual Result
The following error occurs.
エラー: an Illustrator error occurred: 1346458189 ('MRAP')
Expected Result
Stroke panel is displayed.
Steps to Reproduce
- Uninstall any non-Japanese version of Adobe Illustrator that is installed
- Launch Creative Cloud.app and set "Default install language" to Japanese in the Preferences
- Install and launch Adobe Illustrator
- Execute the script in the Script to Execute section
Environment
- macOS 12.6.7(Apple Silicon)
- Illustrator 2019〜2024
Not sure how long this issue has been present, but it is reproduced in Illustrator CS6.
ja_JP
日本語バージョンのAdobe Illustratorで ウィンドウ > 線 のメニューを選ぶスクリプトを実行すると、エラーが起こります。英語版English (North America)だと正常に実行されます。

実行するスクリプト
try {
app.executeMenuCommand('Adobe Stroke Palette') ;
} catch(e) {
alert(e) ;
}
実際の結果
次のエラーが起こる。
エラー: an Illustrator error occurred: 1346458189 ('MRAP')
想定していた結果
線パネルが表示される。
再現手順
- 日本語版以外のAdobe Illustratorがインストールされている場合はアンインストールする
- Creative Cloud.appを起動し、環境設定で「初期設定のインストール言語」を日本語にする
- Adobe Illustratorをインストールし、起動する
- 実行するスクリプトセクションのスクリプトを実行する
環境
- macOS 12.6.7(Apple Silicon)
- Illustrator 2019〜2024
この不具合がいつからあるのかわかりませんが、Illustrator CS6でも再現します。
Reported as fixed, starting with Illustrator 2025 (29.4.0)
-
mer C
commented
This report is in response to the admin's message.
> We could not repro this at our end. Please check the latest Beta and update the comments whether this issue is still reproducible. If reproducible, then system information is required (OS locale, etc.)
Based on my research, it seems this issue was fixed in Illustrator 2025 (v29.4.0). The error occurs in versions up to v29.3.1.
Since this is a relatively recent update, you likely have the patch log. What does it note?