New Guy 4 Posted February 22, 2011 Report Share Posted February 22, 2011 I'm having trouble figuring out how/why the UI open files in my UI HTML panel are showing differently even though the code I used is exactly the same. I have attached a screen shot. Any ideas anyone? Quote Link to post Share on other sites
UBotBuddy 331 Posted February 22, 2011 Report Share Posted February 22, 2011 Can you post your Bot? It's hard to address an issue without seeing it. Quote Link to post Share on other sites
New Guy 4 Posted February 22, 2011 Author Report Share Posted February 22, 2011 Sure, here ya go.UI Double.ubot Quote Link to post Share on other sites
UBotBuddy 331 Posted February 22, 2011 Report Share Posted February 22, 2011 Here ya go:UI Double-buddy.ubot Quote Link to post Share on other sites
New Guy 4 Posted February 22, 2011 Author Report Share Posted February 22, 2011 Hi Buddy, Can you please tell me what was actually wrong for future reference ? Quote Link to post Share on other sites
UBotBuddy 331 Posted February 22, 2011 Report Share Posted February 22, 2011 Basically, you had this setup for the top openfile (Input Register): The second one (Export Article) you had this set: Since the second was working I just copied that and replaced the one you had for the top one. That's all I did. Quote Link to post Share on other sites
JohnB 255 Posted February 22, 2011 Report Share Posted February 22, 2011 Are you placing any of the code inside table cells? If so, remember to set the desired cell sizes in your table. If your cells are set to 150px wide and you are trying to place a 180px input box, well...it won't come out the way you expect. John Quote Link to post Share on other sites
Praney Behl 314 Posted February 22, 2011 Report Share Posted February 22, 2011 Now with using code for a browse command in UI html command in Ubot, does it give you the exact path. I don't get the exact path, due to a security glitch in the IE8. So no matter what file you select at what path, if you check the content of the variable, it gives you C://fakepath/"selectedfilename.ext". Has anyone come across this problem at all? I have tried to digg this but found its a security issue in IE8 and no work around. Someone any ideas? Praney Quote Link to post Share on other sites
New Guy 4 Posted February 22, 2011 Author Report Share Posted February 22, 2011 Instead of using <input variable="#input list"> you now have to use <openfile variable="#input list" /> Now with using code for a browse command in UI html command in Ubot, does it give you the exact path. I don't get the exact path, due to a security glitch in the IE8. So no matter what file you select at what path, if you check the content of the variable, it gives you C://fakepath/"selectedfilename.ext". Has anyone come across this problem at all? I have tried to digg this but found its a security issue in IE8 and no work around. Someone any ideas? Praney Quote Link to post Share on other sites
New Guy 4 Posted February 22, 2011 Author Report Share Posted February 22, 2011 Yea, got it working fine now. The problem is really me using a crappy HTML editor at this point. Need to shell out a few bucks on a good one. Are you placing any of the code inside table cells? If so, remember to set the desired cell sizes in your table. If your cells are set to 150px wide and you are trying to place a 180px input box, well...it won't come out the way you expect. John Quote Link to post Share on other sites
Super Dave 26 Posted February 23, 2011 Report Share Posted February 23, 2011 Save the cash, get Notepad++ or netbeans if you want a full IDE. Quote Link to post Share on other sites
New Guy 4 Posted February 23, 2011 Author Report Share Posted February 23, 2011 Yea, I am more of a wysiwyg kind of guy myself. Quote Link to post Share on other sites
Frank 177 Posted March 25, 2011 Report Share Posted March 25, 2011 Guys I'd like to dig up this thread to ask a quick question. Is there any way to control the width of the input box when using the 'openfile' html command? Frank Quote Link to post Share on other sites
JohnB 255 Posted March 25, 2011 Report Share Posted March 25, 2011 I'd like to help, but that tag does not produce an input box in my editor so I can't manipulate it. Quote Link to post Share on other sites
JohnB 255 Posted March 25, 2011 Report Share Posted March 25, 2011 In a blind effort I can tell you that css and tag attributes do not change the size of the input fields Quote Link to post Share on other sites
JohnB 255 Posted March 25, 2011 Report Share Posted March 25, 2011 Ok, add this to your html: input { width: 600px; } Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted March 25, 2011 Report Share Posted March 25, 2011 or just add size="30" inside the openfile input command. Quote Link to post Share on other sites
Frank 177 Posted March 26, 2011 Report Share Posted March 26, 2011 Hey guys, I'll try your command John, but Kreatus, unfortunately the size command doesn't work. Frank Quote Link to post Share on other sites
Praney Behl 314 Posted March 26, 2011 Report Share Posted March 26, 2011 Instead of using <input variable="#input list"> you now have to use <openfile variable="#input list" /> This didn't work for me Can someone enlighten this? Or maybe a proper example? Praney Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted March 26, 2011 Report Share Posted March 26, 2011 @Frank its working on normal openfile input command but when I change the input to openfile in the code it will not work. I attached a file.. @PraneyYour sample is attached also.. openfilesize.ubot Quote Link to post Share on other sites
Praney Behl 314 Posted March 26, 2011 Report Share Posted March 26, 2011 @Frank its working on normal openfile input command but when I change the input to openfile in the code it will not work. I attached a file.. @PraneyYour sample is attached also.. openfilesize.ubot Thanks Kreatus, But that give Fakepath too.. Screenshot attached : http://i53.tinypic.com/sd21yd.png Quote Link to post Share on other sites
Praney Behl 314 Posted March 26, 2011 Report Share Posted March 26, 2011 I see into the html now but for some reason I only get 1 file selector in the UI Html area. Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted March 26, 2011 Report Share Posted March 26, 2011 Thanks Kreatus, But that give Fakepath too.. Screenshot attached : http://i53.tinypic.com/sd21yd.png The second openfile command doesnt give you the right path? based on your screenshot that variable is from the "Product fake path" openfile.. The second one gives me the right path.. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.