Jump to content

Problem with the Russian-language query


Recommended Posts

Hey there! I have a problem with the Russian-language query in Incognito Safari with DuckDuckGo Search Workflow

 

This Workflow search your request in Safari Private Tab with DuckDuckGo search. If I write my query in english – all is ok, but in russian it is only opens the Safari Private Tab. Nothing more... 

 

I am not good at creating workflows, and I didn't create it. So I can't solve the problem by myself.

 

If someone can help me, I will be very grateful! (I can't upload this Workflow here, but you can download it from https://www.packal.org/workflow/incognito-safari-workflow-duckduckgo-search)

 

Script:

activate application "Safari"
tell application "System Events" to ¬
    click menu item "New Private Window" of ¬
        menu "File" of menu bar 1 of ¬
        application process "Safari"
tell application "Safari" to ¬
    set URL of current tab of ¬
        front window to "https://duckduckgo.com/?q={query}&t=h_&ia=web"

 

Link to comment

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...