Jump to content

idea4IT

Member
  • Posts

    105
  • Joined

  • Last visited

  • Days Won

    16

Reputation Activity

  1. Like
    idea4IT got a reaction from Weaselboy in Pocket for Alfred   
    Hey Weaselboy,
    I've added a copy-to-clipboard action to the workflow, simply use the 'fn' action modifier!
     
    And thanks for the offer, but I currently don't take any donations 
    I'm glad you like this workflow, feel free to spread the word and share it with your friends!
  2. Thanks
    idea4IT got a reaction from bivalvegruff in Pocket for Alfred   
    Hi guys,
     
    this workflow lets you manage your Pocket list with Alfred.
     

     
    Features
    Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain  
    Github: https://github.com/fniephaus/alfred-pocket
    Download: https://github.com/fniephaus/alfred-pocket/releases/latest/
     
    Feel free to give some feedback!
     
    Cheers,
    Fabio
  3. Like
    idea4IT reacted to Weaselboy in Pocket for Alfred   
    Thanks for the update. fn to copy works perfectly.
  4. Like
    idea4IT got a reaction from mlfred in Pocket for Alfred   
    Hi guys,
     
    this workflow lets you manage your Pocket list with Alfred.
     

     
    Features
    Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain  
    Github: https://github.com/fniephaus/alfred-pocket
    Download: https://github.com/fniephaus/alfred-pocket/releases/latest/
     
    Feel free to give some feedback!
     
    Cheers,
    Fabio
  5. Like
    idea4IT reacted to Cicilia in VM Control   
    good work.
  6. Like
    idea4IT got a reaction from thanasut in Pocket for Alfred   
    Hi guys,
     
    this workflow lets you manage your Pocket list with Alfred.
     

     
    Features
    Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain  
    Github: https://github.com/fniephaus/alfred-pocket
    Download: https://github.com/fniephaus/alfred-pocket/releases/latest/
     
    Feel free to give some feedback!
     
    Cheers,
    Fabio
  7. Like
    idea4IT reacted to katie in Pocket for Alfred   
    I'm sorry! I'm not sure what I'm doing wrong. Here's the next error I get:
    Starting debug for 'Pocket for Alfred' [ERROR: alfred.workflow.input.scriptfilter] Code 1: 20:46:31 workflow.py:967 DEBUG    get_password : com.fniephaus.pocket:pocket_access_token 20:46:31 workflow.py:967 DEBUG    get_password : com.fniephaus.pocket:pocket_access_token 20:46:31 workflow.py:598 DEBUG    Loading cached data from : /Users/katie/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/pocket_list.cache 20:46:32 workflow.py:843 ERROR    'resolved_title' Traceback (most recent call last):   File "/Users/katie/Dropbox/Apps/Alfred.alfredpreferences/workflows/user.workflow.81B5681C-9EC8-441B-A027-DC3F79CCF7E7/workflow/workflow.py", line 841, in run     func(self)   File "pocket_alfred.py", line 31, in main     'resolved_title'] != '' else item['given_title'] KeyError: 'resolved_title' Thanks for your help!
  8. Like
    idea4IT got a reaction from surrealroad in Pocket for Alfred   
    Hi guys,
     
    this workflow lets you manage your Pocket list with Alfred.
     

     
    Features
    Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain  
    Github: https://github.com/fniephaus/alfred-pocket
    Download: https://github.com/fniephaus/alfred-pocket/releases/latest/
     
    Feel free to give some feedback!
     
    Cheers,
    Fabio
  9. Like
    idea4IT reacted to vitor in Call script on WorkflowImport   
    Again, this has been addressed on the thread I linked to.
     

    Third-party workflows will always be a problem, yes, but so is Alfred itself. The point here is that installation events can significantly increase security risks. In the balance between convenience and security concerns, the destructive powers of installation events that are run automatically without oversight is far greater than the convenience of not having to run one command once, after installation.
  10. Like
    idea4IT reacted to rice.shawn in Call script on WorkflowImport   
    Vítor is, as usual, spot on here. As for the security, it does help that Apple locks down quite a few commands with the need for an administrator password. The workflows are, basically, unsigned software freely distributed, and so they carry the risks of any unsigned software freely distributed. If you grab anything off Packal, then the workflow has been run through a virus scan, but that accounts only for a tiny bit of the security risk. However, we've built up a bit of a community on these forums, and Packal piggybacks off of that. If actual malicious code is spotted in a workflow — which to my knowledge has yet to happen — I'm sure that we'll catch it and throw up all sorts of warning signs. If I'm notified of any malicious workflow that appears on Packal, rest assured that it will be taken out of circulation immediately. Also, organically, we've also come up with a set of best practices for workflow development that values transparency and security. It is discouraged to install anything on anyone's computer without letting them know, and it's always best to try to keep everything contained to the appropriate data and caches directories. Ultimately, the security in these workflows is built around a level of trust in this community. So far, it seems to have worked out fairly well.
  11. Like
    idea4IT got a reaction from thec13 in Pocket for Alfred   
    Hi guys,
     
    this workflow lets you manage your Pocket list with Alfred.
     

     
    Features
    Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain  
    Github: https://github.com/fniephaus/alfred-pocket
    Download: https://github.com/fniephaus/alfred-pocket/releases/latest/
     
    Feel free to give some feedback!
     
    Cheers,
    Fabio
  12. Like
    idea4IT got a reaction from Weaselboy in Pocket for Alfred   
    Glad it now works for you! You're welcome!
  13. Like
    idea4IT reacted to Weaselboy in Pocket for Alfred   
    Fabio-- I'm getting this error after installing your workflow and the first attempt at running. The debug info from Alfred is below. I just edited out my username. I have a valid Pocket account and can login to it with no problem in Safari. Any suggestions?
     
    Thanks
    Starting debug for 'Pocket for Alfred' [ERROR: alfred.workflow.input.scriptfilter] Code 1: 08:53:53 workflow.py:967 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 08:53:53 workflow.py:967 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 08:53:53 workflow.py:967 DEBUG get_password : com.fniephaus.pocket:pocket_access_token 08:53:53 connectionpool.py:635 INFO Starting new HTTPS connection (1): getpocket.com 08:53:53 connectionpool.py:344 DEBUG "POST /v3/get HTTP/1.1" 401 16 08:53:53 workflow.py:843 ERROR Problem authenticating the user. A valid access token is required to access the requested API endpoint. Traceback (most recent call last): File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/workflow/workflow.py", line 841, in run func(self) File "pocket_alfred.py", line 20, in main 'pocket_list', data_func=get_list, max_age=1) File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/workflow/workflow.py", line 602, in cached_data data = data_func() File "pocket_alfred.py", line 42, in get_list get = pocket_instance.get() File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/pocket.py", line 57, in wrapped return self.make_request(url, payload) File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/pocket.py", line 154, in make_request return cls._make_request(url, payload, headers) File "/Users/edit/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.9AFC12F4-2304-40BB-9DBC-427C3585C487/pocket.py", line 147, in _make_request '%s. %s' % (error_msg, extra_info) AuthException: Problem authenticating the user. A valid access token is required to access the requested API endpoint.
  14. Like
    idea4IT reacted to CarlosNZ in Pocket for Alfred   
    One question -- what order are the results showing up in? They don't seem to be either chronological or alphabetical.
  15. Like
    idea4IT got a reaction from CarlosNZ in Pocket for Alfred   
    Thanks, CarlosNZ!
     
    It does make sense to open the link by default without archiving it.
     
    I've just updated the workflow accordingly and also added notifications!
  16. Like
    idea4IT reacted to CarlosNZ in Pocket for Alfred   
    Great stuff. Just one comment — it would seem the default action is to visit the link and archive it in Pocket and you have to hold "Ctrl" to visit without archiving. Personally, I'd prefer it if this was the other way round and it didn't archive by default.
     
    I realise I can probably just tweak the workflow to change this around, but thought I'd let you know anyway.
     
    Oh, and one more little thing — it would be good to get a notification when archiving links.
     
    But well done. I'll find this really handy, I think.
  17. Like
    idea4IT got a reaction from 40-02 in Pocket for Alfred   
    Hi guys,
     
    this workflow lets you manage your Pocket list with Alfred.
     

     
    Features
    Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain  
    Github: https://github.com/fniephaus/alfred-pocket
    Download: https://github.com/fniephaus/alfred-pocket/releases/latest/
     
    Feel free to give some feedback!
     
    Cheers,
    Fabio
  18. Like
    idea4IT reacted to pstadler in Mount network shares with automatic discovery   
    This is a workflow to mount your network shares with automatic discovery. No configuration or bookmarks required!
     
    Download — stable version. Please report problems here. Your computer won't explode and your shares are safe, I promise.
     


     
    Troubles?
    Make sure that both, Apple Filing Protocol (afp) and Samba (short smb, QNAP calls it "Microsoft Network") are enabled on your NAS. Due to the nature of the protocols and the available tools on OSX, both of them are required in order to disover network shares in your network. Also note that already mounted shares are not listed in Alfred. Enable guest access to the NAS, not for a specific share, but for the system in general if things don't work.
     
     
    The source code is available here: https://github.com/pstadler/alfred-mount
  19. Like
    idea4IT reacted to phyllisstein in alp: A Python Workflow Module   
    PyAl is now alp, a slightly streamlined version of the module that provides much of the same functionality while abandoning some of the strange and non-Pythonic cruft. You can read the documentation at the github page; more has been removed than added, to clarify and simplify things, but there are some new features for decoding text and arguments, as suggested by Jan (nikipore).
     
    Currently Includes:
    Functions for finding your bundle ID, cache and storage paths, and query arguments. Functions for reading and writing JSON and plist files. A class to simplify generating feedback XML for Alfred. A class to simplify saving and retrieving settings. A class to interface with the OS X Keychain. Several bundled modules for working with HTTP requests. A Notification Center interface. An e-mail interface.
  20. Like
    idea4IT got a reaction from palobo in Monokai for Alfred   
    Hey guys,
     
    just upgraded to version 2 which turned out even better than expected!
     
    Here's a quick theme that I did.
    It's a the Monokai Theme some of you might know from editors like TextMate, SublimeText or Vim.
     

     
    Download: https://github.com/fniephaus/alfred-monokai/raw/master/Monokai.alfredappearance
     
     
    Cheers
    Fabio
×
×
  • Create New...