Soren,

You say "white lightbulb icon on the* edit toolbar*" but it should be the 
"*Editor 
Toolbar*". The small icons in edit mode, the Edit Tool Bar is above and has 
delete discard and done buttons.

Regards
Tony

On Thursday, 17 December 2020 at 15:00:01 UTC+11 Soren Bjornstad wrote:

> Si,
>
> Thanks for reporting back! I'm super busy right now finishing things up 
> before the holidays, but I'll keep this in my inbox and throw something in 
> the docs about that add-on for anyone else who has the same problem.
>
> I'm still baffled about why it seems to work on my computer and not yours. 
> It makes sense that the browser inside Anki doesn't have access to the 
> filesystem, but that's not what the link is supposed to do...no link on a 
> card ever opens within Anki to my knowledge, it always kicks out to your 
> system's default browser. Who knows.
>
> On Wednesday, December 16, 2020 at 11:22:04 AM UTC-6 si wrote:
>
>> Hi Soren,
>>
>> Just to follow up on the problem of getting hyperlinks to work. I posted 
>> on the Anki forums 
>> <https://forums.ankiweb.net/t/is-it-possible-to-create-a-link-that-opens-a-local-html-file-in-the-browser/5088>
>>  
>> about a month or so ago and there was no definite answer, but it sounds 
>> like the browser within Anki just doesn't have access to the file system 
>> for security reasons. No idea why it would work for you though.
>>
>> The good news is that I made a feature request 
>> <https://github.com/ijgnd/anki__Open_linked_pdf-_docs-_epub-_audio-_video-_etc_in_external_Program/issues/6>
>>  
>> for the Anki add-on Open linked pdf, docx, epub, audio/video, etc. in 
>> external Program <https://ankiweb.net/shared/info/879473266> and the 
>> author very kindly made a fix to get it working with permalinks.
>>
>> Anyway just letting you know that this is the best solution I found in 
>> case anyone else has the same problem.
>> On Friday, 13 November 2020 at 18:10:15 UTC Soren Bjornstad wrote:
>>
>>> Pretty sure it’s 64-bit. VM on Parallels on my MacBook with the 
>>> default license and settings. Can’t imagine why it would matter anyway. 
>>>
>>> I’m stumped. I’d suggest you post this on the Anki forums at 
>>> https://forums.ankiweb.net since it’s an Anki issue at this point.
>>>
>>>
>>> On Friday, November 13, 2020 at 9:42:30 AM UTC-6 si wrote:
>>>
>>>> Hi Soren.
>>>>
>>>> >>> Do other links to websites work in Anki? Perhaps your default 
>>>> browser is configured wrong and Anki can't figure out what to do with 
>>>> links.
>>>>
>>>> I have no problem with Anki opening websites. Anything with the prefix 
>>>> "https://"; will open in the browser, but when I use "file://" nothing 
>>>> happens.
>>>>
>>>> I also tried this on a totally different Windows 10 machine with an 
>>>> almost fresh install and still it wouldn't work. It also didn't work when 
>>>> I 
>>>> tried clicking the link from AnkiWeb. This was all with me creating the 
>>>> link exactly as you describe above (the file opens if I copy the path 
>>>> directly into the browser).
>>>>
>>>> Did you try it on a 64 bit Windows 10, or some earlier version (no idea 
>>>> if that would matter)?
>>>>
>>>> On Friday, 13 November 2020 at 13:20:43 UTC [email protected] wrote:
>>>>
>>>>> I just tried it on Windows and it works fine for me. Downloaded an 
>>>>> HTML to my desktop and added to the card:
>>>>>
>>>>> <a href="file://C:/Users/soren/Desktop/test.html">link</a>
>>>>>
>>>>> Click the link and test.html opens in the browser.
>>>>>
>>>>> I'm on Anki 2.1.34 (a couple versions behind, but can't think of 
>>>>> anything that would have changed here).
>>>>>
>>>>> Do other links to websites work in Anki? Perhaps your default browser 
>>>>> is configured wrong and Anki can't figure out what to do with links.
>>>>>
>>>>> On Friday, November 13, 2020 at 6:18:22 AM UTC-6 si wrote:
>>>>>
>>>>>> Hi Soren thanks for your reply.
>>>>>>
>>>>>> >>> The URL you list is not a valid file: URL, however -- it needs to 
>>>>>> use forward slashes even on Windows.
>>>>>>
>>>>>> Thanks, I wasn't sure which to use here but I had tried every 
>>>>>> combination and it still didn't work.
>>>>>>
>>>>>> >>> It does appear that the permalink generation in TiddlyRemember 
>>>>>> applied during the sync is incorrectly putting a backslash at the end of 
>>>>>> URLs that can't accept one there.
>>>>>>
>>>>>> I had noticed this, but I have tested with the correct permalink and 
>>>>>> it still won't work. I've also tried putting the HTML directly into the 
>>>>>> card (<a href="file:///C:/Users/Si/Desktop/file.html">link</a> using 
>>>>>> Ctrl+Shift+X), but again when I click the link while viewing the card 
>>>>>> nothing happens.
>>>>>>
>>>>>> I've noticed that there is an add-on 
>>>>>> <https://ankiweb.net/shared/info/879473266> for opening files in an 
>>>>>> external program. I got it to work with an HTML file, but because it 
>>>>>> looks 
>>>>>> for a specific extension at the end of the path, it doesn't work with 
>>>>>> permalinks that end in "#tiddler".
>>>>>>
>>>>>> Is it possible that Anki just can't open external HTML files on 
>>>>>> Windows?
>>>>>> On Friday, 13 November 2020 at 00:08:42 UTC [email protected] 
>>>>>> wrote:
>>>>>>
>>>>>>> Si,
>>>>>>>  
>>>>>>> It works for me when I just paste an <a href> tag into the HTML 
>>>>>>> editor directly on a card (Ctrl-Shift-X while you have a field 
>>>>>>> selected). 
>>>>>>> The URL you list is not a valid file: URL, however -- it needs to use 
>>>>>>> forward slashes even on Windows. It's possible that is the issue, but I 
>>>>>>> don't have a Windows machine handy at the moment to test on and see if 
>>>>>>> that 
>>>>>>> breaks something.
>>>>>>>
>>>>>>> It does appear that the permalink generation in TiddlyRemember 
>>>>>>> applied during the sync is incorrectly putting a backslash at the end 
>>>>>>> of 
>>>>>>> URLs that can't accept one there. On my first try I ended up with 
>>>>>>> "/home/soren/test.html/#TiddlerName" as the permalink, which is invalid 
>>>>>>> since an HTML file is not a directory, and this resulted in nothing 
>>>>>>> happening when I clicked the link. I opened an issue 
>>>>>>> <https://github.com/sobjornstad/TiddlyRemember/issues/31> for that. 
>>>>>>> To see if this is what's causing your problem, you can try manually 
>>>>>>> changing the text in the Permalink field of a card and removing that 
>>>>>>> extra 
>>>>>>> slash.
>>>>>>>
>>>>>>> On Thursday, November 12, 2020 at 3:55:47 PM UTC-6 si wrote:
>>>>>>>
>>>>>>>> Hi Soren.
>>>>>>>>
>>>>>>>> This might be more of an Anki question, but I have been unable to 
>>>>>>>> get permalinks to work in the way that you describe here 
>>>>>>>> <https://sobjornstad.github.io/TiddlyRemember/#Configuring%20the%20Anki%20add-on>
>>>>>>>> .
>>>>>>>>
>>>>>>>> It seems to me that Anki won't open files that are outside of the 
>>>>>>>> "collection.media" folder. I've been trying all sorts of permutations 
>>>>>>>> of <a 
>>>>>>>> href="file:///C:\path\to\file.html">link</a> but when I click the 
>>>>>>>> link nothing happens.
>>>>>>>>
>>>>>>>> Is there some trick to get this to work that I'm not aware of?
>>>>>>>>
>>>>>>>> On Saturday, 30 May 2020 at 14:13:39 UTC+1 [email protected] 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> It's a thought. A simple SR algorithm is not particularly hard, so 
>>>>>>>>> that would be doable. But recently I've been seeing sites pop up that 
>>>>>>>>> all 
>>>>>>>>> do their own spaced-repetition implementation, and the result is if 
>>>>>>>>> you use 
>>>>>>>>> more than one of them, pretty soon you have 8 places to go every day 
>>>>>>>>> to 
>>>>>>>>> review flashcards. I'd rather not be responsible for a fifteenth 
>>>>>>>>> competing standard <https://xkcd.com/927/>.
>>>>>>>>>
>>>>>>>>> Anki also has a really nice mobile app, which is something TW 
>>>>>>>>> still struggles with.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Saturday, May 30, 2020 at 5:07:12 AM UTC-5, TonyM wrote:
>>>>>>>>>>
>>>>>>>>>> Build the whole solution in tiddlywiki would do it.
>>>>>>>>>>
>>>>>>>>>> Tony
>>>>>>>>>>
>>>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/64f5924c-68c7-45b6-a4df-75c43a36bf98n%40googlegroups.com.

Reply via email to