Ilya Belsky Posted July 10, 2021 Share Posted July 10, 2021 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
deanishe Posted July 10, 2021 Share Posted July 10, 2021 Hi @Ilya Belsky, welcome to the forum. It sounds like an encoding problem. I've rewritten the workflow in JavaScript. It should work fine with Cyrillic now. Ilya Belsky 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now