Jump to content

tsu-na-gu

Member
  • Posts

    13
  • Joined

  • Last visited

Everything posted by tsu-na-gu

  1. I also this Apple Script in my blog and moving Demo. If you interested see also my blog. Blog is now write in Japanese but I looking forward English version request from a comment. https://www.tsu-na-gu.com/open_finder_with_shortcut_key/
  2. If you call finder in Open folder or Application container. Finder always open in your current desktop. I always use finder in one desktop and don't open in another desktop. This time you have to use the little AppleScript trick to useful. And this AppleScipt if there is no finder window at all, new one is open. I show the example workflow blow in the dropbox public folder https://www.dropbox.com/s/3g1rdexqxu7h4zt/QuickLuch from hotokey.alfredworkflow?dl=0
  3. I think There isn't any need for only alfred to ticktick add task, because TickTick already have mini window and shortcut to call one and add task from it. So anyone needed Alfred to use in the sutiation of anyother to do apps or other textEditor to task management. I mainly use Craft to use everyday notebook. So I just make a suggestion to use TickTick URL schema from shortcut is useful in Today. And this URL Scheme is works well in shortcuts but Alfred5 call is not work well in Alfred5 open url method Where I tested coverage. So if you make another one in alfred5 in TickTick add Task from another environment I highly recommend shortcut and URL Scheme apploach. Anyway I provide how to use URL sheme documment URL https://support.ticktick.com/hc/en-us/articles/360007930051-TickTick-iOS-URL-Scheme
  4. Because Alfred5 Support the shortcuts action, now you can use the ticktick Url request from shortcuts works without problem. Under link is TickTick URL Scheme Shttps://support.ticktick.com/hc/en-us/articles/360007930051-TickTick-iOS-URL-Scheme I only write the Craft NoteBook application's shortcuts. But I think that using Alfred5 same thing can do from the Alfred input. Can anybody try it and share?
  5. I collect the matter that you would like to like to seach another web dictionary you have to need the script's name and collect script internal value. Now You would like to add another dictionary, you have to change the value next to the HotKey and collect targetUrl to search dictionary URL it's like web search function's custome search URL. To create new one , You need copy entire Hot Key to OpenORL and RunScript workflow. It's the same. Also, I bug fixed multilanguage support working collectly. https://www.dropbox.com/s/n3upn9kg5c119y2/Search Selected Word with Web Dictionary.alfredworkflow?dl=0 Multi language support Demo Video
  6. sorry to dericribe wrong url. I collect it for under one. https://github.com/epilande/alfred-browser-tabs
  7. I recommend to read browserTab workfrow’s javascript. I highly imspreided from browser tab's two script how to handle the lots of tabs, when I make my original workflow. Maybe You also get hint from it. https://github.com/google/cordova-plugin-browsertab
  8. Hi, there. I make workflow to use current selected word for search web dictionary. If you alrealy open the tab of web dictionary with another search word, this work frow use this tab to use the open dictionary. So, it bother you for a lot of same web dictionary tab having open. Also, if you don't select the word, text input is open and you would input the seach word entire process works same way. I only write for script for cambridge dictionary and eijirou dictionary for this time. I can't find a way in which only one place you may have to change the URL when you would like to use another web dictionary. So you can make a copy from hotkey to open URL and run script workflow, change first run script javascript name and in a javascipt targetUrl's value for what web Seach URL to you would like to use and also Open URL action's search URL is same Url is needed. But it's not a lot of work to customize it. So, I try to share it with everyone. For security reason it will only works for Safari to open url, but from the selected word from anywhere even in parallels windows apps. https://www.dropbox.com/s/n3upn9kg5c119y2/Search Selected Word with Web Dictionary.alfredworkflow?dl=0
  9. I can solve the problem of this problem by not using encoding option of OpenURL Action's query option. For this purpose I altenavily using javascript's encoding function. Thank you for try to help me everyone. https://www.dropbox.com/s/qf2w57wpn23hyde/Search Selected Word with Web Dictionary .alfredworkflow?dl=0
  10. Oh, I forget write about why using the JavaScript. I want to search a same dictionary in many times in study about languages. But Hot key and Open URL Action approach that makes a lot of tab to same host URL's search result. That bother me a lot. I want to use same Dictionary using the a same tab to show the seach result. So, I use the script to make sure whether same host URL is already open or not and if that is open to make sure the focus tab is same host URL. Also I use Apple Script to relocate the URL of the focus tab. This is needed because many blowser is not change the current tab’s url from external script for some security reason. I usually use the Vivaldi to web browising but for this reason that I use Safari and AppleScript approch is best for what I want. One Problem is that target host is not found in Safari's current tabs, script use the focus tab to rerwrite the URL. I can't make sure why script is output is only a openUrl, it works with any problem. Although output the query and use regular expression to confidential with output with collect Url, only pass through a OpenURL to query to open another tab make error from not collect url. excuse me for my poor English writting skill.
  11. I've highly imspired by Browser Tabs workflow, so thank you for Emmanuel Pilande. There is a some important problem this beta version of this workflow. When target Dictionary is not found in Safari's tab, this workflow makes that it is not relevant current tab to use to open the web dictionary. In this kind of case I want to make new tab for using open target web dictionary Url. I try to solve the problem for pass out the bool value and open url and use conditional. And I also try output value of the script by using bool value, passing out through or url or original query, so I can use regular expression to use conditonal. But this kind of approch not well work because Safari error says not collect url. Also, there is another one problem is how to multiple arguement pass through javaScript is not unsure, so I hardcode in the script target web dictionary url and to use another target url is little hassle to me. But it's not so big problem because I want a use 2 or 3 web dictionary only. Someone help me solve this kind of problem? I appriate you for your kindness. Here is a workflow file. https://www.dropbox.com/s/qf2w57wpn23hyde/Search Selected Word with Web Dictionary .alfredworkflow?dl=0 Here is Demo of video of useing it.
×
×
  • Create New...