For whatever reason parallels doesn't seem to send any modifier keys to windows when I use applescript. I've tried the following ways to create "š" into notepad but all will produce "s" instead of "š" (alt/option + s). What am I doing wrong? The script works perfect inside MacOS but modifier keys seem to get ignored by parallels. The results are the same when I try to use shift instead to create "S" not "s". The point to making it work is to then create applescripts for elgato stream deck (or any similar launcher) for weird symbols like μ or × and have them work in both MacOS and Windows applications.
---------
tell application "System Events"
key down option
key code 1
key up option
end tell
---------
tell application "System Events"
keystroke "š"
end tell
---------
tell application "System Events"
key code 1 using option down
end tell
--------
---------
tell application "System Events"
key down option
key code 1
key up option
end tell
---------
tell application "System Events"
keystroke "š"
end tell
---------
tell application "System Events"
key code 1 using option down
end tell
--------