Jump to content

wandering

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by wandering

  1. Is it possible to disable/filter out the emailadresses in the result-list of the send-iMessage-window?

     

    Maybe within the script openimessagetarget.scpt:

    	tell application id "com.apple.iChat"
    		set targetService to 1st service whose service type = iMessage and enabled = true
    		set targetBuddy to buddy target of targetService
    		show chat chooser for targetBuddy
    	end tell

     

  2. Should be a great workflow! It finds my google drive-files flawlessly. But when hitting return-key; nothing happens. The browser (safari or chrome) is not launched.... Any ideas on how to solve this? 

     

     

    Update: Stupid, I installed the "easy_install --upgrade google-api-python-client", now it redirects to Localhost and i also get the 500 internal server error. 

  3. This code actually presses the call-button:

     

    (Replace the word Call with your localized word for Call)

    do shell script "open tel://{query}"
    
    tell application "System Events"
        repeat while not (button "Bel" of window 1 of application process "FaceTime" exists)
            delay 1
        end repeat
        click button "Bel" of window 1 of application process "FaceTime"
    end tell
    
  4. I made a simple bluetooth-tethering-switch.

     

    https://www.dropbox.com/s/ovuftqkjgt7gcbl/iPhone%20bluetooth%20tethering.alfredworkflow?dl=0

     

    You have to change the code a little bit for your own localisation, and your own iPhone name.

     

    the keywoard I used is just "iphone".

    on alfred_script(q)
    activate application "SystemUIServer"
    tell application "System Events"
    	tell process "SystemUIServer"
    		set btMenu to (menu bar item 1 of menu bar 1 where description is "bluetooth")
    		tell btMenu
    			click
    			tell (menu item "iPhone of XXXXXX" of menu 1)
    				click
    				if exists menu item "Connect to Network" of menu 1 then
    					click menu item "Connect to Network" of menu 1
    				else
    					click menu item "Disconnect from Network" of menu 1
    				end if
    			end tell
    		end tell
    	end tell
    end tell
    end alfred_script
    
×
×
  • Create New...