Will C# Work For This Project?

Will it?

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 590 Views - Last Post: 13 April 2010 - 12:57 PM Rate Topic: -----

#1 CodingNewb  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 229
  • Joined: 04-December 09

Will C# Work For This Project?

Posted 12 April 2010 - 03:32 PM

Alright, after learning a decent amount of C++, I've begun a new project, and it turns out C++ isn't capable of what I need to do. I've heard Python would be able to this somewhat easily.

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?

Is This A Good Question/Topic? 0
  • +

Replies To: Will C# Work For This Project?

#2 MentalFloss  Icon User is offline

  • Not really an expert anymore...
  • member icon

Reputation: 433
  • View blog
  • Posts: 1,157
  • Joined: 02-September 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 03:39 PM

View PostCodingNewb, on 12 April 2010 - 02:32 PM, said:

Alright, after learning a decent amount of C++, I've begun a new project, and it turns out C++ isn't capable of what I need to do. I've heard Python would be able to this somewhat easily.

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.
Was This Post Helpful? 0
  • +
  • -

#3 CodingNewb  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 229
  • Joined: 04-December 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 03:45 PM

View PostMentalFloss, on 12 April 2010 - 02:39 PM, said:

View PostCodingNewb, on 12 April 2010 - 02:32 PM, said:

Alright, after learning a decent amount of C++, I've begun a new project, and it turns out C++ isn't capable of what I need to do. I've heard Python would be able to this somewhat easily.

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.
Was This Post Helpful? 0
  • +
  • -

#4 lesPaul456  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 173
  • View blog
  • Posts: 729
  • Joined: 16-April 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 03:45 PM

Yeah, a little more information about the application is needed. Also, when you say "bot", I immediately think of a program designed with a malicious purpose in mind. Perhaps you could better explain the application's purpose?

*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

Was This Post Helpful? 0
  • +
  • -

#5 citus  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 140
  • Joined: 28-March 10

Re: Will C# Work For This Project?

Posted 12 April 2010 - 03:50 PM

link to a detailed description of what the OP is trying to do.
Was This Post Helpful? 0
  • +
  • -

#6 CodingNewb  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 229
  • Joined: 04-December 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 03:52 PM

View Postcitus, on 12 April 2010 - 02:50 PM, said:

link to a detailed description of what the OP is trying to do.

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.
Was This Post Helpful? 0
  • +
  • -

#7 lesPaul456  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 173
  • View blog
  • Posts: 729
  • Joined: 16-April 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 03:55 PM

Okay, this can definitely be accomplished in C#, although you will need a pretty good understanding of the language first.

This post has been edited by lesPaul456: 12 April 2010 - 03:56 PM

Was This Post Helpful? 1
  • +
  • -

#8 CodingNewb  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 229
  • Joined: 04-December 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 04:03 PM

View PostlesPaul456, on 12 April 2010 - 02:55 PM, said:

Okay, this can definitely be accomplished in C#, although you will need a pretty good understanding of the language first.



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.
Was This Post Helpful? 0
  • +
  • -

#9 CodingNewb  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 229
  • Joined: 04-December 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 04:09 PM

View PostCodingNewb, on 12 April 2010 - 03:03 PM, said:

View PostlesPaul456, on 12 April 2010 - 02:55 PM, said:

Okay, this can definitely be accomplished in C#, although you will need a pretty good understanding of the language first.



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#?
Was This Post Helpful? 0
  • +
  • -

#10 citus  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 140
  • Joined: 28-March 10

Re: Will C# Work For This Project?

Posted 12 April 2010 - 04:16 PM

You should use bash without a doubt. Good luck on your project.
Was This Post Helpful? 1
  • +
  • -

#11 CodingNewb  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 229
  • Joined: 04-December 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 04:18 PM

View Postcitus, on 12 April 2010 - 03:16 PM, said:

You should use bash without a doubt. Good luck on your project.



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 :P
Was This Post Helpful? 0
  • +
  • -

#12 CodingNewb  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 229
  • Joined: 04-December 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 04:27 PM

View PostCodingNewb, on 12 April 2010 - 03:18 PM, said:

View Postcitus, on 12 April 2010 - 03:16 PM, said:

You should use bash without a doubt. Good luck on your project.



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 :P

Just wondering, can you program a GUI with Bash?
Was This Post Helpful? 0
  • +
  • -

#13 mager1794  Icon User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 129
  • Joined: 23-March 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 05:06 PM

Wouldn't AutoIt be best for this?
i could of sworn AutoIt was originally written to be able to automate task?

Just my 2 cents
Was This Post Helpful? 0
  • +
  • -

#14 lesPaul456  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 173
  • View blog
  • Posts: 729
  • Joined: 16-April 09

Re: Will C# Work For This Project?

Posted 12 April 2010 - 05:37 PM

I've never really used Bash, except for a few basic scripts in Linux. Personally I'd go with C#, but I've been programming in C# for a while now. C# supports this type of thing very well, and there are a ton of resources out there. If you're not familiar with C#, though, just use the language you're most familiar with.
Was This Post Helpful? 0
  • +
  • -

#15 Charles:)  Icon User is offline

  • D.I.C Head

Reputation: 52
  • View blog
  • Posts: 143
  • Joined: 26-November 09

Re: Will C# Work For This Project?

Posted 13 April 2010 - 04:25 AM

View PostCodingNewb, on 12 April 2010 - 02:32 PM, said:

Alright, after learning a decent amount of C++, I've begun a new project, and it turns out C++ isn't capable of what I need to do. I've heard Python would be able to this somewhat easily.


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.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2