Seems that with windows 8, The inputtext.dll plugin goes wacky when using it with a search engine. No matter what internet search skin I use, If the search query has more than one word in it, and is using the inputtext.dll plugin, It opens each word in a seperate internet tab/page.
Simple example:
Enter "Rainmeter is the coolest!" (without quotes)into the skin.
First page link says(without quotes) "https://www.google.com/search?q=Rainmeter"
Second page link says(without quotes) "is/"
Third page says(without quotes) "the/"
Fourth page says(without quotes) "coolest%21"
I have tried re-installing the skins, setting different browsers as default, Along with different versions of Rainmeter, and seems to only have the problem in Windows 8. Never had this problem when I have my Windows 7 hard drive plugged in and booted from.
Windows 8 Pro with Media Center x64
Currently installed version of Rainmeter: 2.4.0 r1678 64-bit
Can anyone else confirm this happening?
It is currently September 21st, 2024, 1:00 am
Windows 8/Inputtext.dll bug
-
- Posts: 310
- Joined: June 7th, 2012, 2:25 am
- Location: Philadelphia, PA
-
- Developer
- Posts: 2873
- Joined: April 17th, 2009, 12:18 pm
Re: Windows 8/Inputtext.dll bug
Is the skin using quotes around the URL? The following works fine here on Win8 Pro:
["http://www.google.com/search?q=$UserInput$"]
["http://www.google.com/search?q=$UserInput$"]
-
- Posts: 310
- Joined: June 7th, 2012, 2:25 am
- Location: Philadelphia, PA
Re: Windows 8/Inputtext.dll bug
poiru wrote:Is the skin using quotes around the URL? The following works fine here on Win8 Pro:
["http://www.google.com/search?q=$UserInput$"]
Yes, There originally was quotes around it all, And even tried removing them to see what happens. here is the code to one of the skins. Still unsure what is going on.
EDIT: Tried to enter the link in the meter manually instead of using a variable, With the same results. Opens every word in a new page.
-
- Developer
- Posts: 1721
- Joined: July 25th, 2009, 4:47 am
Re: Windows 8/Inputtext.dll bug
It definitely sounds like the quotes around the URL are being lost somewhere along the way. You might be able to preserve them by using "magic quotes":
If you can't find a solution, you could also try using a script to convert the spaces into %20 before sending the URL:
Code: Select all
Command1=[""" "#searchengine#$UserInput$" """] DefaultValue=""
Code: Select all
Command1=[!CommandMeasure Script "SendURL([[#searchengine#$UserInput$]])"] DefaultValue=""
Code: Select all
function SendURL(Address)
Address = Address:gsub(' ', '%%20')
SKIN:Bang(('["%s"]'):format(Address))
end
-
- Posts: 310
- Joined: June 7th, 2012, 2:25 am
- Location: Philadelphia, PA
Re: Windows 8/Inputtext.dll bug
Kaelri wrote:It definitely sounds like the quotes around the URL are being lost somewhere along the way. You might be able to preserve them by using "magic quotes":
If you can't find a solution, you could also try using a script to convert the spaces into %20 before sending the URL:Code: Select all
Command1=[""" "#searchengine#$UserInput$" """] DefaultValue=""
Code: Select all
Command1=[!CommandMeasure Script "SendURL([[#searchengine#$UserInput$]])"] DefaultValue=""
Code: Select all
function SendURL(Address) Address = Address:gsub(' ', '%%20') SKIN:Bang(('["%s"]'):format(Address)) end
Thanks Kaelri, That LUA code seems to work without a problem. Still unsure of the cause of the problem, But this solution works better than before.