microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.14k stars 29.28k forks source link

Offer actions for AppleScript Editor #88093

Closed googol7 closed 4 years ago

googol7 commented 4 years ago

I'd like to create a script with the AppleScript Editor to "remote control" Visual Studio Code.

This doesn’t work at the moment:

tell application "Visual Studio Code" to set the bounds of the front window to {345, 23, 2560, 1390}

googol7 commented 4 years ago

This would be very handy to organize the screen with ControlPlane according to the current work situation (2 large screens at home, 1 small LCD on the go, etc.) like described here.

nicooprat commented 4 years ago

Also looking forward to this. It would be pretty useful, making it easy to create some shortcuts with Mac touchbar and BetterTouchTool for instance: image

deepak1556 commented 4 years ago

Support should be provided by runtime Electron, closing as part of issue grooming https://github.com/microsoft/vscode/wiki/Issue-Grooming