Replies: 3 comments 3 replies
-
|
More: await applescript( doesn't ever execute its second line, unless I comment out the first |
Beta Was this translation helpful? Give feedback.
-
|
A temp fix: send("HIDE_APP")
await applescript(`display alert "hello"`)
terminal(`echo "hello"`)Kit has logic to end a script when the prompt "blurs"/loses focus. Imagine clicking outside the prompt and expecting your script to exit. The "HIDE_APP" (again just a temp fix) will tell Kit that the blur was intentional. I'll re-visit that blur logic and get it sorted. Something like "only exit on blur if prompt was expecting input" |
Beta Was this translation helpful? Give feedback.
-
|
I'm going to send a For now, it will call
I'll try to push out a build tomorrow. (It will include a really exciting feature I've been building towards for a looong time 😉) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The following code never displays the alert dialog unless I comment out line 1:
terminal(
echo "hello");await applescript(
display alert "hello");I had some scripts break (I think with beta18, although it coulda been the one of two before then). After calling terminal, execution disappeared into the ether - subsequent code not executed, no errors in the log... So I wrote this simple script to test.
Beta Was this translation helpful? Give feedback.
All reactions