Hi Jeremy,

Despite the "undefined" response, I've just discovered it worked anyway and 
without me realising! Nothing appeared to happen as the list of .txt files 
remained in place on the import page. But when I searched for the new 
tiddlers by the same name minus .txt, they're all there!

Many thanks
Jon

On Wednesday, 11 March 2015 19:28:00 UTC, Jon wrote:
>
> Hi Jeremy,
>
> that was an easier way of getting in to it, but I ended up at the same 
> place so I can see the TW with the console opened at the bottom. This time, 
> however, the result was just "undefined". (Sorry for the bother)
>
> Thanks
> Jon
>
> On Wednesday, 11 March 2015 19:21:03 UTC, Jeremy Ruston wrote:
>>
>> Hi Jon
>>
>> > I'm using FireFox, I opened the Developer tab then Web Console, pasted 
>> code into bottom window and hit enter but the response was: 
>> "ReferenceError: $tw is not defined". I've tried it a few times but same 
>> result.
>>
>> That's weird. It sounds like you are typing into the console for a 
>> different tab than the one containing the TW document. An alternative way 
>> to open developer tools is to right click on the TW page and select 
>> "Inspect Element".
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>>
>>> Thanks
>>> Jon
>>>
>>> On Wednesday, 11 March 2015 11:55:02 UTC, Jeremy Ruston wrote:
>>>>
>>>> Hi Jon
>>>>
>>>> The easiest quick and dirty solution would be to drag all the files 
>>>> into TW in one go, and then run a little bit of JavaScript to remove the 
>>>> .txt extension from the filename and set the type to wikitext.
>>>>
>>>> Once you've done the import, open your browsers JavaScript console and 
>>>> paste the code given here:
>>>>
>>>> https://gist.github.com/Jermolene/1c1ff69c7afe91550057
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy.
>>>>
>>>>
>>>>
>>>> On Wed, Mar 11, 2015 at 6:23 AM, Jon <[email protected]> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I've split a word document into about 100 small text files which I 
>>>>> want to import as individual tiddlers and I'm looking for a way to do 
>>>>> this 
>>>>> as a batch.
>>>>> Importing or dragging/dropping an individual text file creates a 
>>>>> "tiddler name.txt" with a "Plain text" file type. Removing the .txt from 
>>>>> each tiddler name and altering the file type would obviously be too 
>>>>> laborious for a large number of files. Is there an easier way to do this?
>>>>>
>>>>> Thanks,
>>>>> Jon.
>>>>>
>>>>> -- 
>>>>> 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 post to this group, send email to [email protected].
>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Jeremy Ruston
>>>> mailto:[email protected]
>>>>  
>>>
>>
>>
>> -- 
>> Jeremy Ruston
>> mailto:[email protected]
>>  
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to