Re: Scrolling Window from AppleScript?
- --- In SubEthaEdit@yahoogroups.com, Stefan Brantschen <sbr@...> wrote:
>Reviving a slightly older thread...
> Can I scroll a SubEthaEdit window to show the current selection (or
> insertion point) from AppleScript?
> Thanks and regards
> -- Stefan
This can be done using UI Scripting. You basically have System Events click the appropriate
menu entry, in this case "Jump to Selection". I show how to do that in a blog post here:
to.html>. I use it as part of a shell script, but the relevant bits of AppleScript can be
isolated without any trouble.
Hope that helps,