Re: Concerns about the Python library appscript
[email protected] Mon, 25 Aug 2025 02:14:57 -0700
| Newsgroups | gmane.comp.python.apple |
|---|---|
| Message-ID | <[email protected]> |
--===============4672373327694882121== Content-Type: multipart/alternative; boundary="Apple-Mail=_724DFEE9-3441-4804-873B-B5D8E2A9E786" --Apple-Mail=_724DFEE9-3441-4804-873B-B5D8E2A9E786 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 24, 2025, at 12:56=E2=80=AFPM, Jack Jansen <[email protected]> = wrote: >=20 > Thanks for the positive news! Glad that I could share a small sliver of a silver lining :) > I really loved OSA at the time, and I=E2=80=99ve used it extensively. >=20 > But the last two things I wanted to automate failed utterly. Photos = still has something of a dictionary, but you can do little more than = control a slide show. No way to do usable searches (like =E2=80=9Cany = photo taken in such-and-such an area in December=E2=80=9D). And = Mainstage has no dictionary at all (and _that_ would be an absolutely = wonderful app to control). Logic Pro has a dictionary but it allows = little more than closing a window. Yeah, some dictionaries are quite bad, and it's extremely heavily app = dependent. It's fair to say that *most* apps don't have very good = support. But there are still useful things to do. Photos search is a bummer, = *but*, it's still easier to hoover up all the .date_() datetimes and = .location() latlongs than to muck about in Photos' SQLite database = itself, or to try to write against the equally-useless PhotoKit for bulk = selection. And search does do=E2=80=A6 something? I can search for = people's names, or dates in US-format M/D/YY, and I can at least get = *one* filter mostly reliably. But mac automation has always been kinda like this, since the very = beginning. Just count yourself lucky you don't need to use COM :). > Since then I=E2=80=99ve sort-of given up on it. But I=E2=80=99ll at = least try again if I want to automate something. It's rarely worth trying hard to make something work; either it's there = or it's not. > Jack Here's hoping I don't look very silly after Tahoe gets released, since I = haven't tried the betas yet=E2=80=A6 -g= --Apple-Mail=_724DFEE9-3441-4804-873B-B5D8E2A9E786 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: = after-white-space;"><br><div><blockquote type=3D"cite"><div>On Aug 24, = 2025, at 12:56=E2=80=AFPM, Jack Jansen <[email protected]> = wrote:</div><br class=3D"Apple-interchange-newline"><div><meta = charset=3D"UTF-8"><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;">Thanks for the positive = news!</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;"></div></blockquote><br><div>Glad that I could share a small = sliver of a silver lining :)</div><br><blockquote type=3D"cite"><div><span= style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;">I really loved OSA at = the time, and I=E2=80=99ve used it extensively.</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;"><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;"><span style=3D"caret-color: rgb(0, 0, 0); font-family: = Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;">But the last two things = I wanted to automate failed utterly. Photos still has something of a = dictionary, but you can do little more than control a slide show. No way = to do usable searches (like =E2=80=9Cany photo taken in such-and-such an = area in December=E2=80=9D). And Mainstage has no dictionary at all (and = _that_ would be an absolutely wonderful app to control). Logic Pro has a = dictionary but it allows little more than closing a window.</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;"></div></blockquote><div><br></div><div>Yeah, some dictionaries = are quite bad, and it's extremely heavily app dependent. It's fair to = say that *most* apps don't have very good = support.</div><div><br></div><div>But there are still useful things to = do. Photos search is a bummer, *but*, it's still easier to hoover up all = the .date_() datetimes and .location() latlongs than to muck about in = Photos' SQLite database itself, or to try to write against the = equally-useless PhotoKit for bulk selection. And search does do=E2=80= =A6 something? I can search for people's names, or dates in US-format = M/D/YY, and I can at least get *one* filter mostly = reliably.</div><div><br></div><div>But mac automation has always been = kinda like this, since the very beginning.</div><div><br></div><div>Just = count yourself lucky you don't need to use COM :).</div><br><blockquote = type=3D"cite"><div><span style=3D"caret-color: rgb(0, 0, 0); = font-family: Menlo-Regular; font-size: 14px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none; float: none; display: inline !important;">Since = then I=E2=80=99ve sort-of given up on it. But I=E2=80=99ll at least try = again if I want to automate something.</span><br style=3D"caret-color: = rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 14px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration: none;"></div></blockquote><div><br></div><div>It's = rarely worth trying hard to make something work; either it's there or = it's not.</div><br><blockquote type=3D"cite"><div><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;">Jack</span><br = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 14px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none;"></div></blockquote></div><div><br></div><div>Here's hoping I = don't look very silly after Tahoe gets released, since I haven't tried = the betas yet=E2=80=A6</div><div><br></div><div>-g</div></body></html>= --Apple-Mail=_724DFEE9-3441-4804-873B-B5D8E2A9E786-- --===============4672373327694882121== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Pythonmac-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/pythonmac-sig.python.org Member address: [email protected] --===============4672373327694882121==--