Jump to content

how can i call different action in different webpage in defult?


Recommended Posts

Posted

A few days ago, I inquired about setting different default actions for various apps(link:

, and it's currently working well. However, I've encountered a new issue. I'd like to have different default actions based on different URLs. For example, when I open YouTube, I want Alfred to automatically input "ytb," which is my command for searching YouTube, so I can start searching directly. I suspect this can be achieved through automation, but my attempts haven't been successful. Can Alfred do this, and if so, how can I set it up?

Posted
2 hours ago, justforalfred said:

For example, when I open YouTube, I want Alfred to automatically input "ytb,"

 

That would require constant monitoring of the frontmost app, then of the frontmost tab’s URL, then use GUI Automation. It would be both a colossal waste of resources running all the time on your system making everything slower for a slight pay off once in a while and unreliable. Use a Web Search instead.

Posted
1 hour ago, vitor said:

 

That would require constant monitoring of the frontmost app, then of the frontmost tab’s URL, then use GUI Automation. It would be both a colossal waste of resources running all the time on your system making everything slower for a slight pay off once in a while and unreliable. Use a Web Search instead.

ok,got it!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...