Jump to content
mrchow19910319

Can someone create a workflow that let google chrome open a specific url in a new window?

Recommended Posts

As the title said, could someone please (I don't know how to,.,,) create a workflow that let google chrome open a specific url in a new window??? 

 

Also safari and firefox too???

 

 

Much appreciated. 

Share this post


Link to post

Here is a quick and easy workflow to do what you want. You will have to assign the hotkeys for each one. It allows you to either open the current OSX selection or clipboard in either chrome, firefox, or safari. You can get it here:  https://www.dropbox.com/s/8kkpcjbzr2sde05/Open URL with hotkey.alfredworkflow?dl=0

 

Examine it and you will see that it is very easy to create workflows like this. There was no programming involved. So, go and experiment.

Share this post


Link to post
9 hours ago, raguay.customct said:

snip

Wow... Thanks!! I just got into a little bit of programming, HTML css and stuff. Trying to get used to mac and hopefully all these small tips and tricks I learn can one day give my workflow a little boost! ! And naming keywords is kind of ... tough.... currently using alt+c/f/s Thanks for the help! 

Share this post


Link to post
9 hours ago, raguay.customct said:

Here is a quick and easy workflow to do what you want. You will have to assign the hotkeys for each one. It allows you to either open the current OSX selection or clipboard in either chrome, firefox, or safari. You can get it here:  https://www.dropbox.com/s/8kkpcjbzr2sde05/Open URL with hotkey.alfredworkflow?dl=0

 

Examine it and you will see that it is very easy to create workflows like this. There was no programming involved. So, go and experiment.

Wait... this does not open new chrome window... instead it opens a new tab in the existing window... how am I gonna solve this??? I want it to open an url in a completely new window. 

 

Okay... how about this, could you teach me to create a workflow (keyword based, not hotkey based) that opens a new browser tab in a completely new window. And if I hold down command key while doing this, it will open the link in my clipboard. Sorry for being so picky. I'm gonna go google it 1st. 

Share this post


Link to post

AppleScript to open a URL in a new Chrome window:

 

 

-- Open URL in new Chrome window

on newChromeWindow(theURL)

    tell application "Google Chrome"

        tell (make new window)

            set URL of active tab to theURL

        end tell

        activate

    end tell

end newChromeWindow

 

on run (argv)

    newChromeWindow("http://www.deanishe.net")

end run

Share this post


Link to post
4 hours ago, deanishe said:

snip

er... sorry I tried but did not manage to get it working. 

 

Here is what I created, (copied some template online.)   CW for new chrome window and when you hold command key , it will go into the incognito mode.

I wanna add an option so that I can type in the url also. https://drive.google.com/file/d/0B4Oj-Aylh-ymWkh2UVVrNl9kejQ/view?usp=sharing

Share this post


Link to post

@deanishe Nice, I like the cmd modifier for an incognito window - Beats the Chrome workflow I previously had :D

 

@mrchow19910319 The workflow seems to work fine for me. Are you typing a complete URL (e.g. https://www.alfredapp.com) or a partial one (e.g. alfredapp.com)? 

 

Cheers,
Vero

Share this post


Link to post
8 hours ago, Wake&Sea! said:

Is there a way to open new urls in my workflow to a new SAFARI window?  This is just for Chrome looks like right?

 

In AppleScript:

tell application "Safari" to make new document with properties {URL:"https://www.google.com"}

 

Share this post


Link to post
On 1/26/2017 at 6:43 AM, raguay.customct said:

Here is a quick and easy workflow to do what you want. You will have to assign the hotkeys for each one. It allows you to either open the current OSX selection or clipboard in either chrome, firefox, or safari. You can get it here:  https://www.dropbox.com/s/8kkpcjbzr2sde05/Open URL with hotkey.alfredworkflow?dl=0

 

Examine it and you will see that it is very easy to create workflows like this. There was no programming involved. So, go and experiment.

 

This link is dead, can you update please?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...