I have been looking in the help files and forum but i cant see a way so i thought i would ask.
Is there any "inbuilt" way(or other) to add a textbox to a tool bar that can take user input to be used as a variable in a function - perhaps with a small linked button next to it to trigger the function.
I can see the fields like path filter ect but i am unable to find a custom field. I am also aware you can have dialogs to enter a string ect but that is not what i am really looking for.
I don't think there's a way to do this at the moment but I can see how it might be useful if you want to specify extra arguments to a function that you want to run lots of times, separately.
Right now I'd do it by making a button which stores a string somehow (maybe an env-var) and then refer to that string in other buttons. That doesn't give you the nice feeling of being able to see what the current argument is, though.
Out of interest, what kind of thing do you want to use this for?
[quote="nudel"]I don't think there's a way to do this at the moment but I can see how it might be useful if you want to specify extra arguments to a function that you want to run lots of times, separately.
Right now I'd do it by making a button which stores a string somehow (maybe an env-var) and then refer to that string in other buttons. That doesn't give you the nice feeling of being able to see what the current argument is, though.
Out of interest, what kind of thing do you want to use this for?[/quote]
Yeah i did not relly think there was but i thought i would ask as somethings are either quite well hidden or i just plain miss them. It would add so many(more) possibilities for scripting/customization if we were able to add our own text boxes ,dropdowns dynamic labels ect to toolbars.
As for using it for anything in paticular not really i am still exploring Opus at the moment. I did however thing about putting a search bar on a toolbar that uses Microsoft Desktop Search as it is very easy to use/query via vbscript.
I dont really like google desktop search and preffer microsofts desktop search as it seems to index quicker,have more options,Nicer default gui,better search results and it actually opens up in the lister. However it would not be that hard to fully intergrate it if we were given some more controls we could use to gather user input.
Heres quite a good article on using VBscript to query Microsoft desktop search if anyone is interested.