Browse widget

149 views
Skip to first unread message

Jan

unread,
Jun 29, 2016, 10:48:22 AM6/29/16
to TiddlyWiki
Hi,
Can anyone tell where the selection of the browse-widget is stored, the
advanced search does not show any objects with the chosen string?
Thanks,
Jan

PMario

unread,
Jun 30, 2016, 9:55:26 AM6/30/16
to TiddlyWiki
Hi Jan,

IMO the selection isn't stored.
If the file can be imported, the content is temporarily stored at the $:/Import tiddler.

http://tiddlywiki.com/#BrowseWidget:BrowseWidget%20%5B%5BWidgetMessage%3A%20tm-import-tiddlers%5D%5D

-m

Jeremy Ruston

unread,
Jul 1, 2016, 4:50:43 AM7/1/16
to tiddl...@googlegroups.com
Hi Jan

> Can anyone tell where the selection of the browse-widget is stored, the advanced search does not show any objects with the chosen string?

Do you mean that you want to access the name of the file that is selected by the browse widget? Sadly, browsers don’t let JavaScript access the file path for security reasons; some browsers do provide access to the filename portion, but it is only available during the event that is triggered when a file is chosen, it isn’t available as a persistent property of the control.

Best wishes

Jeremy.


--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/87578099-f87f-45f3-ad39-110fab971467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jan

unread,
Jul 4, 2016, 3:55:54 PM7/4/16
to tiddl...@googlegroups.com
Hi Jeremy, Hi Mario
Thank you for your replies and sorry for answering so late; I didn't see your replies earlier.
This is strange because the name of the file seems to be printed in the tiddlertext right after the button.
I wanted to use this to paste a relative link to a local videofile into a field used by my videotemplate.

Greetings Jan
Reply all
Reply to author
Forward
0 new messages