Posted by member 256241 on 2007-06-21 10:49:23 link

Thanks,

DevilBoi, !alert $target1$ $target1$ and !alert $target1$ bring up an empty Ok box. However !varshow target1 returns the correct value - a valid path to a file. I find it really odd that it just navigates to the path of the file but not open the file, when if you just LSXcommand the same path it opens fine. This is probably the same issue I have when trying to change it's image as well.

Fractal, yeah, thanks, that works to change the tooltip... Although not to the contents of $target1$:

*script exec !labeldestroy panicbutton
*script exec !parseEvars !setevar panicbuttontooltip "$target1$\asd"
*script exec !labelcreate panicbutton

This only makes the tooltip "\asd", as if $target1$ was empty, although !varshow target1 of course returns the perfectly coherant selected path >_<


Thanks for the help.

[edit] Okay, I've got the tooltip changing (it's a start!) to the path of the selected target. The tooltip displayed now is the valid selected path. However, I am still having difficulties changing the image (when given images it becomes a hole through to the desktop, not loading the new image) and executing them (No matter what I try, I cannot seem to execute the file held in Target1). I must just be missing something small, can anybody spot it?