Jump to content

bikeNik

Member
  • Content Count

    41
  • Joined

  • Last visited

About bikeNik

  • Rank
    Member
  • Birthday 05/04/1978

Contact Methods

  • Website URL
    https://github.com/bikenik

Profile Information

  • Location
    Russia
  • Interests
    languages, programming

Recent Profile Visitors

1,078 profile views
  1. Update (v1.1.0 < ): Chrome (browser) Supported
  2. Install $ npm install --global alfred-youtube-bookmarks or as youtube-bookmarks.alfredworkflow and then in the directory of Workflow run npm install to install node modules. Requires Node.js 7.6+ and the Alfred Powerpack. Usage In Alfred, type yt, Enter, and your query. It will be work with Safari & Chrome only. Bookmarks To create bookmark needs to have opened Safari's/Chrome's window with youtube's video player active tab. Adding multiple tags is implemented through comma. type some shortcut (⌥⌘B - for example) to create bookmark type some shortcut (⌥⌘S - for example) to show and go through the bookmark in the current playing video. fn+↵ to delete one or several bookmarks (in specific filters will be deleted all bookmarks in the current filter) hit ⇧ To open preview window by any bookmark. Setting for Chrome View => Developer => check "Allow Javascript for Apple Evenst"
  3. Update: Added a preview of parsed fields of the card by ⇧[shift]. The data is updated every time when the field text will save.
  4. At the end of the end in practice, the method suggested by Deanishe works better. Cause it doesn’t take clipboard. I combine (‘\n ’) with snippets. Workflow updated.
  5. @deanishe Thnx btw. I need something to improve this workflow. Any suggestion would not be out of place.
  6. mm.. I don't think so. The point is, I need to see this new line in Alfred's query box with Large-Type (⌘L). And it won't convenient to edit the current field. So I think to make the trigger snippet like (>>n) which contains line break - would be better. I'm just pasting empty line break.
  7. 😎 ) And what would replace RETURN key.? .. I mean It works only when I paste text with line breaks.
  8. Update: Added Markdown-it library for use markdown. This awesome library works with Syntax highlighting (highlighjs.org). To quick add some markdown highlighting code into Anki field via Alfred: ```js function $initHighlight(block, cls) { try { if (cls.search(/\bno\-highlight\b/) != -1) return process(block, true, 0x0F) + ` class="${cls}"`; } catch (e) { /* handle exception */ } for (var i = 0 / 2; i < classes.length; i++) { if (checkCondition(classes[i]) === undefined) console.log('undefined'); } } export $initHighlight; ``` I use a little lifehack with Alfred's snippet trigger (which has line breaks). Cause I suppose Alfred doesn't allow to carry a new line of in his input's field.
  9. Ok. One more attempt to make the workflow for Anki cards generating. Or rather filling into Anki fields the content via Alfred. For me this way much handy than native Anki app. Obviously, it's not a full replacement for all cases. Something like Anki-Express. Anki: Powerful, intelligent flash cards. anki card generator: Create New Cards into any Decks with any "Note Type". Install $ npm install --global alfred-anki or as anki.alfredworkflow Requires: Node.js 7.6+, Alfred Powerpack, Anki intelligent flashcards, AnkiConnect plugin for Anki Usage In Alfred, type :anki, Enter/Click on the any field to fill it in Enter/Click to save current value the same staps to edit. type :anki!, to setting menu. This workflow uses Markdown syntax: markdow-it library with Syntax highlighting (highlighjs.org), <ins> tag plugin for markdown-it ++inserted++ => <ins>inserted</ins>, <mark> tag plugin for markdown-it ==marked== => <mark>inserted</mark> Emojies Shortcuts (emoticons): 🙂 😞 8-) <abbr> tag plugin for markdown-it : *[HTML]: Hyper Text Markup Language The HTML specification On the card fields: hit ⌃ + ↩ to remember last input after created card. hit ⌃ + ↩ one more time to toggle switch this option hit ⌥ + ↩ to reset text from all fields hit ⇧(shift) to preview parsed fields of the card for line break type '\n' (with space or without), also should be handy to use 'Alfred's snippets'. to add an image from clipboard use Alfred snippet >>img needs install pngpaste check out another Alfred's snippets To use your own icons for your Model's fields just you should call the png files the same as fields [name-of-field].png and put it into icons folder of this Workflow directory. Recommended use two instances of each icon where second icon (with some mark) will be called as [name-of-field]_marked.png for "remember last import" option. ToDo Add sound to the field. (needs something universal) Add to the card and move the local image file to the foldercollection.media via Alfred Snippet p.s. It would be great to hear some more feature ideas to improve workflows like this.
  10. @Chris62 If you have Apple TV you can use SiriMote . This App with the remote controller from Apple Tv realizes these three (and not only) commands not bad. But it's hand controls. Also, you could consider the Karabiner.app . Some search for example - Simple foot pedal modifier key question #703
  11. I'm using Udemy (and other video-player application) with "Alfred remote" and with any the tactile interaction should be much handier, I think. Good idea.
  12. Hello, The "foot pedal" do you means "Remote control" via "Alfred Remote"?
  13. @ppl4world My solution is very trivial but it's required that meet with your expectations if I understood you correctly. If you want to create a video meeting? https://plus.google.com/hangouts/_ Workflow: Workflow (drive.google.com) Required: make login in your Google account in Chrome browser to (create cookies) Optional: the configuration of WF - optional: setting the variable "delayForRequire" depending on your network speed: by default - 3 sec. Collection of some useful links (by the results of searching this solution): Zappier: Google Hangouts Chat Integrations [upcoming] doc: Zapier for Alfred: Run Automated Workflows From Your Mac Keyboard medium: OAuth2 and Google OAuth Playground some blog: Creating Google Hangouts With Apps via URL -------------------------- bikenik's PayPal
  14. I'm acting empirically: And in my example, the data of time change only one time in 30 seconds. So at least, I do know about it to a certain. Well, I see. it's very valuable information for me. I'll read about it. Now I know exactly I don't know enough about background processes. Thanks again!
  15. I'm not good enough in NodeJs (apparently) to start learning "GO" language at this moment. But your API ("awgo") is on the first thing that I'll to take for learning GO language. Thanks for the suggestion! This decision (Nodejs) which I'm taking is: if (!alfy.cache.get('start-PID')) { alfy.cache.set('start-PID', process.pid, {maxAge: 30000}) // 30 sec. } const run = async () => { if (alfy.cache.get('start-PID') === process.pid) { // prevent launch for 30 seconds await runApplescript(` tell application "Alfred 3" run trigger ¬ "concurrentlyUpdate" in workflow ¬ "org.bikenik.concurrently" end tell `); } alfy.output([{ title: refreshDate.title, subtitle: refreshDate.subtitle, icon: {path: './time-icon.png'}, arg: refreshDate.subtitle }]); } run() So I limit to running this script at least for 30 seconds. Did you do something similar in your script? As I see ... I'm going to continue to seek another solution.
×
×
  • Create New...