Is it possible to write a applescript to:
I tried:
tell application "IntelliJ IDEA 13.1.3.app"
activate
write text "^b" -- I have mapped ctrl+b to make project
end tell
but it didn't work.
Recording actions in automator and playing them back works sometimes but not always.
Seeing how there isn't much on the interwebs regarding IDEA+applescript. I almost feel, IDEA doesn't support applescript but I haven't verified this claim.
Try using the "System Events" app instead for the keystroke emulation.
eg,
activate application "IntelliJ IDEA 13.1.3"
tell application "System Events"
keystroke "b" using control down
end tell
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With