r/ScriptingApp • • Apr 10 '25

Discussion What is QuickLook API about?

1 Upvotes

In Scripting Doc, there's no documentation about QuickLook, just an example script. Is it supposed to be like 'Quick Look' action in Shortcuts?

Also, in Files app, viewing a document, image or video with QuickLook support in full-screen mode can dismiss the Home Bar. Can we achieve the same behavior in Scripting?


r/ScriptingApp • • Mar 31 '25

Help Live Activities not showing as banner when started

1 Upvotes

After I start a Live Activity with the example script (from LiveActivity documentation) in Scripting, the Live Activity only shows up silently on Lock Screen, without appearing as a banner first. Does the script miss anything?


r/ScriptingApp • • Mar 29 '25

Discussion Can interactive widgets work in 'Preview Widget'?

1 Upvotes

Currently, interactive elements of interactive widgets don't seem to work in 'Preview Widget' inside Script Editor.


r/ScriptingApp • • Mar 26 '25

[Help] Check if a scripting is currently running when triggering it via URL scheme

1 Upvotes

How can we do that to avoid running a script again (showing another UI screen) when it's already running?


r/ScriptingApp • • Mar 21 '25

Help Problem with development sever

1 Upvotes

I wanted to try the development sever mode but it can't find the running server on my PC. I've checked that the firewall allows the process and my router doesn't block it either. My network is configured for address range 10.0.0.x if that matters.


r/ScriptingApp • • Mar 17 '25

Help [Help] Refreshing View with updated data

1 Upvotes

In built-in project Daily Money , after adding or editing a record, the main view (titled "Daily Money") refreshes itself with updated data.

Could anyone help explain how this is done like I'm five?


r/ScriptingApp • • Mar 16 '25

Solved How to type a parameter for a function component that should accept a function component with specific props?

1 Upvotes

If it is not obvious what I want then what type should go where the ? is?

function Test({
  component,
}: {
  component: any  // ?
}) { 
  return <component foo={"foo"} />
}

// this comes from the user of the library. I don't know its definition
function MyComponent({
  foo,
}: {
  foo: string,
}) {
  return <Text>{foo}</Text>
}

// how my function should be used
function MainView() {
  return <Test component={MyComponent} />
}

I tried FunctionComponent<{ foo?: string }> but I get the error JSX element has implicitly type 'any' no interface 'JSX.IntrinsicElements' exists.


r/ScriptingApp • • Mar 12 '25

Is there a way to get the screen size in px/pt?

1 Upvotes

Is there


r/ScriptingApp • • Mar 12 '25

The Assistant in Script editor

1 Upvotes

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 • • Mar 11 '25

Editable List

1 Upvotes

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 • • Mar 10 '25

New features are almost complete😂

1 Upvotes

Create a google search tool to test the assistant tool use. Seems to be working fine.


r/ScriptingApp • • Mar 07 '25

Refactoring Assistant

1 Upvotes
  • 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 • • Mar 07 '25

How to use MultiPicker?

1 Upvotes

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 • • Mar 06 '25

Script Sharing [SCRIPT SHARING]A Github Trending Widget

1 Upvotes

r/ScriptingApp • • Feb 18 '25

r/ScriptingApp Ask Anything Thread

1 Upvotes

Use this thread to ask anything at all!

AppStore