I called for celebration too soon. It seems to still be forgetting where the music folder is set.
alias selectsong {
set %musdir %Music
%File = $$sfile(%musdir,Select File,OK)
if (%file == $null) { halt }
else { run %File | messagera | unset %File }
}
---
trying "var" did nothing for some reason.. so I tried to use set
now, the variable does set to my music folder, which is specified in %Music
but when I open my script it goes to where I last picked a folder (such as a subfolder)
I'm really puzzled why it's ignoring the music directory specified. If I unload and reload the script, it fixes the issue.. but only temporarily.
Edit: I Also tried making it where it unsets %file in case the old %file info was messing things up. seems to not be the case. I don't have any other script dealing with folders, really.. so I'm not sure why it's 'soft saving' a folder.
Edit 2: To clarify, %Music is C:\Users\jsd\Music\*.mp3