Quick Question. . . Using LaunchApplicationPlugin. . . When I execute the following .bat @echo off GOTO EndComment 11.25.09 Mike Praeuner (www.strm.us) Purpose: Execute this file, to create an array of images for a folder, to use inside TW Source: http://www.dynamicdrive.com/forums/archive/index.php/t-13488.html :EndComment if '%1'=='w' ( echo array_home[%i%]='%2'; >> array_home.js rem echo array_home[%i%]='images/%2'; >> array_home.js set /a i=i+1 ) else ( echo array_home=[]; > array_home.js set /a i=0 for %%p in (*.jpg, *.gif, *.png) do ( call array_home.bat w %%p ) set i set i= )
On my thumb drive @ ?:\Private\Documents\tw\images\home It places the output (array_home.js) in the same folder, when I execute via LaunchApplicationPlugin it place the file on the root of ?: \ and then does not properly fill in the array. Is this a problem with the .bat? (I am not a batch file expert) Thank You, Mike On Nov 24, 4:56 pm, Mike <eris...@gmail.com> wrote: > Works perfect ! > > Thank You :) > > Mike > > On Nov 24, 3:57 pm, Mike <eris...@gmail.com> wrote: > > > I tried LAP earlier this morning and had no luck - but I may have had > > an antiquated version. . . > > Let me try again and see what happens . . . > > > Thanks, > > > Mike > > > On Nov 24, 3:41 pm, Amzg <matiasg...@gmail.com> wrote: > > > >http://www.Remotely-Helpful.com/TiddlyWiki/LaunchApplication.html > > > > On Nov 24, 4:50 pm, Mike <eris...@gmail.com> wrote: > > > > > I have a batch file that creates a JS array which I later use in > > > > another script > > > > (See script > > > > here:http://groups.google.com/group/tiddlywiki/browse_thread/thread/1d228e...) > > > > > Idea > > > > from:http://www.dynamicdrive.com/forums/archive/index.php/t-13488.html > > > > > I would like to execute the batch file from inside my TW to refresh > > > > the JS array. > > > > Is this possible? (Using FF3.5 / TW 2.5.3) > > > > > Thanks, > > > > > Mike -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.