Chainsaw 9 Posted September 1, 2017 Report Share Posted September 1, 2017 I'm trying to upload a file to a site and the only way is through the Open File dialog box. All I want to do is type in the file name in the "File name:" field and click "Open". It seems like the Windows Commands were designed to do this but its not possible to access the Ubot interface when the Open File dialog box is open. What is the best way to create the Windows commands to upload a file? Quote Link to post Share on other sites
Chainsaw 9 Posted September 2, 2017 Author Report Share Posted September 2, 2017 OK Got this working with Windows Commands click(<class="btn upload">,"Left Click","No") wait(3) plugin command("WindowsCommands.dll", "set dialog text", "Upload File", "File name:", "myphoto.jpg") plugin command("WindowsCommands.dll", "click dialog button", "Upload File", "Open") Quote Link to post Share on other sites
Chainsaw 9 Posted September 2, 2017 Author Report Share Posted September 2, 2017 Now the only problem with this is I'm having to use Chrome 21. When I click the upload button in Chrome 49, Ubot crashes. Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: UBotCefSharpBrowser.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 58fbd826 Problem Signature 04: UBotCefSharpBrowser Problem Signature 05: 1.0.0.0 Problem Signature 06: 58fbd826 Problem Signature 07: 126 Problem Signature 08: e4 Problem Signature 09: System.NullReferenceException OS Version: 6.1.7600.2.0.0.256.1 Locale ID: 1033 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt Quote Link to post Share on other sites
pash 504 Posted September 2, 2017 Report Share Posted September 2, 2017 What is ubot version try V5.9.44 Quote Link to post Share on other sites
Chainsaw 9 Posted September 16, 2017 Author Report Share Posted September 16, 2017 What is ubot version try V5.9.44I'm using Ubot 5.9.50 Luckily for what I'm doing Chrome 21 is working well enough. 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.