2
Microsoft Wordでハイパーリンクを切り替えるためにAppleScriptを書き込もうとしています。 (これは通常、Alt + F9を押すことによって行われます)。ここでハイパーリンクを切り替えるAppleScript
は私のスクリプトだが、それは動作しません:
tell application "Microsoft Word"
keystroke F9 using {option down}
end tell
ちょうど私にエラーを与えること:
"Expected end of line but found identifier"
私が使用している場合:
tell application "System Events"
tell application "Microsoft Word"
keystroke F9 using {option down}
end tell
end tell
ことがなく、動作します何もしません。
そして、私が使用している場合:
tell application "System Events"
tell application "Microsoft Word"
keystroke "Hello"
end tell
end tell
それだけ版画 "こんにちは" のAppleScriptウィンドウで。私はMSの言葉に影響を与える必要があります。
awesome!完璧に動作します。ありがとう。 – solerous