Jump to content

eightohnine

Member
  • Posts

    9
  • Joined

  • Last visited

Reputation Activity

  1. Like
    eightohnine got a reaction from blizzrdof77 in Menubar icon duplicates   
    Salutations all,
     
    Probably two updates/several months ago – I can't pinpoint exactly when the issue started – Alfred began spawning three identical menubar items.
     

     
    It's never more than three, and I have not seen two instances either.
    Functionality-wise, there seem to be no negative effects.
    When I delete one or two instances, the others remain working fine.
    After quitting the duplicate processes, until only one process remains, after some time the duplicates reappear again. (I can't pinpoint a specific event or timeframe for this).
    Alfred is naturally set as a Login Item, though AFAIK, a restart doesn't produce the duplicates. 
     
    Activity Monitor shows three processes as well. 
     

     
    It's definitely not a use-breaking issue, though the behaviour is somewhat odd.
     
    Maybe look into this on a low priority? Thanks!
     
  2. Thanks
    eightohnine reacted to vitor in [Solved] Jump to Home of Website.   
    Use this in a Run Script with /usr/bin/osascript (JS) as the language:
    const frontmost_app_name = Application('System Events').applicationProcesses.where({ frontmost: true }).name()[0] const frontmost_app = Application(frontmost_app_name) const domain_regex = /(https?:\/\/[^/]*).*/ if (['Google Chrome','Google Chrome Canary','Chromium','Opera','Vivaldi'].indexOf(frontmost_app_name) > -1) { current_tab = frontmost_app.windows[0].activeTab current_tab.url = current_tab.url().replace(domain_regex, '$1') } else if (['Safari','Safari Technology Preview','Webkit'].indexOf(frontmost_app_name) > -1) { current_tab = frontmost_app.documents[0] current_tab.url = current_tab.url().replace(domain_regex, '$1') } else { throw new Error('You need a supported browser as your frontmost app') }  
     
    This questions is too broad. To answer this, it’d be useful if you had a concrete question of something  you’re trying to do but don’t understand why it doesn’t work. That probably deserves a new post.
  3. Like
    eightohnine reacted to listboss in (another?) Workflow for Pinboard   
    I just updated the Packal with new fix from the pull request by https://github.com/grusch-it @grusch-it
    Please let me know if it fixes your problem.
     
    (I also removed the browser settings from the Workflow as it's not necessary anymore.)
  4. Like
    eightohnine reacted to grusch-it in (another?) Workflow for Pinboard   
    Easiest way would be: download fixed get-current-url.applescript, open with Apple Script-Editor, save/export as get-current-url.scpt (format: script) and replace the get-current-url.scpt in the workflow directory with it.
×
×
  • Create New...