Posted by member 256241 on 2007-06-20 15:49:57 link
Thanks for your responses.
I've had a look at comdlgls, and it seems to be a route to what I want. I've made it so that right clicking lets you browse to a target, the path of which is saved as an evar. At the moment it's just trying to set the tooltip, i've tried changing the image too, however when I change the image it just shows through to desktop presumably as it didn't link up with the image. !execute $target1$ doesn't work either. This is when target1 appears to contain a valid path. See below:
*script exec !ComDlgFile !Varset Target1 "^@fp^"
*script exec !parseEvars !labelrefresh panicbutton panicbuttonToolTip "%#target1%#"
The value is set correctly, as Varshow testifies. Ive tried variations like %#%{target1}%# $target1$ etc.
Can someone see why this wouldn't be working?
I figure the easiest way for me to accomplish the overall task is to just be able to set the icon(image) and target, with different clicks or whatever. I suppose the only other bit would be saving those values and loading them at the beginning. How do you do this?
Thanks for your time and help.
Oh, also, are evars in $these$ when they don't change at runtime, and in %#these%# or %{these} when they change?
I've had a look at comdlgls, and it seems to be a route to what I want. I've made it so that right clicking lets you browse to a target, the path of which is saved as an evar. At the moment it's just trying to set the tooltip, i've tried changing the image too, however when I change the image it just shows through to desktop presumably as it didn't link up with the image. !execute $target1$ doesn't work either. This is when target1 appears to contain a valid path. See below:
*script exec !ComDlgFile !Varset Target1 "^@fp^"
*script exec !parseEvars !labelrefresh panicbutton panicbuttonToolTip "%#target1%#"
The value is set correctly, as Varshow testifies. Ive tried variations like %#%{target1}%# $target1$ etc.
Can someone see why this wouldn't be working?
I figure the easiest way for me to accomplish the overall task is to just be able to set the icon(image) and target, with different clicks or whatever. I suppose the only other bit would be saving those values and loading them at the beginning. How do you do this?
Thanks for your time and help.
Oh, also, are evars in $these$ when they don't change at runtime, and in %#these%# or %{these} when they change?