Jump to content

jct

Member
  • Posts

    7
  • Joined

  • Last visited

Everything posted by jct

  1. Perfect, this works great (without the -l Javascript). Cheers.
  2. I'm trying to build a chrono workflow that does scheduled tasks in the background. I was hoping to accomplish this in Alfred. I'm using Alfed 5.5 on Sonoma 14.4.1 Here's the code for the LaunchAgent: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.jct.runalfredchrono.plist</string> <key>LimitLoadToSessionType</key> <string>Aqua</string> <key>ProgramArguments</key> <array> <string>/Users/jct/Library/Application Scripts/alfredchronolauncher.sh</string> <string>periodic</string> </array> <key>StartInterval</key> <integer>60</integer> <key>KeepAlive</key> <true/> <key>RunAtLoad</key> <true/> <key>StandardErrorPath</key> <string>/dev/null</string> <key>StandardOutPath</key> <string>/dev/null</string> </dict> </plist> And here's the code for the script called by the agent. #!/bin/bash open "alfred://runtrigger/jct.chrono/run/" The LaunchAgent was loaded with: launchctl load /Users/jct/Library/LaunchAgents/com.jct.runalfredchrono.plist The workflow itself consists only of the external trigger so far (I'm planing to extend it as soon as the focus problem is solved).
  3. When calling an external trigger via Apple Script (or via the URL alfred://), the focus on the current application is lost, even when the workflow doesn't contain any input elements. Is there any way to accomplish this so that alfred does its stuff in the background without stealing the focus from the frontmost app? tell application id "com.runningwithcrayons.Alfred" to run trigger "name of trigger" in workflow "id of workflow"
  4. The existing features are great for actions on one particular contact field. However, if you wish to perform an action that requires multiple fields, say open a letter template in Word and insert the address, access to multiple contact fields (name, address, gender) would be required. As far as I can see, there's currently no way to achieve that.
  5. It would be great if Alfred allowed for multiple actions for contacts. This could be done similarly to file actions by pressing the right arrow key and displaying the actions for the user to select.
  6. This is something I have actually tried. However, most of the items didn't appear in the clipboard history. Apparently, the items have to remain in the clipboard for a while for Alfred to capture them. It works if I add a 1 second delay between the pbcopy-operations, but of course this way it takes ample time to populate the clipboard history.
  7. It would be great if Alfred could offer a feature to paste multiple items to the clipboard, i.e. creating separate entries in the clipboard history. As an example, this would enable a workflow that splits the current clipboard into multiple entries. Or am I missing a way this could be implemented right now?
×
×
  • Create New...