Will C# Work For This Project?Will it?
15 Replies - 590 Views - Last Post: 13 April 2010 - 12:57 PM
#1
Will C# Work For This Project?
Posted 12 April 2010 - 03:32 PM
I've started learning the basics of Python.
After I finish learning the basics, I need to learn what to do for my project. I'm creating a 'bot' that will be able to accept friend requests, reply to messages, "click on buttons", automate keypresses, those sorts of things. It's a bit difficult to put into words....but what section or...tutorials do I need to learn to do this sort of thing?
EDIT: After more research and messaging, I've heard that C# would work for this. Can it?
Replies To: Will C# Work For This Project?
#2
Re: Will C# Work For This Project?
Posted 12 April 2010 - 03:39 PM
CodingNewb, on 12 April 2010 - 02:32 PM, said:
I've started learning the basics of Python.
After I finish learning the basics, I need to learn what to do for my project. I'm creating a 'bot' that will be able to accept friend requests, reply to messages, "click on buttons", automate keypresses, those sorts of things. It's a bit difficult to put into words....but what section or...tutorials do I need to learn to do this sort of thing?
EDIT: After more research and messaging, I've heard that C# would work for this. Can it?
For a question like this, it's best if you list every single feature that your application has to support.
#3
Re: Will C# Work For This Project?
Posted 12 April 2010 - 03:45 PM
MentalFloss, on 12 April 2010 - 02:39 PM, said:
CodingNewb, on 12 April 2010 - 02:32 PM, said:
I've started learning the basics of Python.
After I finish learning the basics, I need to learn what to do for my project. I'm creating a 'bot' that will be able to accept friend requests, reply to messages, "click on buttons", automate keypresses, those sorts of things. It's a bit difficult to put into words....but what section or...tutorials do I need to learn to do this sort of thing?
EDIT: After more research and messaging, I've heard that C# would work for this. Can it?
For a question like this, it's best if you list every single feature that your application has to support.
Ok, thanks. Now, it will not need to support these all at once, but it will in the future.
- Able to read the value from a webpage
- Able to send that value back to the program and evaluate if it is greater than another value
- Able to 'click' links or buttons
- Able to enter messages into a message box
- Able to record the data for 2 variables, then erase them after performing a specific function (repeatedly)
- Able to support a 'dictionary' for an AI
- Able to interchange a string, something like mathrandom()
- Able to, once again, simulate or automate keypresses and 'mouseclicks'
I'm pretty sure this covers every feature.
#4
Re: Will C# Work For This Project?
Posted 12 April 2010 - 03:45 PM
*EDIT* Sorry, looks like we posted at the same time (or pretty close).
This post has been edited by lesPaul456: 12 April 2010 - 03:46 PM
#6
Re: Will C# Work For This Project?
Posted 12 April 2010 - 03:52 PM
citus, on 12 April 2010 - 02:50 PM, said:
Eh, I don't know if I worded that thread correctly, because you guys thought I was up to no-good, and this is just an "bot" to automate simple tasks.
#7
Re: Will C# Work For This Project?
Posted 12 April 2010 - 03:55 PM
This post has been edited by lesPaul456: 12 April 2010 - 03:56 PM
#8
Re: Will C# Work For This Project?
Posted 12 April 2010 - 04:03 PM
lesPaul456, on 12 April 2010 - 02:55 PM, said:
Really? Thanks, that's probably the best news I've gotten all day.
So C# can automate things? Like a 'click'?
ALSO, if you, or anyone else know if this can be accomplished in Python, please let me know, because that was my first choice.
#9
Re: Will C# Work For This Project?
Posted 12 April 2010 - 04:09 PM
CodingNewb, on 12 April 2010 - 03:03 PM, said:
lesPaul456, on 12 April 2010 - 02:55 PM, said:
Really? Thanks, that's probably the best news I've gotten all day.
So C# can automate things? Like a 'click'?
ALSO, if you, or anyone else know if this can be accomplished in Python, please let me know, because that was my first choice.
Uhh...just heard that Bash is very good with automation....to do a project like this, honestly, which is the better choice, Bash or C#?
#11
Re: Will C# Work For This Project?
Posted 12 April 2010 - 04:18 PM
citus, on 12 April 2010 - 03:16 PM, said:
Thank you all a ton! Thank you citus, for ensuring my decision of Bash, I might share my project if I finish it within the month
#12
Re: Will C# Work For This Project?
Posted 12 April 2010 - 04:27 PM
CodingNewb, on 12 April 2010 - 03:18 PM, said:
citus, on 12 April 2010 - 03:16 PM, said:
Thank you all a ton! Thank you citus, for ensuring my decision of Bash, I might share my project if I finish it within the month
Just wondering, can you program a GUI with Bash?
#13
Re: Will C# Work For This Project?
Posted 12 April 2010 - 05:06 PM
i could of sworn AutoIt was originally written to be able to automate task?
Just my 2 cents
#14
Re: Will C# Work For This Project?
Posted 12 April 2010 - 05:37 PM
#15
Re: Will C# Work For This Project?
Posted 13 April 2010 - 04:25 AM
CodingNewb, on 12 April 2010 - 02:32 PM, said:
I'm pretty sure the Python implementation is written in C++! Anything that can be done in Python can also be done in C++, it'll probably just be more flexible and therefore more complex. You can certainly do this project in C++ but I expect it would be unecessarily complex.
If I had to write this program I'd use C#. The .NET library makes it very easy to automate web browsing and those sort of tasks. I'm sure Python will also have modules to help with this, as will Perl, and probably Java etc. Most modern languages are going to be capable of this so just use your favourite language.
|
|

New Topic/Question
Reply




MultiQuote







|