Jump to content

mikedvzo

Member
  • Posts

    212
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by mikedvzo

  1. I know this is not specific to Alfred but does anyone know if there is a way to associate the tel:{query} Phone field under Contacts Features with Google Hangouts.  When I used to work for Cisco I had this tied to Cisco Jabber so I could dial from Alfred Contact search with Jabber.  I want too do the same with Google Hangouts which I run in Chrome to Dial a phone Number.  I have  Jabra USB headset connection to my Laptop and the only missing piece is the convenient Dialer from Alfred.  I have my Contacts uploaded to Google so I can Dial with Hangouts form Chrome by name but Alfred is far more convenient.  

     

    I am thinking if there is way to make Google Hangouts the Default for Calls  in FaceTime.  However,  since Hangouts is not a resister Dialer applications not sure how to accomplish or if there is a possible workaround.  

  2. I tried the following fix but still having issues:

     

    #!/bin/bash
    cd "/Users/xxxxx/Dropbox/Sync/Alfred 3/Alfred.alfredpreferences/workflows"

    IFS=$'\n'

    for d in *; do
      workflow_name="$(/usr/libexec/PlistBuddy -c 'print name' "${d}/info.plist")"
      mv "${d}" "${workflow_name}.$RANDOM"
    done

  3. Here is a inspect of the Python process.

     

    cwd
    /Users/mdivince/Dropbox/Sync/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.7BC80B5F-83F8-4CB2-9672-B27FB49564E5
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/Python
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_elementtree.so
    txt
    /usr/lib/libexpat.1.dylib
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
    txt
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so
    txt
    /usr/lib/dyld
    txt
    /private/var/db/dyld/dyld_shared_cache_x86_64h
    0
    /dev/null
    1
    /dev/null
    2
    /dev/null
    3
    /Users/mdivince/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-searchio/net.deanishe.alfred-searchio.log
    4
    /Users/mdivince/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred-searchio/net.deanishe.alfred-searchio.log
    7
    /dev/urandom

     

     

  4. I have noticed a similar behavior since upgrading to 10.12.4.  I have noticed that the Alfred process is showing High CPU regularly now with 10.12.4.  When I look further I notice there is an issue where I constantly have to force quit the Python process on my Mac since the CPU is at 98% on the Python process.  When I inspect the process it is always related to a simple Alfred Workflow that has called the Python process.  I will continue to monitor it but it has happened 4 times in the last couple days and always the same situation.  

     
  5. 13 hours ago, Jitto23 said:

     

    Same problem here only no movies work at all.  Using it for years so suspect something has changed on IMDB that has broken the Workflow.  

     

    Here is the debug output showing that there is nothing returned:  

     

    [2017-02-04 11:44:35][STDERR: input.scriptfilter] 11:44:35 workflow.py:1972 DEBUG    Workflow version : 2.3.0

    11:44:35 media.py:39 DEBUG    TMDb info retrieved.

    11:44:35 workflow.py:1387 DEBUG    Reading settings from `/Users/xxxxx/Library/Application Support/Alfred 3/Workflow Data/com.mcknight.movies/settings.json` ...

    11:44:35 workflow.py:2163 DEBUG    Set last run version : 2.3.0

    11:44:35 workflow.py:2008 DEBUG    Workflow finished in 0.114 seconds.

    [2017-02-04 11:44:35][input.scriptfilter] <?xml version="1.0" encoding="utf-8"?>

    <items><item valid="no"><title>The item was not found.</title><subtitle /></item></items>

  6. I am having trouble remembering but when I have Alfred send a Banner through Notification Center I thought it would stay up until I clicked on it.  There is in fact a setting under Advanced Preferences that says "Remvoed When Clicked" however all my notifications disappear within a few seconds if I have them set to Banners.  The only workaround is to set Alfred Notifications  as Alerts instead.  Am I remembering incorrectly and if so then what is this setting for?  

     

    I am running 10.12.2 Beta (16C60b)

  7. I have run into a little bit of behavior issues with Alfred 3 that I never saw in previous releases.  On a number of occasions Alfred 3 stays in focus when it and is slow to respond to actions.  I have also run into High CPU issues which have forced me to quit Alfred.  See screen shot.

     

     

    http://bit.ly/1Y3C9hr

     

     

    In addition here is a another issue I ran into with Alfred which I included in a comment on another post (Alfred v3 Applescripts are run twice [fixed b655]):

     

    I ran into a similar issue when I called an Applescript that invokes Cisco Anyconnect with automation with Launch Program.  I have been using this workflow for years.   However now when I run the script  Alfred 3 stays in focus the entire time now and last time I ran it the VPN was connected and Alfred 3 hung and would not come back.  I eventually was forced to reboot as I could not kill Alfred 3 as a non admin user in Activity Monitor.  I did not attempt to kill the Alfred process as an Admin user but if it happens next time I will. Usually if I launch the workflow again the script checks to see if there is a current session and asks you to disconnect or continue.

  8. I ran into a similar issue when I called an Applescript that invokes Cisco Anyconnect with automation with Launch Program.  I have been using this workflow for years.   However now when I run the script  Alfred 3 stays in focus the entire time now and last time I ran it the VPN was connected and Alfred 3 hung and would not come back.  I eventually was forced to reboot as I could not kill Alfred 3 as a non admin user in Activity Monitor.  I did not attempt to kill the Alfred process as an Admin user but if it happens next time I will. Usually if I launch the workflow again the script checks to see if there is a current session and asks you to disconnect or continue.

  9. Not as elegant but I solved the problem with a BASH Shell action with the following growlnotify command since Alfred 3 does allow objects to be laid anywhere in the chain.

     

    Wondering why native Growl support was dumped since Notification center is really limits with the size of the output.  I will need to rewrite quite a few Alfred 2 scripts.  

     

    echo "{query}" | /usr/local/bin/growlnotify --title "CVO on THB-ENET2 Status" --sticky

  10. Looking for some suggestions with Alfed 3. I have a number of workflows that output extensive text and without growl my output is reduced to 2 lines and basically useless.  I know it says I could use growl notify but that is a command line and do not want to rewrite all of my scripts and not sure of an easy way to send multiple outputs like below at one time to growlnotify.  

     

    Most of these scripts are BASH shell and output a ton of info to growl that I need to see on the screen and always had the ability to choose a sticky output easily and it read all of the content.

     

    #CVO Status

    echo ""
    echo
    echo "DNS Status:"
    networksetup -getdnsservers "Thunderbolt Ethernet"
    echo
    echo "CISCO"
    /usr/sbin/traceroute -m 1 wwwin.cisco.com | cut -c 5-46
    echo 
    echo "INTERNET"
    /usr/sbin/traceroute -m 1 www.sgi.com | cut -c 5-33
    echo
    netstat -rn | egrep 'default|10.117'
×
×
  • Create New...