hey all, i finally finished the version of my Goga's Free DBP Plugin
its a plugin with lots of random stuff!
25 commands!
Command list:
[Command]
GetMyIP
[Description]
Gets your personal computer IP.
[Example]
print "Wait.."
sync
print "Your IP is: "+GetMyIP()
wait key
`----------------------------------------
[Command]
DownloadFile
[Description]
Will download you a file from HTTP Url.
[Example]
print "Downloading..."
sync
Success = DownloadFile("http://www.google.co.il","Temp.txt")
if Success = 1 then print "Downloaded!" else print "Faild with the download."
wait key
`----------------------------------------
[Command]
FontBox
[Description]
Will make you a font dialog
[Example]
FontBox
set text font GetFont()
set text size GetSize()
ink rgb(GetRed(),GetGreen(),GetBlue()),1
if GetStyle()=0 then set text to normal
if GetStyle()=1 then set text to bold
if GetStyle()=2 then Set text to italic
if GetStyle()=3 then Set text to bolditalic
print "Hello Goga's Dll!"
wait key
`----------------------------------------
[Command]
ColorBox
[Description]
Its a color picker Dialog
[Example]
ColorBox
ink rgb(GetRed(),GetGreen(),GetBlue()),1
print "Hello Goga's Dll!"
wait key
`----------------------------------------
[Command]
MsgBox
[Description]
its a Message Box Dialog with 15 different buttons like Yes/No/Cance/OK etc.
and 5 different Icons like Error/Info/Notice etc.
[Example]
for a = 1 to 15
Clicked = MsgBox("Last time clicked on:"+chr$(13)+str$(Clicked)+" Button.",1,a)
next a
for a = 1 to 5
MsgBox "Do you see the ICON types? :)",a,1
next a
wait key
`----------------------------------------
[Command]
ToClipBoard
[Description]
this command will Copy a message to a clipboard.
and out the program, you can use CTRL + V to past the clipboard you copied in DBP
[Example]
ToClipBoard "Hello to Goga's Dll!"
wait key
`----------------------------------------
[Command]
FromClipBoard
[Description]
this command will Past a message From a clipboard.
[Example]
print "Msg: "+FromClipBoard()
wait key
`----------------------------------------
[Command]
OpenFileBox
[Description]
will make you OpenFile Dialog
[Example]
path$ = OpenFileBox("Title","Filter, DirectX Objects (*.x)|*.X |AllObjects (*.X,*.3ds,*.DBO)|*.x,*.3ds,*.DBO |AllFiles (*.*)|*.*")
print path$
wait key
`----------------------------------------
[Command]
OpenFileBox
[Description]
will make you SaveFile Dialog
[Example]
path$ = SaveFileBox("Title","Filter, DirectX Objects (*.x)|*.X |AllObjects (*.X,*.3ds,*.DBO)|*.x,*.3ds,*.DBO |AllFiles (*.*)|*.*")
print path$
wait key
`----------------------------------------
[Command]
ValDef
[Description]
with this command you will be able to convert a string to a integer.
but if the string wont be able convert, it will return a custom number
[Example]
print ValDef("Cant Convert",-1) `will return -1 if it cant convert to number
print ValDef("1000",0)
wait key
`----------------------------------------
[Command]
GetWord
[Description]
this command will get you a word by including the word number in the string
[Example]
m$ = "hello world and hello there"
print "Oreginal Word: "+m$
print "WordNumber 2: "+GetWord(m$,2)
wait key
`----------------------------------------
[Command]
ReplaceStr
[Description]
this command will take your string and replace some letters of the string into other string that you will chose
[Example]
m$ = "hello world and hello there"
print "Oreginal Word: "+m$
print "'world' replaced to 'gogasdll': "+ReplaceStr(m$,"world","gogasdll")
wait key
`----------------------------------------
[Command]
TotWords
[Description]
will return you ammount of words there is in the string
[Example]
m$ = "hello world and hello there"
print "Oreginal Word: "+m$
print "it got: "+Str$(TotWords(m$))+" Words!"
wait key
`----------------------------------------
[Command]
WordExist
[Description]
this command will return you 1 if the specific word exist in the string
it also will return 0 if the word does not exist in the string.
[Example]
m$ = "hello world and hello there"
print "Oreginal Word: "+m$
print "Word 'and' exit? "+Str$(WordExist(m$,"and"))
wait key
`----------------------------------------
[Command]
DirBox
[Description]
this is a command that makes a dialog called "Browse For Folder"
[Example]
m$ = DirBox("Title")
print "Dir Path: "+m$
wait key
`----------------------------------------
[Command]
InputBox
[Description]
this is a simple Input Dialog.
[Example]
m$ = InputBox("Title","Prompt/Msg","Input")
print "Input Return: "+m$
wait key
`----------------------------------------
[Command]
GetDBPPath
[Description]
this command will return you an installed DBP's path.
[Example]
path$ = GetDBPPath()
print "DBP Path is: "+path$
wait key
`----------------------------------------
[Command]
GetLocalIP
[Description]
This command will get you your local IP
[Example]
LocalIP$ = GetLocalIP()
print "Your Local IP is: "+LocalIP$
wait key
`----------------------------------------
[Command]
CoolDownCPU
[Description]
This command will decrease you CPU Usage of DBP Programs! (Put it in loop)
you also can use PERCENTS for that command
like: CoolDownCPU 30
more percent will be there, then more effect it will give on the CPU.
[Example]
do
CoolDownCPU 30
sync
loop
`----------------------------------------
Stuff that this dll can do:
Get your own IP
Download File from URL
Msg Box dialog with 15 different buttons and 5 different Icons
Save File Dialog
Open File Dialog
Color Picker
Font Picker
Clipboard works (Copy to clipboard and paste from clipboard strings only.)
check if the string convertable to integer function
getting a selected word from the string
replacing few digits in one string to another digits
coutning how many words you got in one string
WORD EXIST function.
added Browse For Folder dialog
added Input Dialog!
Now you can get Install path of DBP!
Added GetLocalIP() function
added a function that decreases the CPU Usage of your DBP Engines!
Download:
Version: 0.1
Date: 11/2/06
File(Rar): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.1].rar[/href]
File(Zip): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.1].zip[/href]
Version: 0.15
Date: 15/2/06
File(Rar): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15].rar[/href]
File(Zip): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15].zip[/href]
Version: 0.15b
Date: 18/2/06
File(Rar): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15b].rar[/href]
File(Zip): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15b].zip[/href]
enjoy.