With Peter K. permission. I want to modify his script Runscript.jsx to fit my needs, which are, to be able to "see" all scripts within subfolders of the main script folder and show applescripts AND javascripts.

First, I'm just starting out in JS and scripting for me as only been in Applescript so far, so bare with me and thanks for your patience.

I've changed some parts of the scripts with bits of code Peter was gracious enough to send me, but all I get is the list of either applescripts, or js, depending on the file extension I choose in the var scripts. I also get a full path name instead of just the name and when I choose a script to execute, it says it can't find it. In AS, I would say it doesn't resolve to the file in question and just has the path, not the actual file.

Anyway, any help would be appriciated. Here's the script so far in it's entirety. Sorry if it's too long.

// DESCRIPTION: Launch a script by typing its name or picking it from a recent-history list

Now I can see the scripts I'm interested in, but still have the problem of seeing the whole path in the dialog, and it's pretty long, and the scripts don't actually work once selected and clicking OK. I guess I was a bit too ambisious to try to modify this script. Oh well, I'll go back to more basic stuff until I understand Javascript better. Back to Peter's book!