Jump to content

jloveblaze

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by jloveblaze

  1. +1

     

     

    Keyword: y2v

     

    This basic workflow sends the URL of the open tab of the topmost window of Chrome or Safari to VLC. 

    It doesn't do any checking to see if it actually a YouTube link, or adjust the desired resolution.

    It does try to resize the window to the bottom right corner of the screen, but sometimes the video will resize after loading on its own.

     

    http://d.pr/f/cyLV

    Reup pls

  2. @Hzlzh That worked Excellently!  It forced quit all apps. Thank you so much for packaging it an hosting it.  I saw you included the language: /osascript  which is something I wasn't doing.

     

     

    Which modifier can I add to the code to make an exception for specific a specific app?  (so all apps but a specific one close)

     

    I tried to make it so that all apps closed except for Chrome by replacing all instances of the words "Finder" with the words "Chrome" but Finder still stayed open and Chrome closed...

     

    Will look into this more. Thanks again for going over and beyond to help! 

  3. Oh this is a quick action like `command+option+ESC`. :)

     

    I appreciate your quick response but I know how to bring up the option command menu an pick the apps.  I am looking for a way to use alfred to close all apps without having to manually go to that menu and force quit each app. The script I posted above I think sheds some light on how to work it.  Im just not sure how to make an Alfred Workflow out of it.

     

    Thanks!

  4. Often I have so many apps running and want to simplify without restart.  I'd like to keep the focused app open if possible, most times this is Chrome.

     

    I searched extensively online and found the below applescript.  I have been trying to tweak it but am unable to reach success.  I appreciate the support of this community and would be very thankful for any help.

     

     

    tell application "System Events" to set the visible of every process to true
    set white_list to {"Finder"}
    
    try
    tell application "Finder"
        set process_list to the name of every process whose visible is true
    end tell
    repeat with i from 1 to (number of items in process_list)
        set this_process to item i of the process_list
        if this_process is not in white_list then
            tell application this_process
                quit
            end tell
        end if
    end repeat
    on error
    tell the current application to display dialog "An error has occurred!" & return & "This script will now quit" buttons {"Quit"} default button 1 with icon 0
    end try
     
  5. Sometimes I have so many apps running and want to simplify without restart.  I'd like to keep the focused app open if possible, most times this is Chrome.

     

    I searched extensively online and found the below applescript.  I have been trying to tweak it but am unable to reach success.  I appreciate the support of this community and would be very thankful for any help.

     

     

    tell application "System Events" to set the visible of every process to true
    set white_list to {"Finder"}
    
    try
    tell application "Finder"
        set process_list to the name of every process whose visible is true
    end tell
    repeat with i from 1 to (number of items in process_list)
        set this_process to item i of the process_list
        if this_process is not in white_list then
            tell application this_process
                quit
            end tell
        end if
    end repeat
    on error
    tell the current application to display dialog "An error has occurred!" & return & "This script will now quit" buttons {"Quit"} default button 1 with icon 0
    end try
     
  6. Google Docs in Chrome is my go to for all not taking and word processing.  I am constantly opening new docs and spreadsheets.

     

    Being able to open a new google doc (or spreadsheet) from Alfred would be a huge benefit to me.

     

    There is a Chrome extension called G New Doc which attempts to do this with 2 clicks from Chrome but it no longer works.

     

    I have searched around for Google Docs commands for Alfred but have found little.  I am sure that this would be incredible useful for many people.

     

    Any help would be much appreciated

     

    Thank you.

     

     

  7. This does not work if Chrome is already open (running in the background).

     

    I was under the impression that this workflow would open a new or existing incognito window while Chrome was already running (Since Chrome is usually open in the background almost always.)

     

    Does anyone know how can this be altered to make this work?

     

    Thanks!

     

    According to this website, the applescript to open a new chrome window is below:

     

     

    on run {input, parameters}
        tell application "Google Chrome"
            activate
            delay 0.1
            make new window
        end tell
        return input
    end run
×
×
  • Create New...