Closed Bug 243543 Opened 21 years ago Closed 1 year ago

Add Applescript support and dictionary to Thunderbird

Categories

(Thunderbird :: OS Integration, enhancement)

All
macOS
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: samc, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug, )

Details

(Whiteboard: [penelope_wants] [gs])

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 Build Identifier: Thunderbird 0.6 (20040502) Add Applescript support and dictionary to Thunderbird on Mac OS X. At this point, it appears that Thunderbird may have some Applescript capabilities (it responds to basic process commands) but it's unclear whether that's intentional or simply a feature of Mac OS. Attempting to open the Thunderbird dictionary in Script Editor does nothing -- no error, no feedback. It just silently fails. Reproducible: Always Steps to Reproduce: 1. Open Script Editor. 2. Open the Thunderbird dictionary. 3. Observe the total absence of any feedback. Does the dictionary exist? Expected Results: A dictionary should be available with objects, properties, etc. Thunderbird should support Applescript events so scripts can control the application. At the very least, it would be nice to be able to query Thunderbird to check for new mail using Applescript.
Depends on: 125419
version 0.6+ (20040522) No Dictionary found using script editor... seems reasonable to have one.
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: general
I'd say that this is an essential feature for a Mail application in the Mac. Any user that has iPhoto and wants to send a photo as an attachment faces a HUGE hurdle when trying to use Thunderbird to accomplish this task. This is because the way iPhoto stores photos is (in principle) no accessible to the user, so it relies on Applescript to send photos as attachments via Mail.app or whatever else. Without Applescript, Thunderbird users must use some pretty sophisticates tricks to be able to find the photos.
Assignee: mscott → nobody
Whiteboard: [penelope_wants]
This has a dependency which I think is no longer appropriate. Firefox already have some Applescript support, so I imagine all the further work needs to go into Thunderbird directly. I'm thinking that what needs to be supported is just the equivalent library to the command line interface. The command line interface is fairly useless on OSX because it does not work if Thunderbird is already running.
Someone please change the platform to include Intel Mac OS X too.
Marking as all OS X platforms.
Hardware: PowerPC → All
Just being able to do the simple function of opening a new message and then attaching any file from one of the standard Apple Apps would be great!! I love Thunderbird but hate not being able to write a simple Applescript that will give me the functionality of mailing a PDF from a Print dialog box.
OS: Mac OS X → Windows 7
Whiteboard: [penelope_wants] → [penelope_wants] [gs]
Windows 7? For an Applescript bug?
OS: Windows 7 → Mac OS X
Does the recent fix of bug 287345 changes anything for that bug? Ari, you seem to be knowledgeable about Thunderbird Mac stuff, any opinions?
Component: General → OS Integration
QA Contact: general → os-integration
I would also like this for Things for Mac support.
Adding dictionary support to core is Bug 301451. If this is fixed it will also work in TB with Cmd-Ctrl-D (tested).
Blocks: tb-mac
(In reply to Nomis101 from comment #11) > Adding dictionary support to core is Bug 301451. If this is fixed it will > also work in TB with Cmd-Ctrl-D (tested). Looks like that bug refers to spelling dictionary? This 'bug' refers to AppleScript Dictionary. Just wanted to clear that up. Either this one or the issue with -compose command line could do with resolution, to allow TB Mac to play nicer with other apps. Clearly not trivial to do, is there anyone who has the skills required to address this?
Is the dependency on Bug 125419 still valid? The most likely/common requirement for Applescript support in TB is creation of new email window and populate with fields/attachments. In this case, this would require coding specifcally in TB, rather than Core?
But we need it in Core first and then add the Thunderbird specifics.
Depends on: 739348
Shouldn't this be mailnews core? I see AppleScript support as a great way to provide access to the SeaMonkey/Thunderbird address book for external programs, even if the only support were enough to cause import/export to occur. This could provide a hook for syncing?
I don't think any of us mind particularly which component the bug is in, as long as it gets fixed. (Did you want to take a stab at it? :)
(In reply to Rich Gray (:rbgray) from comment #17) > Shouldn't this be mailnews core? It really depends on how it gets implemented, and I suspect due to the way the Mac build system works, SeaMonkey would need some specialist code anyway (and I wouldn't be surprised if they already have a bug for SeaMonkey that covers browser & mailnews activities).
What is the status for this bug? I can open a dictionary and there seems to be some commands that are specific to Thunderbird, are there? I want to modify the To/From-fields using script, is that possible?

I see this issue was updated last 4 years ago and it had been raised first already 17 years ago.

I'm a Mac user and Thunderbird user. Would it be so difficult to add AppleScript dictionary to TB? I need to access message IDs to access individual messages via scripts.

Hear, hear. I need to write an applescript to be able to programmatically hunt for folders with new mail and open new windows to those folders, and, guess what? After 17 years, I still can't.

Severity: normal → S3

How is this S3? There is no workaround. It should be S2. I can't believe we've waited 19 years for this. Unfortunately, I now have to switch to Outlook as it's the only power-user Mac email client with AS support.

I have an issue where I need to easily retrieve information from a few hundred alert emails. I need the subject lines, dates, and body text. Decent Applescript support would let me do this in about 20 seconds. As it is, my sole option is to export hundreds of individual ".eml" files and find a way to parse them, despite the fact that they contain no clear delimiter for the body part, making it a herculean task.

We aren't going to do anything applescript related. Sorry.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.