Re: Faster method of opening Scratchpad with AppleScript

2019-01-25 Thread Ben Smith
You are correct, sir. It is using osascript. It's all I use it for, so it may well be the source of the lag. Thanks for the tip. :-) On Thursday, January 24, 2019 at 11:04:51 PM UTC, Christopher Stone wrote: > > On 01/24/2019, at 09:25, Ben Smith > > wrote: > > Yep, I had the same thought after

Re: Faster method of opening Scratchpad with AppleScript

2019-01-24 Thread Christopher Stone
On 01/24/2019, at 09:25, Ben Smith mailto:benpto...@gmail.com>> wrote: > Yep, I had the same thought after I made the post. :-) That method is fast > every time so I'll have to train myself to use hotkeys instead of Alfred. Odd > though. Hey Ben, Actually it's not that odd if I conjecture

Re: Faster method of opening Scratchpad with AppleScript

2019-01-24 Thread Ben Smith
Yep, I had the same thought after I made the post. :-) That method is fast every time so I'll have to train myself to use hotkeys instead of Alfred. Odd though. Appreciate the suggestion. Cheers, -Ben -- This is the BBEdit Talk public discussion group. If you have a feature request or need

Re: Faster method of opening Scratchpad with AppleScript

2019-01-24 Thread Ben Smith
Thanks Rich, I like that that method's apparently cleaner :-) Doesn't seem to sort the lag issue though. Subsequent calls in quick succession work quickly though - I wonder if something is being unloaded/loaded after a period. -- This is the BBEdit Talk public discussion group. If you have a

Re: Faster method of opening Scratchpad with AppleScript

2019-01-24 Thread Patrick Woolsey
On 1/24/19 at 9:21 AM, benpto...@gmail.com (Ben Smith) wrote: I'm a heavy user of the scratchpad and have Alfred/Keyboard Maestro shortcuts set up to access the scratchpad via AppleScript. [...] Just to offer a non-AppleScript suggestion :-) you could also create an hot key-triggered

Re: Faster method of opening Scratchpad with AppleScript

2019-01-24 Thread Rich Siegel
On 1/24/19 at 9:21 AM, benpto...@gmail.com (Ben Smith) wrote: > tell application "BBEdit" > activate > open scratchpad document > set the index of the window of scratchpad document to 1 > end tell Try this as an alternative: tell application

Faster method of opening Scratchpad with AppleScript

2019-01-24 Thread Ben Smith
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