Closed Arinono closed 3 years ago
I wanted to use the type Finder.Item in my mapping, but the type defines a URL whereas the actual syntax is lowercase.
Finder.Item
URL
const files = Application<Finder>('Finder').selection() return files.map((f: {kind: () => string; url: () => string}) => ({ kind: f.kind(), path: f.url() }))
EDIT: Just so you know, I changed the Finder.sdef manually. The real one has the key URL, but it doesn't work this way:
Finder.sdef
Thanks!
v1.3.4 includes this fix.
I wanted to use the type
Finder.Item
in my mapping, but the type defines aURL
whereas the actual syntax is lowercase.EDIT: Just so you know, I changed the
Finder.sdef
manually. The real one has the keyURL
, but it doesn't work this way: