Re:
Re:
- Subject: Re:
- From: David Gregg <email@hidden>
- Date: Thu, 09 Aug 2018 18:33:33 -0600
Rudolf,
There is another option to continue to use Script Editor, if you use a macro
system like Keyboard Maestro.
The script shown below can determine whether the accessory view of the front
script window is open.
If it is open then it will trigger the shortcut you mentioned for the “Hide
Accessory View” command.
This script can then be attached to a macro system like Keyboard Maestro that
will allow you to watch an app state and trigger when you deem appropriate. In
your case that would be watching Script Editor and deciding which of the
triggering options is most appropriate to start the script. The triggering
options available are: launches/quits/is running/activates/deactivates/is
active.
tell application "System Events"
tell process "Script Editor"
if exists group 1 of splitter group 1 of splitter group 1 of
window 1 then
keystroke "9" using command down
end if
end tell
end tell
David
> On Aug 9, 2018, at 10:04 AM, email@hidden wrote:
>
> I have an annoying problem with applescript in el Capitan: the script window
> regularly opens showing only a small part of the code, the bigger part of the
> window showing an (usually empty) events or messages part.
> I know, I can toggle that with cmd-9, but this is weired, I want it always to
> open showing only the code.
> I did not find any pref to change that the way it was in older osx'es (plain
> view to the code)
>
> Thx for any hint
> Rudolf
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >[no subject] (From: "email@hidden" <email@hidden>) |