Jump to content

greedist

Member
  • Posts

    49
  • Joined

  • Last visited

Recent Profile Visitors

541 profile views

greedist's Achievements

Member

Member (4/5)

1

Reputation

  1. Sorry for the late reply šŸ˜­ I tried it as you explained, and it really works!! Thank you so much!!
  2. Thank you for your answer šŸ™‚ Is the instance you mentioned in the picture below?
  3. https://drive.google.com/file/d/1kj26LAGybPXoHwrjsA4qX70X1riQuJak/view?usp=sharing It's a workflow that I downloaded and used a long time ago, but after the Monterey upgrade, I can't see the preview image at the bottom right šŸ˜­ Is it possible to modify it so that I can see the preview again like before? Below is the picture I uploaded to explain
  4. Thank you for letting me know šŸ˜Š I just found a workflow using figma API on GitHub but it doesn't seem to work.. https://github.com/jonrohan/alfred-figma
  5. I can't find the workflow even when I search GitHub and Forum šŸ˜­
  6. Currently, the results are supposed to be printed by pressing the space bar, but I want the results to be printed right away without pressing the space bar. How do I modify it? Thank you in advance šŸ™ Workflow Download import sys sys.path.append("lib") import re from workflow import Workflow3 from hanspell_break import check def get_spell_check_data(sent): result = check(sent) r = result.as_dict() return r def main(wf): args = wf.args[0] # def wrapper(): # return get_spell_check_data(args) # res_json = wf.cached_data(args, wrapper, max_age=600) end_mark = re.search('\s+$', args) if end_mark: res_json = get_spell_check_data(args) out = f"{res_json['checked']}".rstrip() wf.add_item( title=out, subtitle="Press Enter to paste the results", arg=out, autocomplete=out, valid=True) wf.add_item(title=args, subtitle="Copy original text", autocomplete=args, arg=args, valid=True) wf.send_feedback() else: wf.logger.debug("args: %s" % args) wf.add_item(title=u'Press the spacebar to print the result', valid=False) wf.send_feedback() if __name__ == '__main__': wf = Workflow3() sys.exit(wf.run(main))
  7. Thank you! As you said, I will inform the developer of the issue. šŸ˜„
  8. https://github.com/codycodes/alfred-books/ There is a Python2 issue with the workflow above. Could you please correct it? Thank you in advance šŸ™
  9. I'm going to connect to iMac through the shh and boot through the window. Is this impossible? šŸ¤”
  10. If you run the command shown in the picture as Alfred, the osascript -e 'tell app "System Events" to restart' command won't work. Is there any way to solve this problem? Thank you in advance šŸ™
  11. I'd like to know how to modify the code in order to place the currently entered search word at the bottom of the autocomplete list. Thank you in advance! šŸ™ import sys from workflow import web, Workflow def get_dictionary_data(word): url = 'https://ac-dict.naver.com/koko/ac' params = dict(frm='stdkrdic', oe='utf8', m=0, r=1, st=111, r_lt=111, q=word) r = web.get(url, params) r.raise_for_status() return r.json() def main(wf): import cgi; args = wf.args[0] wf.add_item(title = 'Search Naver Krdic for \'%s\'' % args, autocomplete=args, arg=args, valid=True) def wrapper(): return get_dictionary_data(args) res_json = wf.cached_data("kr_%s" % args, wrapper, max_age=600) for items in res_json['items']: for ltxt in items: if len(ltxt) > 0: txt = ltxt[0][0] wf.add_item(title = u"%s" % txt , subtitle = 'Search Naver Krdic for \'%s\'' % txt, autocomplete=txt, arg=txt, valid=True); wf.send_feedback() if __name__ == '__main__': wf = Workflow() sys.exit(wf.run(main))
  12. I made a new thread wrong, so Iā€™m asking you again šŸ™ Currently, Google and YouTube searches are working among the "Searchio!" workflow functions, but Naver searches are not working.Is there any way to solve this problem?Thank you in advance!
×
×
  • Create New...