Re: [Amsn-devel] Windows Reg Key

2005-11-03 Thread Youness Alaoui
hehe, good :) well then, good luck... I think it's gonna work.. I remember doing something like that to get the file path for a project here at my job (yes, I used tcl/tk to make a GUI for them :P) and I had to test it (ALOT) and it works correctly... If you want, I can go look at what I did

Re: [Amsn-devel] Windows Reg Key

2005-11-03 Thread Arieh Schneier
> so what I suggest is this : > set amsn_script [file join [pwd] [file basename [info script]] When I read that I thought 'wow good simple idea, why didn't I think of that?' I then went to the code, and do you know what? I did :P (although its [file tail ..] not [file basename ..] but I got your p

Re: [Amsn-devel] Windows Reg Key

2005-11-02 Thread Youness Alaoui
Hi, it made sense, don't worry... If I remember correctly, we had a $program_dir variable.. but I guess it's not used anymore and now the [pwd] is always at the program directory... so what I suggest is this : set amsn_script [file join [pwd] [file basename [info script]] That should do it...