Jump to content

Search the Community

Showing results for tags 'automation task'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Submit your Workflows to Alfred Gallery
    • Share your Workflows
    • Workflow Help & Questions
    • Workflow Advanced Tips & Tricks
    • Workflow Automation Tasks
  • Alfred Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Categories

  • New Features
  • Other

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 2 results

  1. One step in my workflow is using the Automation Task "Run JavaScript in Chromium Browser Tab" to fetch specified text as page title. It works correctly in Google Chrome, but fails in the Arc browser. The problem is the output of the Automation Task is always an empty string, regardless of the JavaScript it executes. For example, the JavaScript is document.getElementById('productTitle').innerText to get the product title on an amazon product page. In Google Chrome, the output is the title returned by the code, but in Arc browser it is an empty string. Automation Task Debug information For the product page: https://www.amazon.com/How-Take-Smart-Notes-Technique-ebook/dp/B09V5M8FR5 Arc browser [00:10:05.828] Markdown[Automation Task] Running task 'Run JavaScript in Chromium Browser Tab' with no arguments [00:10:05.992] Markdown[Automation Task] Processing complete [00:10:05.994] Markdown[Automation Task] Passing output '' to Arg and Vars [00:10:05.997] Markdown[Arg and Vars] Processing complete [00:10:05.998] Markdown[Arg and Vars] Passing output '' to Copy to Clipboard I also tested the with alert(document.getElementById('productTitle').innerText), it runs and alert the title, so the title is there, but seems cannot set to output. Google Chrome [00:13:05.706] Markdown[Automation Task] Running task 'Run JavaScript in Chromium Browser Tab' with no arguments [00:13:05.916] Markdown[Automation Task] Processing complete [00:13:05.917] Markdown[Automation Task] Passing output 'How to Take Smart Notes: One Simple Technique to Boost Writing, Learning and Thinking ' to Arg and Vars [00:13:05.918] Markdown[Arg and Vars] Processing complete [00:13:05.918] Markdown[Arg and Vars] Passing output 'How to Take Smart Notes: One Simple Technique to Boost Writing, Learning and Thinking ' to Copy to Clipboard Tell me if you need more information, thanks.
  2. While this isn't strictly speaking a bug, I don't think when people select the "Recursive" option to "Act on directory contents" for the Automation Tasks of tags (e.g., Add Tags, Remove Tags, Clear Tags) that they intend this to apply to the contents of packages. For instance, if you use the "Add Tags" Automation Task, and select the "Recursive" option, when it's applied to an application, it will actually add the tag to the invisible contents of the application, too - which could cause problems, and seems like overkill. I'm sure there are a bunch of ways to fix this, but it'd probably be easiest to do a quick content tree check for "com.apple.package" - which is broad enough to catch applications, bundles, kernel extensions and most things you wouldn't want Alfred thumbing through - and to only apply/remove/clear the tags of children of files that don't contain it. In other words, if it's a package, Alfred should just behave as if the user had not selected the recursive option (i.e., applying/removing/clearing the tags of the package but NOT its children/contents). If you need any more info, just let me know. Cheers! PS: I'm on Tasks Version 2022.14 (Last Checked Sep 13, 2022, 4:06 PM) & Alfred 5.0.2
×
×
  • Create New...