want to do some basic things with api
-
- New User
- Posts: 5
- Joined: Thu Oct 07, 2010 11:12 am
want to do some basic things with api
i'm new to purebasic but i'm not new to programming, with experience with mirc and autoit as well as autohotkey under my belt (lol)
i wanna know how to do three basic things:
1) how do i click a button id auotmated?
2) is there a built-in download feature (if not is there a module or something to do this?)
3) how do i edit the registry?
i wanna know how to do three basic things:
1) how do i click a button id auotmated?
2) is there a built-in download feature (if not is there a module or something to do this?)
3) how do i edit the registry?
Re: want to do some basic things with api
Everything you are asking here is already asked before on forum. Just use search. 

Re: want to do some basic things with api
Also note that access to native api functions may not be available if you're using the demo.
cheers
cheers
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
Re: want to do some basic things with api
cas, please look carefully at his request, very carefully ....
--> click a button id auotmated
--> built-in download feature
--> edit registry
Yes, another scriptkiddie asking for malware in his very first post!
--> click a button id auotmated
--> built-in download feature
--> edit registry
Yes, another scriptkiddie asking for malware in his very first post!
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
-
- New User
- Posts: 5
- Joined: Thu Oct 07, 2010 11:12 am
Re: want to do some basic things with api
actually i was looking to make an installer for an irc bot i made, because if all the packages were in one package it'd be a huge file, and as for button clicking and the like, i find such things rather useful for various tasks in windows. i dont condone nor like the use of malicious software
-
- New User
- Posts: 5
- Joined: Thu Oct 07, 2010 11:12 am
Re: want to do some basic things with api
also it's not a huge deal, i could continue using autoit and do the same things i just asked, but i wanna give another language a try. it's stupid to assume my motives are malicious
Re: want to do some basic things with api
> it's stupid to assume my motives are malicious
Not really. People often come here and ask how to make a virus with PureBasic.
Not really. People often come here and ask how to make a virus with PureBasic.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
-
- New User
- Posts: 5
- Joined: Thu Oct 07, 2010 11:12 am
Re: want to do some basic things with api
i suppose, but arent most things like that coded in c++? (i wouldnt know lol)
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
Re: want to do some basic things with api
Now you are mentioning IRC and bot programming ... 

Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Re: want to do some basic things with api
You can download a file with ReceiveHTTPFile(Url, Filename).
-
- User
- Posts: 16
- Joined: Fri Jul 16, 2010 3:54 pm
Re: want to do some basic things with api
I totally agree, an automated behind-your-back bot installer ... ?Fluid Byte wrote:Now you are mentioning IRC and bot programming ...
-
- New User
- Posts: 5
- Joined: Thu Oct 07, 2010 11:12 am
Re: want to do some basic things with api
well if thats the way you guys see it then shit i'll even post my code on here when it's finished. i dont condone malware. my shit is legit, my eventual goal is to code a complete ircd with purebasic. and as far as button clicking i think it'd be cool to have a bot that can click the new identity button every so often on advtor, because i dont like hosting bots or anything on irc on my ip, namely dalnet, (yes most tor hosts are blacklisted there but still) anyway yeah, i wanna be an active member of this community
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
Re: want to do some basic things with api
That's not the way we see it, that's the way it is ...homiewagon wrote:well if thats the way you guys see it ...
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Re: want to do some basic things with api
Homie, we're all a bit triggerhappy here because PureBasic is so easy that scriptkiddies could easily abuse it to build installers, bots, and all sorts of malware.
Your requests trigger this response because most of the things you've asked for are typically used in such applications.
Now don't take it too harsh, why not first get some experience with the language and have some fun with it, before touching upon more critical functions that would be very specific to your application, and which might be frowned upon by other forum participants as you're a still unknown factor with unknown intentions
As for your questions:
- registry editing is easy, do a search on the forum
- downloading is easy, there's a PureBasic function for that
- autoclicking is evil, I don't want ANY software to click on anything unless I have told it to do so, so no help from me there, it's the most suspicious part of your request, frankly
Your requests trigger this response because most of the things you've asked for are typically used in such applications.
Now don't take it too harsh, why not first get some experience with the language and have some fun with it, before touching upon more critical functions that would be very specific to your application, and which might be frowned upon by other forum participants as you're a still unknown factor with unknown intentions

As for your questions:
- registry editing is easy, do a search on the forum
- downloading is easy, there's a PureBasic function for that
- autoclicking is evil, I don't want ANY software to click on anything unless I have told it to do so, so no help from me there, it's the most suspicious part of your request, frankly
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: want to do some basic things with api
I am new to this forum and PB in general. However, Fluid, that was my first thought as well once I read his post. And I am just a simple PHP/MySQL guy.Fluid Byte wrote:cas, please look carefully at his request, very carefully ....
--> click a button id auotmated
--> built-in download feature
--> edit registry
Yes, another scriptkiddie asking for malware in his very first post!