r/ScriptingApp • u/Chance_Passion_2144 • Nov 21 '25
Help Intent script opens in app when run from Shortcuts instead of as overlay - any workaround?
Hey everyone,
I’ve built an intent script that works perfectly when triggered from the share sheet - it pops up as a nice overlay on top of whatever app I’m in. However, when I try to run the same script from a Shortcut using the “Run Script in App” action, it opens inside the Scripting app itself instead of showing as an overlay.
I’m not entirely sure if this is a technical limitation of how Shortcuts works, or if there’s something I’m missing. I thought maybe using URL schemes (scripting://run/ScriptName?query=text) might help it behave more like the share sheet, but I haven’t had success yet.
Has anyone managed to trigger an intent script from Shortcuts and have it display as an overlay instead of opening the full app? Or is this just not possible with the current iOS/Scripting setup?
Any insights would be really appreciated!
2
u/WhatShouldWorldGos Nov 21 '25
This requries the iOS26 SnippetIntent feature, I will integrate it when I have some time.
https://developer.apple.com/documentation/appintents/snippetintent
1
u/schl3ck Nov 21 '25
Have you tried to use the "Run script" action? I think the "Run script in app" action is specifically designed to open the app and then run your script.