Jump to content

asphoa

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by asphoa

  1. Indeed, it works now with regular quotes. Thanks for explaining! What I want it to happen, ideally, is to add the currently selected text to a file in two ways: 1) when I select a word, by a Hotkey, append the selected word into a file; in the meantime, a trailing Tab is added after the word, but no new line is created, in other word, the position remains at the end of Tab; 2) and then, when I select a sentence, by another Hotkey, append the sentence after the above-mentioned Tab, so that the word and the sentence are in the same line only separated by that Tab. But now, the position goes to a new line, so next time when I append a new word, it will appear in a new line. The file would look like this: mellifluous[a Tab here]By the sauour of tho mellyfluous flowres alle the cytee was puryfyed. Docetist[a Tab here]These Docetists..had a whole series of successors in the early church. The first Hotkey append the words mellifluous & Docetist, the second Hotkey append the following sentences respectively. Would this be possible at all, dear Deanishe?
  2. Thank you very much indeed for your help and detailed explanation, @deanishe! I tried echo -n "this is the text" >> /path/to/the/file.txt in Terminal of Monterey, as follows: echo -n “example” >> /Users/MYUSERNAME/Library/Mobile Documents/com~apple~CloudDocs/Wordlist/EN.txt but nothing really happens in the designated file. Anyway, for registing huge amount of words & sentences, it doesn’t seem very feasible to use Command-line every time. In fact, I’m quite ignorant with codes and such knowlege🥵. The workflow has been uploaded to dropbox. For the simplicity, I deleted all other languages (for they are similar) and leave only two. The commands in “copy to Clipboard” respectively in EN and DE are different. I just want two ways: 1) append something into the file without changing into a new line by one hotkey, and 2) append something and change into a new line by another hotkey. So that I can choose to add a word first, and then add its sentence in the same line, or simply add a word and later on add another word in a line beneath it. Anki could in this case recognise the words with sentences and the words without sentences. Would it be possible that you could have a look at the workflow I uploaded? ☺️
  3. I notice some posts were discussing similar topics but which didn’t end up with a solution satisfying my need. I need to add new words into a file and later import the file into Anki. I think it would be best that, when the new words are added into a list, the sentence from which I read it can be added as well as the context, so that the word can be momerised most easily. But „append text to a file“ that I used would list every added word in a new line. Except for adding the sentence manually, I am not aware of a way that I could add the word and the sentence in the same line with the seperation of a delimiter between them. I tried using {clipboard:1} {query} in „Copy to Clipboard“ but which would make confusion when I don’t add a sentence occasionally, in which case the last wod in clipboard history would usurp the place of the current word as the Word, and the current word would be the Sentence. So my question is if there is a way to „append a word into a file without starting a new line“, so that I can use two sets of Hotkey: 1) add a word and leave a Tab without starting a new line, 2) add the sentence after that Tab and starting a new line for the next word. I would really appreciate if someone could help! Attached are the current setting.
  4. Oh, I didn't check the option for keeping the history, that's why 🥵
  5. I have purchased powerpack but just found that this option is in grey and can't be checked. Could anyone advise me what the problem is?
  6. @vitor Thank you so very much! I feel quite fine with the flash-:) Cheers!
  7. Thanks a lot, deanishe! Though I'm not able to add code, since I don't know how to program🙄. Would you, or anyone else, be able to help me modify the code so that I can make the web search in the currently-active app and let Chrome search in background? I would much appreciate!
  8. I made the workflow exactly as you did, but it doesn't stay in the app and goes to Google Chrome, although it remains at the previous tab and let the tab searching google in background. Any suggestions? Thanks.
×
×
  • Create New...