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, but if
I'm not mistaken, it's a one liner (I think I used ::argv0 though, because
::argv0 differs from [info script] when you use a wrapper .exe file to
launch your tcl files...
might need to check on this..
KaKaRoTo
On Thu, 03 Nov 2005 04:07:57 -0500, Arieh Schneier
<[EMAIL PROTECTED]> wrote:
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 point).
Now I'm not sure if I tested the function on 0.94 or just did an [info
script] and then thought that it would fail, forgetting what I had done
in
the code. I will test it again tomorrow.
Thanks.
Lio.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel
--
KaKaRoTo
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel