✅ Check a box on a website

How can I check a box on a local website using c#? Havent found anything on google
9 Replies
Sossenbinder
Sossenbinder2y ago
Are you sure that you want to use C# for that? JS would be the obvious choice
₮ⱤØ₣Ⱡł₦Ɇ_฿Ⱡ₳₵₭
well i dont know any other stuff.. ye i dont know java script sadly haha its like i have to activate a box and then press save changes.. but how do i translate this into c# code? 😄
Sossenbinder
Sossenbinder2y ago
I guess there are two routes, use an automation tool like AutoHotKey that simulates clicks on the screen, if that doesn't work you'd have to check if you can somehow interop with a browser
₮ⱤØ₣Ⱡł₦Ɇ_฿Ⱡ₳₵₭
hm.. cant i change the html code? to activate it? xD
Sossenbinder
Sossenbinder2y ago
Not exactly, you can't just "run" C# in a browser unless you are using WebAssembly with e.g. Blazor
₮ⱤØ₣Ⱡł₦Ɇ_฿Ⱡ₳₵₭
hmm.. would you mind helping me on that step? 😄 cuz im not that far down into c# far now.. but i really wanna make a little tool or a script that can switch it real quick because it would save a lot of time of switching it everyday haha cuz everyday i log into that and enable/disable it multiple times a day haha didnt you said javascript would make it by far easier? you think i should try it with js? cuz i dont know further with c# xD
Sossenbinder
Sossenbinder2y ago
I mean it all depends on how you want to run it, should it be embedded on a website, then JS might work, but honestly, if you just want to automate one or two clicks, I would definitely suggest a quick AutoHotkey script
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Closed!
Want results from more Discord servers?
Add your server
More Posts
Is it possible to create a program that just goes on a specific url,logs in and then activates smth?I wanted to create smth quick to enable/disable the routers 5ghz option.. it runs on a local/private✅ How should I structure 'exit points' in my program?Hey guys. I'm working solo on a project that involves opening an Excel file, sorting through and tr❔ Does this method cause boxing of value types?I was looking through the list<T> class and noticed that the Contains<T>(T item) method attemps to c❔ Help with realization Division by zero in wpf projectI want to throw out the error when dividing by zero. Since "Compute" gives infinity when divided by Get data from a model and display it as dropdown on client side in RazorHi, how do I retrieve data in a database from a model and show it in as my dropdown values in my raz❔ Help with DI, i have different connection strings but same behavior for query DBHi, i want to instance the same query service but with different configuration and i have no idea ho❔ Help with stream reading and writing and displaying information at a certain timeSo I am currently doing stream writing and reading and I need it when the user types the student ID ✅ Foreign key not workingHi, I tried making a foreign key in my table, to another table which I made but it does not work as ✅ Shorten data querying lineHi, how do I shorten this line that's querying for data? Like, instead of putting them into one long❔ Blazor JS Interop - Return RTCPeerConnection from js to Blazor in order to close itHi, I've quite a complex task: In my Blazor application I use javascript to read webrtc data produce