Jump to content

HanneMaes

Member
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

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

HanneMaes's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I'm trying to make a workflow that quits all apps and open finder windows. But I can't get the quit all open finder windows part working. Any suggestion? Thanks
  2. Still can't get it to work. I get this error /Users/hannemaes/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/1A04F040-6513-45A3-B5C8-3DA9A874F533:196:206: execution error: Can’t get item 1 of {}. (-1728) And I have this code: property _delay_after_launch : 3 on is_running(_name) tell application "System Events" to return count of (processes whose name is _name) end is_running on run (argv) set _url to first item of argv set _running to is_running("Firefox") log "_running=" & (_running as text) if _running = 0 then activate application "Firefox" delay _delay_after_launch end if tell application "Firefox" to open location "https://www.blender.org" end run
  3. Thanks for the script! But I can't get it working. The workflow opens Firefox but keeps it minimized, and when I open Firefox it opens the startpage only? I now have just the Run script action, I deleted the open Url action. With this code property _delay_after_launch : 3 on is_running(_name) tell application "System Events" to return count of (processes whose name is _name) end is_running on run (argv) set _url to first item of argv set _running to is_running("Firefox") log "_running=" & (_running as text) if _running = 0 then activate application "Firefox" delay _delay_after_launch end if tell application "Firefox" to open https://www.blender.org/ end run
  4. I reported the bug. But the workaround isn't working. I'll keep looking for a new workaround. Thanks for the help!
  5. Firefox is set as my default browser, in Chrome I don't have the problem. So I guess it's a Firefox issue?
  6. I have a few workflows to open specific url's on my macbook. When the browser app has no open windows, the workflow open the correct url but also opens a second windows with the default startpage. Is there a way I can counter this? When the browser already has an open windows everything works fine.
×
×
  • Create New...