Jump to content

mazerunner

Member
  • Posts

    20
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mazerunner's Achievements

Member

Member (4/5)

1

Reputation

  1. Yes, I completely understand your point, and I’ve thought about those problems as well. While it might not be an good idea for all Universal Actions to support this, but having more control for specific cases would still be very useful. For example: • Deleting (single item): Open the action panel for the folder the item was in. • Move (single item): Open the action panel for the moved file. • Move (multiple items): Gather all moved items in the file buffer. • Copy: Open the action panel for either the source location, target location, or the copied/original file – this could be configurable by the user. Perhaps a “half solution” where certain Universal Actions (like Move, Delete, or Copy) offer this option would be a good compromise?
  2. Hi everyone! I’d love to see an option in Alfred to reopen the Universal Action panel automatically after performing an action. For example, if I move a file to a new location, I might want to rename it immediately afterward. Currently, I’ve created a custom version of the “Move” action that re-triggers the Universal Action panel, allowing me to perform additional actions like renaming (from vitor). However, having a built-in option for this functionality would be incredibly helpful. Even for actions like deleting an item, it could be useful to reopen the Universal Action panel (or at least navigate to the folder where the item was deleted). This would streamline workflows by allowing users to chain multiple actions without manually reopening the panel or navigating through Finder. It would be great to hear if others find this idea useful or have similar workflows where this could save time. Thanks for considering this!
  3. Okay, it seems, that there is a problem with my pdf's that caused this issue. With all other pdf's it's working properly. Thank you very much!
  4. Unfortunately, even after the Update I still encounter this issue (with your mentioned way via the most recently added path it's working properly).
  5. Hello everyone, I'm currently working on an Alfred workflow designed to merge several selected PDF files into one. This part of the process is functioning correctly—the selected PDFs are being merged, and the resulting file is saved to the Desktop. My next goal is to automatically move this newly created merged PDF file to a specific location of my choosing. However, I've encountered a stumbling block: the automation task that merges the PDFs doesn't provide me with the file path of the new merged PDF file. This occurs despite indications that the file path would be part of the output: . There is even this STDERR as you can see below, which I do not understand. I am thankful for every helpful advices.
  6. Hello Vitor! Perfect, that worked fine! Thank you very much. Best regards
  7. Hello everyone, I'm currently working on an Alfred workflow that involves moving multiple files. My workflow starts with a Universal Action, followed by Arg and Vars as well as a Script Filter, and ends with an Automation Task to move the files. The workflow works perfectly when I connect the Universal Action directly to the Automation Task. However, things go awry when I introduce a Script Filter between the two. My Script Filter is written in Python, and here's a simplified version of the code: import os import json old_paths_str = os.environ.get('old_paths') old_paths_lst = old_paths_str.split(', ') data_to_send = { "items": [ { "title": "Test Title", "arg": old_paths_lst } ] } print(json.dumps(data_to_send)) Despite several attempts to modify the "arg" in the JSON output to match what the Universal Action produces, I haven't been successful. Questions: 1. How can I correctly pass multiple file paths from the Script Filter to the Automation Task? 2. Is there a specific format or data type that the Automation Task expects for multiple inputs? Any help or insights would be greatly appreciated. Thank you!
  8. Good morning Vitor! Perfect, the external Trigger in combination with the Call external Trigger output was exactly what I was looking for. Thank you for this!! The Rename Action solution would work as well - but I just do not know how to implement the directory searching inside the script filter (I'm not a programmer and just got started). But still - I got a solution that works quite well. Best regards!
  9. Hello everybody! I'm working on an Alfred workflow to move a file from one directory to another. The basic functionality is straightforward: Use Universal Action connected to a File Filter (to choose the destination directory) and a simple Bash-Script for moving the file. However, I've run into challenges when trying to add error-handling to the workflow. Specifics: Error-Handling: I want to implement error-handling to ensure that the user (me) doesn't select a destination where the file already exists. I managed to create a Script Filter that issues a warning message ("That path already exists. Choose another one") if the destination file already exists. But then I just can offer a limited number of following queries with the File Filter after that. Loop-Like Behavior: Ideally, I would like to keep the user in the File Filter interface until they select a valid directory, mimicking a while loop's behavior. However, I can't figure out how to implement this loop-like behavior using Alfred's existing utilities. Questions: How can I implement a loop-like interaction that allows the user to keep selecting directories until a valid one is chosen? Is there a way to implement folder search functionality within a Script Filter similar to what the File Filter offers, so that I can keep the user within the Script Filter for better error-handling? Any guidance or suggestions would be greatly appreciated!
  10. @Vero Thank you so much! It worked. Thank you all for your effort and have a nice day!
  11. Okay, I will do it. But nevertheless: thank you very much for your effort!
  12. Unfortunately yes... 😕 With the workflow it works, but it is in that way not convenient, since they are documents that I still need.
  13. @vitor: The files are all located in ~/... (stored in the icloud). But even when I removed that from the search scope, it doesn't change anything. First troubleshooting: Starting Diagnostics... File: 'Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf' Path: '/Users/maxkrischeu/Documents/[1] Universität/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus' ----------------------------------------------------------- Check file cache database... ✅ File cache integrity is ok ----------------------------------------------------------- Check if file is readable... ✅ Alfred has permissions to read this file. Unix Permissions: 420 Underlying Type: NSFileTypeRegular Extended Attributes: ( "com.apple.lastuseddate#PS", "com.apple.macl", "com.apple.metadata:_kMDItemUserTags", "com.apple.quarantine" ) ----------------------------------------------------------- Check if volume '/' is indexed by macOS... ✅ Indexing is enabled on this drive ----------------------------------------------------------- Check direct file metadata... ✅ Direct metadata available Display Name: Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf Other Names: Content Type: com.adobe.pdf Last Used: 2023-08-28 12:48:20 +0000 ----------------------------------------------------------- Check mdls file metadata... ✅ Metadata contains required items _kMDItemDisplayNameWithExtensions = "Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf" kMDItemContentCreationDate = 2023-08-28 12:47:47 +0000 kMDItemContentCreationDate_Ranking = 2023-08-28 00:00:00 +0000 kMDItemContentModificationDate = 2023-08-28 12:47:47 +0000 kMDItemContentType = "com.adobe.pdf" kMDItemContentTypeTree = ( "com.adobe.pdf", "public.data", "public.item", "public.composite-content", "public.content" ) kMDItemDateAdded = 2023-09-06 07:02:02 +0000 kMDItemDisplayName = "Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf" kMDItemDocumentIdentifier = 16902 kMDItemEncodingApplications = ( "iOS Version 16.6 (Build 20G75) Quartz PDFContext" ) kMDItemFSContentChangeDate = 2023-08-28 12:47:47 +0000 kMDItemFSCreationDate = 2023-08-28 12:47:47 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf" kMDItemFSNodeCount = (null) kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 378151 kMDItemFSTypeCode = "" kMDItemInterestingDate_Ranking = 2023-08-28 00:00:00 +0000 kMDItemKind = "PDF document" kMDItemLastUsedDate = 2023-08-28 12:48:20 +0000 kMDItemLastUsedDate_Ranking = 2023-08-28 00:00:00 +0000 kMDItemLogicalSize = 378151 kMDItemNumberOfPages = 1 kMDItemPageHeight = 866.6434 kMDItemPageWidth = 612 kMDItemPhysicalSize = 380928 kMDItemSecurityMethod = "None" kMDItemUseCount = 7 kMDItemUsedDates = ( "2023-08-27 22:00:00 +0000" ) kMDItemVersion = "1.4" ----------------------------------------------------------- Check file is in search scope... ✅ File exists within Alfred's default search scope ----------------------------------------------------------- Check MDQuery file search... ✅ macOS returned a match for this file in your search scope. File Search Results for search scope ( "[0] /System/Volumes/Data/Users/maxkrischeu/Documents/[1] Universita\U0308t/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus/Certificate-of-Arrival_Ausgefu\U0308llt_Linn\U00e6us-Universita\U0308t.pdf" ) File Search Results for ~/ ( "[0] /System/Volumes/Data/Users/maxkrischeu/Documents/[1] Universita\U0308t/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus/Certificate-of-Arrival_Ausgefu\U0308llt_Linn\U00e6us-Universita\U0308t.pdf" ) File Search Results for / ( "[0] /System/Volumes/Data/Users/maxkrischeu/Documents/[1] Universita\U0308t/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus/Certificate-of-Arrival_Ausgefu\U0308llt_Linn\U00e6us-Universita\U0308t.pdf" ) ----------------------------------------------------------- ✅ Troubleshooting passed Second troubleshooting: Starting Diagnostics... File: 'Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf' Path: '/Users/maxkrischeu/Documents/[1] Universität/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus' ----------------------------------------------------------- Check file cache database... ✅ File cache integrity is ok ----------------------------------------------------------- Check if file is readable... ✅ Alfred has permissions to read this file. Unix Permissions: 420 Underlying Type: NSFileTypeRegular Extended Attributes: ( "com.apple.lastuseddate#PS", "com.apple.macl", "com.apple.metadata:_kMDItemUserTags", "com.apple.quarantine" ) ----------------------------------------------------------- Check if volume '/' is indexed by macOS... ✅ Indexing is enabled on this drive ----------------------------------------------------------- Check direct file metadata... ✅ Direct metadata available Display Name: Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf Other Names: Content Type: com.adobe.pdf Last Used: 2023-08-28 12:48:20 +0000 ----------------------------------------------------------- Check mdls file metadata... ✅ Metadata contains required items _kMDItemDisplayNameWithExtensions = "Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf" kMDItemContentCreationDate = 2023-08-28 12:47:47 +0000 kMDItemContentCreationDate_Ranking = 2023-08-28 00:00:00 +0000 kMDItemContentModificationDate = 2023-08-28 12:47:47 +0000 kMDItemContentType = "com.adobe.pdf" kMDItemContentTypeTree = ( "com.adobe.pdf", "public.data", "public.item", "public.composite-content", "public.content" ) kMDItemDateAdded = 2023-09-06 07:02:02 +0000 kMDItemDisplayName = "Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf" kMDItemDocumentIdentifier = 16902 kMDItemEncodingApplications = ( "iOS Version 16.6 (Build 20G75) Quartz PDFContext" ) kMDItemFSContentChangeDate = 2023-08-28 12:47:47 +0000 kMDItemFSCreationDate = 2023-08-28 12:47:47 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "Certificate-of-Arrival_Ausgefüllt_Linnæus-Universität.pdf" kMDItemFSNodeCount = (null) kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 378151 kMDItemFSTypeCode = "" kMDItemInterestingDate_Ranking = 2023-08-28 00:00:00 +0000 kMDItemKind = "PDF document" kMDItemLastUsedDate = 2023-08-28 12:48:20 +0000 kMDItemLastUsedDate_Ranking = 2023-08-28 00:00:00 +0000 kMDItemLogicalSize = 378151 kMDItemNumberOfPages = 1 kMDItemPageHeight = 866.6434 kMDItemPageWidth = 612 kMDItemPhysicalSize = 380928 kMDItemSecurityMethod = "None" kMDItemUseCount = 7 kMDItemUsedDates = ( "2023-08-27 22:00:00 +0000" ) kMDItemVersion = "1.4" ----------------------------------------------------------- Check file is in search scope... ✅ File exists within Alfred's default search scope ----------------------------------------------------------- Check MDQuery file search... ✅ macOS returned a match for this file in your search scope. File Search Results for search scope ( "[0] /System/Volumes/Data/Users/maxkrischeu/Documents/[1] Universita\U0308t/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus/Certificate-of-Arrival_Ausgefu\U0308llt_Linn\U00e6us-Universita\U0308t.pdf" ) File Search Results for ~/ ( "[0] /System/Volumes/Data/Users/maxkrischeu/Documents/[1] Universita\U0308t/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus/Certificate-of-Arrival_Ausgefu\U0308llt_Linn\U00e6us-Universita\U0308t.pdf" ) File Search Results for / ( "[0] /System/Volumes/Data/Users/maxkrischeu/Documents/[1] Universita\U0308t/[1.5] Auslandssemester Schweden/[1.5.3] Auslandssemester Schweden - Organisatorisches/[1.5.3.1] Auslandssemester Schweden - Organisatorisches - Erasmus/Certificate-of-Arrival_Ausgefu\U0308llt_Linn\U00e6us-Universita\U0308t.pdf" ) ----------------------------------------------------------- ✅ Troubleshooting passed I use macOS Ventura 13.5 and Alfred 5.1.2 [2145].
  14. Unfortunately that was already the case. Any more Ideas? I reseted different settings also multiple times.
×
×
  • Create New...