What I am doing "seems" reasonable but I suppose it is not.
My intent is to set the defaultfolder to the folder where All of my music resides on openstack, list the folders into a field, then upon clicking on one of those lines of different music genres listed, setting the defaultfolder to that genre, and then putting the files of that genre into a field.
--in the stack script: --this all works
o
Code: Select all
n openstack
set the defaultfolder to "C:\Users\Gandalf\Desktop\Stick Music/" --where all music resides
set the callmusic of this stack to the defaultfolder
set the backdrop to none -- I really wish I didn't have to keep dealing with that
put the folders into fld "allofit" -- the folders being different genres of music
delete line 1 of fld "allofit" --gets rid of the pesky "..." that gets put in line 1
choose browse tool
end openstack--all good thus far
--in the script of fld "allofit"-- where the folders of the different genres are listed.
Code: Select all
on mouseup
set the defaultfolder to the callmusic of this stack &"/"&& (the selectedtext of me)--my intent is to set a particular genre the defaultfolder--I feel sure this is wrong the callmusic of this stack is the folderpath to wher all the music is kept.
put the files
end mouseup -- nothing happens.The debugger shows no errors and apparently the defautfolder does not change.Again,it "seems" reasonable to me.