Hello Marek,
I am using favorite tools a lot with calling my VBS scripts with %ActivSel% and %InactivDir% variables and it works very well. However last days I had to upgrade my few scripts to use also text which is in clipboard to create the folder name. Sad for me is I found out that VBS has not direct clipboard implementation. Only some terrible workarounds via html or internet explorer itself what is not something I would like to use. Some of the scripts I changed myself from VBS to autoit where I can easily get text from clipboard. Since autoit is not my "cup of coffee" I spent a lot of time to "rewrite" the scripts. It works for me now and I am calling compiled exe from freecommander. But today I started to rewrite my more complex script and it is really hard for me. Then I asked myself if you could somehow ( I guess you can easily get the clipboard value in the development environment) provide the text in clipboard into some PARAMETER variable I can use to pass it to my VBS script. Something like %Clipboard%.
It will make my life easier if you could do that somehow
Thank you for wonderfull software!
Add clipboard variable to Favorite tools
Re: Add clipboard variable to Favorite tools
I think that's possible.
Re: Add clipboard variable to Favorite tools
That would be wonderful, Marek! Thank you to be customer listening!
Re: Add clipboard variable to Favorite tools
In the 801 try %ClipboardText%.
Re: Add clipboard variable to Favorite tools
Hello Marek,
I downloaded version 801 and it seems it recognize properly %ClipboardText% and it paste what is in clipboard to the VBS! Great job!
But when the value in clipboard has space it paste it as another argument. So it works when in clipboard is "Alfa", but it makes another argument in VBS when in clipboard is "Alfa Beta". Could that be handled as with files with space? So it accept settings "enclose each selected item" so it is passed as one argument also when space in the text?
Then it will be perfect!
Thank you
I downloaded version 801 and it seems it recognize properly %ClipboardText% and it paste what is in clipboard to the VBS! Great job!
But when the value in clipboard has space it paste it as another argument. So it works when in clipboard is "Alfa", but it makes another argument in VBS when in clipboard is "Alfa Beta". Could that be handled as with files with space? So it accept settings "enclose each selected item" so it is passed as one argument also when space in the text?
Then it will be perfect!
Thank you
Re: Add clipboard variable to Favorite tools
Try to use "%ClipboardText%" and not %ClipboardText%.
Re: Add clipboard variable to Favorite tools
That was the trick. Now it works like a charm. Thank you very much!
Who is online
Users browsing this forum: No registered users and 171 guests