Jump to content

eriksatie

Member
  • Posts

    8
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    eriksatie got a reaction from Yuri in Prioritize actions in a workflow   
    Hi, I'm totally new to Alfred and to workflows. and also to scripting 
     
    I bought Alfred to create shortcuts for setting some simple "work environments". that means to close unused apps, open needed apps, documents and webpages. It should be easy!
     
    I've done some experiment and I've successfully created a workflow with a trigger and two actions. the first action is an Apple  script that quite some applications:
     
    on alfred_script(q)
      tell application "Safari" to quit   tell application "Google Chrome" to quit   tell application "Mail" to quit   tell application "Contacts" to quit   tell application "Calendar" to quit   tell application "Evernote" to quit   tell application "Reminders" to quit   tell application "Safari" to quit   tell application "Notes" to quit   tell application "Finder" to quit end alfred_script   the second is an Open Url Action that open a web page on Chrome. The idea is to close all unused tabs on Chrome and open just the ones I need.   now the problem is that I'm not able to tell Alfred that as first it should execute the Apple Script, and after that it should reopen Chrome and load the web page. Any advice on this?   
  2. Like
    eriksatie reacted to jdfwarrior in Block Websites   
    This would usually be done with a proxy. A hosts file COULD do it but.. editing it would require admin permissions unless you modified its permissions but, that's not something I'd recommend
  3. Like
    eriksatie reacted to dfay in Prioritize actions in a workflow   
    This is not a bad starting point: http://computers.tutsplus.com/tutorials/the-ultimate-beginners-guide-to-applescript--mac-3436
     
    The key thing to learn from it is how to read an Applescript Dictionary.  Once you can do that, you can figure what aspects of an app can be scripted.
  4. Like
    eriksatie reacted to vdesabou in Spotify Mini Player: Control your Spotify library at your fingertips   
    That's a good idea! I've opened this issue to track progress: https://github.com/vdesabou/alfred-spotify-mini-player/issues/77
     
    Cheers!
  5. Like
    eriksatie reacted to vdesabou in Spotify Mini Player: Control your Spotify library at your fingertips   
    I've released version 6.2.1, see http://alfred-spotify-mini-player.com/blog/Version-6.2.1/
     

×
×
  • Create New...