onflapp / gs-desktop

GNUstep Desktop
https://onflapp.github.io/gs-desktop/index.html
MIT License
101 stars 6 forks source link

StepTalk documentation #6

Closed cneira closed 1 year ago

cneira commented 1 year ago

I was trying to find information about StepTalk for scripting but I keep getting 404 on the resources I found. Is it possible to use scripting to call and app with a predefined command?

For example instead of executing Screen Shot.app from the dock I want to use alt+shift+4 to take a screenshot of a screen section using the screenshot app, is that possible?

cneira commented 1 year ago

This is awesome!, it was really simple, I created a file called takeone.st ScreenShot takeScreenShot:nil then just call it with
stexec takeone.st

onflapp commented 1 year ago

Yes, StepTalk is awesome! Unfortunately the official project has been abandoned for years. The only really documentation is documentation and examples that come with the source code. BTW: if you want to launch a script using global short cut: