/bump I have an example of what I am trying to do here (minus LaunchApplicationPlugin because I haven't figured that part out yet) http://groups.google.com/group/tiddlywiki/browse_thread/thread/641c9b353b2d8558
The .bat file does launch with this code: <<LaunchApplicationLink "Refresh Image Root Array" "Program relative to Tiddly html file" "images/array_root.bat">> .. .. .. but it executes at the root of my drive instead of in the folder with the .bat file Works fine if I execute the .bat file from the directory in windows Any Suggestions? Thanks, Mike P. On Nov 25, 7:31 am, Mike <[email protected]> wrote: > 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 <[email protected]> wrote: > > > Works perfect ! > > > Thank You :) > > > Mike > > > On Nov 24, 3:57 pm, Mike <[email protected]> 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 <[email protected]> wrote: > > > > >http://www.Remotely-Helpful.com/TiddlyWiki/LaunchApplication.html > > > > > On Nov 24, 4:50 pm, Mike <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

