Jump to content

DJay

Member
  • Posts

    206
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by DJay

  1. Thanks a lot.

    Here's the output.

     

    Probably something with PIL?

    But I'm not sure how to fix it. 😕 

     

    daniel@iMac2021 ~ % pip install --user Pillow
    Requirement already satisfied: Pillow in ./Library/Python/3.10/lib/python/site-packages (9.0.0)
    daniel@iMac2021 ~ % python3 -m pip install --upgrade pip
    Requirement already satisfied: pip in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (21.3.1)
    daniel@iMac2021 ~ % python3 -m pip install --upgrade Pillow
    Requirement already satisfied: Pillow in ./Library/Python/3.10/lib/python/site-packages (9.0.0)

     

    [14:32:14.734] Logging Started...
    [14:32:52.445] ERROR: Get App Icon[Run Script] % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    100 35132  100 35132    0     0   152k      0 --:--:-- --:--:-- --:--:--  156k
    Traceback (most recent call last):
      File "mask.py", line 4, in <module>
        import sys, PIL
    ModuleNotFoundError: No module named 'PIL'
    mv: rename /Users/daniel/Desktop/HomeDevices-iOS.png.png to /Users/daniel/Desktop/HomeDevices-iOS.png: No such file or directory
    [14:32:52.451] Get App Icon[Run Script] Processing complete
    [14:32:52.452] Get App Icon[Run Script] Passing output '/Users/daniel/Desktop/HomeDevices-iOS.jpg
      /Users/daniel/Desktop/HomeDevices-iOS.png
    ' to Post Notification

     

  2. 21 minutes ago, mcskrzypczak said:

    And once again the workflow got updated to version 2.2 (see the first post for download and changelist)

    Thanks for your work. 

    But the Workflow is not working 100% for me.

    I can save icons from installed Apps. They are saved on the desktop.

    I can search for icons in App store (set to de). Results are showing up and the notification is showing "Icon extraction successful". However, there is no icon downloaded on the desktop.

     

    Thanks in advance for your ongoing development. 

    Bildschirmfoto 2022-01-26 um 11.09.04.png

  3. Hi Community,

     

    I'm desperately looking for a way to search in Safari on a Webpage list multiple words.

    I was hoping that Alfred can help?

     

    On the website there will be adding different names on a list. First the list is blank but a user can register an the Name will show up on this list. I know all the names of the users so I know what to search for.

    At the moment I check every hour do a cmd+f and search for the family name. Did't find the name so the user is not registered.

    I try the next name on my list, cmd+f and the next user is found. 3rd family name cmd+f not found and so on.

    A hour later some more names will be found.

     

    Any Idea how I can handle this easier oder more automatic?

    Sorry I'm all ne to the script thing so I'm not sure wehere to start.

     

    Thanks in advance for your kind help.

  4. Love this workflow. Works great with OS X 10.11.2 El Capitan and my Raspberry

     

    Use ie. vnc setup Raspberry-pi:raspberry@raspberrypi._rfb._tcp.local

     

    With this you quick on your Rasp and don't have to use to type or extra confirm password.

  5. Any chance for one of the talented guys here to get tiny.cc into this workflow ? :)

    Or create a own workflow maybe even shorten with custom hash find in the API Doc.

    http://tiny.cc/?c=rest_api&m=shorten&version=2.0.3&format=json&longUrl=urlencode('http://example.com')&login=tinyccapidemo&apiKey=YourKey
    

    API Docs: http://tiny.cc/api-docs

     

    Would be awesome. 

  6. I build a small workflow (Applescript) that copy the selected text to clipboard by using the hotkey ctrl+cmd+c and auto copy/forward to my iPhone running Command-C.

     

    First you have to set a shortcut in the Command-C App on your Mac. In my case crtl-v

     

    cmd-c.png

     

    Otherwise you have to change the script to yours.

     

    It's my first script and I'm not a pro but it works for me and saves me a lot of time and I'm happy to share.

     

    Of course feel free to modify If you like or necessary.

     

    Cheers.

     

     

    http://cl.ly/363u2Y2u3v3K?_ga=1.89079832.2022422520.1447954625

  7. Hi together,

     

    I'm desperate looking for a App that supports automatic copy / paste between iOS <-> OS X in the background.

     

    Means when I cmd+c on OS X it's on my iPhone on iOS and copy something there it's with cmd+v on my Mac.

     

    The Pushbullet App seems to offer this bus didn't work reliable.

     

    Any chance to get this with Alfred? We have Alfred Remote on iOS and Alfred on OS X.

     

    Thanks and very looking forward to all tips. 

  8. Really appreciate your support deanishe. Thanks.

     

    Good point with the Script-Editor.. ;) 

     

    It gives also an error back. Only with Apple TV

    activate application "Deezer"
    tell application "System Events"
    	tell process "Deezer"
    		click menu item "Apple TV (Airplay)" of menu 1 of menu item "Output-Geräte" of menu 1 of menu bar item "Controls" of menu bar 1
    	end tell
    end tell
    

     

    error "„System Events“ hat einen Fehler erhalten: „menu item \"Apple TV (Airplay)\" of menu 1 of menu item \"Output-Geräte\" of menu 1 of menu bar item \"Controls\" of menu bar 1 of process \"Deezer\"“ kann nicht gelesen werden." number -1728 from menu item "Apple TV (Airplay)" of menu 1 of menu item "Output-Geräte" of menu 1 of menu bar item "Controls" of menu bar 1 of process "Deezer"

     

     

    Doing as you recommend with the Terminal and .scpt and .applescript of course then I also get an error.

     

     

    Daniels-iMac:~ Daniel$ osascript /Users/Daniel/Desktop/myscript.scpt

    /Users/Daniel/Desktop/myscript.scpt: execution error: System Events got an error: Can’t get menu item "Apple TV (Airplay)" of menu 1 of menu item "Output-Geräte" of menu 1 of menu bar item "Controls" of menu bar 1 of process "Deezer". (-1728)

     

    Daniels-iMac:~ Daniel$ osascript /Users/Daniel/Desktop/myscripttxt.applescript

    /Users/Daniel/Desktop/myscripttxt.applescript:84:216: execution error: System Events got an error: Can’t get menu item "Apple TV (Airplay)" of menu 1 of menu item "Output-Geräte" of menu 1 of menu bar item "Controls" of menu bar 1 of process "Deezer". (-1728)

     

    So maybe something is wrong with the Deezer App? Strange. 

  9. Hi Guys,

     

    when I run a Script in Alfred Remote that controls a submenu item the script doesn't work because of a space in the Menu Item.

    Apple TV (Airplay) can't be selected.

     

    When I run the script in OS X Script-Editor, the script works like expected.

     

    Is this a Bug in Alfred?

     

    Any idea how to make a workaround?

     

    Thanks in advance.

    on alfred_script()
    activate application "Deezer"
    tell application "System Events"
    	tell process "Deezer"
    		click menu item "Apple TV (Airplay)" of menu 1 of menu item "Output-Geräte" of menu 1 of menu bar item "Controls" of menu bar 1
    	end tell
    end tell
    end alfred_script
    

    NSAppleScript.png

  10. Bear April and still miss URL scheme for iOS Alfred Remote App. :( alfred:// or alfredremote://

    Installed Launcher App on my iPad and tried to add a custom laucher for Alfred Remote to start it right from the Notification center.

    It's just a line of Code that you have to put in an updated version of your iOS App of Alfred Remote, isn't it?

    Thx in advance.

  11. Hi,

     

    there is a german Community Robot-Forum and they were able to get the LG HomBot 3.0 Vacuum Robot VR6260/6270 connected to Wifi and control it with a interface. There are also URL codes to send some commands. Start cleaning, pause, charge.

     

    So I did this little workflow with AppleScript (Newbie to this) and it works great for me so I just want to share. Also the Alfred Remote is doing a useful job. You have to change the IP address to your own in the workflow.

     

    Hope this is useful for someone and not for me only. ;)

     

    HomBot Control Workflow

     

    HomBot_Alfred.pngIMG_0346.PNG

     

     

×
×
  • Create New...