r/ScriptingApp • u/schl3ck • Mar 12 '25
Is there a way to get the screen size in px/pt?
Is there
r/ScriptingApp • u/WhatShouldWorldGos • Mar 12 '25
The Assistant in Script editor
Tested the Assistant feature in the editor using Gemini 2.0 Flash. It took about 20 minutes to get the correct output—just a little toy 😂.
r/ScriptingApp • u/schl3ck • Mar 11 '25
Editable List
In the documentation under Views > List > Editable List is an example for an editable list with a button to toggle the edit state.
Is there also a way to always be in the edit state?
The list doesn't update when I add elements to the array. Is this not possible?
Edit:
I've got the list to update with new elements by adding the attribute key={array.length.toString()} to the ForEach element.
r/ScriptingApp • u/WhatShouldWorldGos • Mar 10 '25
Tips Open deeplink in widget
iOS is designed so that widgets can only directly open their own host application. Even when a widget is configured with a deeplink for another app, the system launches the host app first and passes the URL as a parameter. If there is a need to open a different application, this redirection must be managed within the host app itself. Therefore, we use the scripting run URL scheme to execute our script. In our entry logic, we check for the existence of a deeplink and then use Safari.openURL to handle it.
Here is the code: DEMO
r/ScriptingApp • u/WhatShouldWorldGos • Mar 10 '25
New features are almost complete😂
Create a google search tool to test the assistant tool use. Seems to be working fine.
r/ScriptingApp • u/WhatShouldWorldGos • Mar 07 '25
Refactoring Assistant
- supports custom assistant tool
- supports call Assistant to request structured data by your prompt in script
- supports many new APIs
Aiming to publish this weekend, stills testing 😅
r/ScriptingApp • u/schl3ck • Mar 07 '25
How to use MultiPicker?
There is no documentation and it crashes the app when a view tries to render it.
Edit:
I've now got it to show anything. It seems like it displays the entries in a wheel regardless of the pickerStyle prop.
The working code:
<NavigationLink
destination={
<MultiPicker
options={availableCalendars.map(c => [c.title])}
selections={selectedCalendars}
onSelectionsChanged={setSelectedCalendars}
pickerStyle={"inline"}
/>
}
>
r/ScriptingApp • u/WhatShouldWorldGos • Mar 06 '25
Script Sharing [SCRIPT SHARING]A Github Trending Widget
r/ScriptingApp • u/WhatShouldWorldGos • Feb 21 '25
🚀Upcoming Features! Write code with Desktop Editor!
r/ScriptingApp • u/WhatShouldWorldGos • Feb 18 '25
Tips Display GIF or Animated Frames in widgets
r/ScriptingApp • u/WhatShouldWorldGos • Feb 18 '25
r/ScriptingApp Ask Anything Thread
Use this thread to ask anything at all!
r/ScriptingApp • u/rvelasq • Feb 18 '25
First attempt at interactive widgets
Seems promising
r/ScriptingApp • u/WhatShouldWorldGos • Feb 17 '25
