Forum

> > CS2D > Scripts > Execute a internet page with script?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Execute a internet page with script?

4 replies
To the start Previous 1 Next To the start

old Re: Execute a internet page with script?

KimKat
GAME BANNED Off Offline

Quote
It's possible to automate something like that due to all the technology we have today. But I personally don't know how exactly that would be accomplished and it would require quite some effort to achieve. Although I know it's possible with the right technique and method. You could for example write a script or program that responds to certain external signal (requires a router) and when the signal hits a certain case or function in a AutoHotkey/AutoIt script/program for example then it'd trigger a certain event which interacts with CS2D window and sends the keys and mouse clicks to the window using either the "detect pixels" method or via "pixel positioning" method (which is the faster method to use but requires lots of precision calculations) then it will play that sound that you want which is in itself read from perhaps a text file list that the AutoIt script/program uses. You can do pretty much anything with AutoIt, so it's 100% plausible if you are a experienced AutoIt user I have no doubts about that. I don't know if it's plausible in Lua without excessive coding and some smart idea.

However my idea can be achieved without doing any illegal things to the running process of CS2D, so I believe it's quite safe to use however be warned about using more advanced AutoIt scripts/programs which you know nothing about, take it into consideration. I once messed up my taskmanager using a "replace task manager" script/program, it was not possible to launch it at all afterwards. Later on though I retrieved a working one from user mafia_man quite some time ago thanks to him.

To make some script/program like this though it will require you to be willing to learn about the IDE of AutoIt. However you can use pretty much any IDE that has the possibilities of making exactly anything you'd like which is possible.

I personally use AutoIt which is my favorite IDE next to the Python IDLE IDE. However I'm not sure if I want to make something like this as it seems quite useless overall. You can add a Lua script that has functionality to trigger sounds instead, which sounds to me a more effective solution depending on what exactly you are requesting from us.
edited 1×, last 24.11.12 10:52:41 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview