Comments (7)
I believe that this is due to Mail having a different menu layout in Ventura.
Try to change "menu item 18" with "menu item 21" in the final "Run script" action.
from alfred-mail-sorter.
I've changed the AppleScript of the second step on the workflow to a more straightforward move command. However, I'm still having trouble dealing with Gmail Accounts.
I guess I will keep an eye on how one could use both account and mailbox names in the menu approach, as it used to work even with Gmail accounts.
from alfred-mail-sorter.
I've changed the AppleScript of the second step on the workflow to a more straightforward move command. However, I'm still having trouble dealing with Gmail Accounts.
I guess I will keep an eye on how one could use both account and mailbox names in the menu approach, as it used to work even with Gmail accounts.
... and i even had trouble with every Account (one IMAP and one Exchange-Account). I've testet it under Ventura and Sonoma (current Version / Language set to: German) and it didn't move any Mail :-/
from alfred-mail-sorter.
@Blog404DE
I had the same problem. In "move command.applescript", I replaced the line
set mailbox of theMessage to theMailbox
with
move theMessage to theMailbox
(and put the line set theMailbox to mailbox mailboxName of account theAccount
before of the repeat
loop), and now it works fine.
from alfred-mail-sorter.
@odapg
hmm, i've changed the script to the following code:
on run argv
tell application "Mail"
try
set mailboxName to item 1 of argv
set theAccount to item 2 of argv
if selection is {} then error
set messageList to (selection as list)
set theMailbox to mailbox mailboxName of account theAccount
repeat with theMessage in messageList
-- set theMessage to the first item of (selection as list)
set theMailbox to mailbox mailboxName of account theAccount
move theMessage to theMailbox
end repeat
end try
end tell
end run
But it still didn't move any E-Mails and i have absolutely no idea how to debug a AppleScript inside of Alfred :-(
from alfred-mail-sorter.
@Blog404DE
Hmm. On my side it even works with my gmail account (on Sonoma 14.2.1).
Actually, my personal version is also modified at the level of the other applescript, in order to make it independent of JSON Helper.
So: I forked @ldebritto's project, and put my complete version on this fork. Perhaps can you give it a try? If it works, I could propose to @ldebritto to merge it (and this would probably mean that the problem comes from JSON Helper).
from alfred-mail-sorter.
thx :-) ... I've tried it with the same result. But i've found a option to debug my problem.
With activating the debugging mode in alfred, i've could created some log-Outputs. The first part of the script (creating a list auf mailboxes) is working without any problem (with your version) and i've testet the second script and it seems, the Problem started with the line:
set theMailbox to mailbox mailboxName of account theAccount
After this line, the script stopped and log "Debug-Point"
didn't output anything inside Alfred's debugger. A debug output in the line directly in front of it, however, is still displayed and "mailboxName" / "theAccount" contains the correct information.
Maybe i've got time to dig deeper into the problem next year ... ;-)
from alfred-mail-sorter.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-mail-sorter.