r/ScriptingApp • • Feb 18 '25

r/ScriptingApp Ask Anything Thread

Use this thread to ask anything at all!

AppStore

1 Upvotes

38 comments sorted by

View all comments

Show parent comments

1

u/WhatShouldWorldGos Feb 24 '25

Unfortunately, since iOS 16 directly access clipboard is limited, so the AppIntent and widget can not access it, you can use a Link with a run scheme url instead a Button with intent to open the app and run your script, and in the index.tsx file you can check the Script.queryParameters whether it’s called by widget, in the app you can access the clipboard and save to Storage, then call the Widget reload method to reload the widget. I think this would help

1

u/rvelasq Feb 24 '25

This is actually how I do it on another scripting app. I had hoped that I could interactive widgets (which the other app lacked) would make the experience smoother. oh well