Hi all,

I'm a heavy user of the scratchpad and have Alfred/Keyboard Maestro 
shortcuts set up to access the scratchpad via AppleScript.

I use:

    tell application "BBEdit" 
            activate 
            open scratchpad document 
            set the index of the window of scratchpad document to 1 
    end tell

There is a small, but noticeable and annoying delay before the scratchpad 
appears with this method.

Another option, using the command line tool with --scratchpad is 
instantaneous, but I have to pipe *something* to it, even if it's just a 
space of linefeed, which I don't want to do.

Is there a better method with AppleScript perhaps, or is this just an 
inherent slowness in the AppleScript engine?

I'm on Mojave 10.14.2, BBEdit 12.5.2.

Cheers,

-Ben

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to