 29.0
Shhh... Top Secret!
My
projects (those I consider worthy enough to be mentioned here):
-
CodeCaddy
- an add-on for the PureBasic IDE
-
WallX
- a wallpaper changers
-
Sweetspot
- only for those that need to know... and you don't need to know... yet
:-)
-
Reval
- evaluate regular expressions on the fly
-
Thype
- a 'launchy' style of application
-
Unirun
- a universal (emulator) software launcher
 29.1
CodeCaddy
Latest
version: v2.00 build 868 23.11.10 save 8703.
Who's
your daddy? CodeCaddy! An add-on for the Purebasic IDE, that even The Hoff
would use!
-
Download
CodeCaddy. (Includes source code!)
-
What CodeCaddy
does, in flash (can be viewed from within CodeCaddy)...
-
See CodeCaddy
in action, in this horrible video download
or on youtube.
Apologies for the quality, and make sure you buy the FireFly DVD afterwards!
-
For more
information on The Hoff, go here...
And ask ;-)
I'm not
sure if CodeCaddy did inspire the Purebasic devs to improve their IDE (but
it's nice to flatter oneself) or if great minds think alike (which in my
case would then also apply to small minds :-)) but most of the features
of CodeCaddy have made it in this or some other form into the IDE. I still
use CodeCaddy for its backup mechanism, look-up feature, and 'unused' code
stripper.
Before
I go into the gory details let's first show a CodeCaddy window in all its
glory:
What
is it?
In
silly words: CodeCaddy is an instant context related reference search tool,
backup assistent, multiline construction enhancement and code synchronizer
/ reformatter. Pfff.
In
real language: a smart search that looks in your current code as well as
all other files, and shows the results in a seperate window. Plus, it brings
a couple of tools along.
Yes.
There is some documentation included in the download.
Why don't you read the quickhelp.txt file in the file you downloaded? Oh.
You don't like reading manuals :-) so let's do the quick introduction now
and keep the boring stuff for later. One more time: CodeCaddy is an add-on
for PureBasic.
Or,
to be more precise, for the PureBasic editor. It...
-
looks
for any occurancies of specified code or keywords in all sorts of files
-
create
numbered backups (jaPBe style with a little pizzaz) in a dedicated backup
folder using .cdy and .bak files
-
installs
itself in the PureBasic IDE tools menu, but only if you tell it to
-
synchronizes
two folders taking .cdy .pb .bak files in account (good for bringing your
code with you)
-
adds build
date, build number and save number constants on compilation time (like
PureBuild, only better ;-))
-
flatten
multiline sections, ie. lines ending on '_'
-
searches
the web from within the PureBasic IDE
-
removes
unused code before compilation
-
free,
indefinitely
If you
really really really want to compare CodeCaddy with other tools, it's a
little of...
-
PureBuilder
-
CodeArchive
search
-
Constant
explorer
-
Code reformatter
-
Alt+F1
... all
rolled into one. Sort of. In fact, I never felt the need for any of the
above since I wrote CodeCaddy :-)
CodeCaddy
has been used extensively in writing CodeCaddy :-) CodeCaddy itself was
written in PureBasic 4.4x (but I've been recompiling
it on any version of Purebasic ever since),
and works on:
-
Windows
XP
-
Windows
Vista
-
Windows
7
-
PureBasic
3.94
-
PureBasic
4.xx 5.xx (thus far on all versions)
I dropped
Windows 98. I haven't tested it on Windows
8 yet but I don't see any reason why it shouldn't work.
What
does it do?
Okay...
that sounds all handy dandy, but what does all that mumbo jumbo really
mean? Here are some examples...
-
How did
I name that variable?
-
from inside
the PB IDE, first start CodeCaddy with [Control]+[F1]
-
then hit
[Control]+[F] (tell CodeCaddy to search for a certain term)
-
enter
the search phrase and hit [Enter]
-
CodeCaddy
will list all occurances in your current code, in your includes, and in
any other paths if specified
-
CodeCaddy
will colour code and categorize the results, so you can easily spot procedures,
structures, constants and variables
-
you can
scroll through the results using the up/down key, and the found match will
be shown in it's context
-
I need
to look up an example of a keyword / function...
-
inside
the PB IDE, move the cursor on top of the word you're looking for
-
then hit
[Control]+[F1]
-
and CodeCaddy
will list all matches, and you can easily view details on each of them
-
(and suddenly
it's a good idea to put some remarks in your collection of procedures at
the start of each procedure :-))
-
I need
to look up an example of a keyword / function on the InterNet...
-
inside
the PB IDE, move the cursor on top of the word you're looking for
-
then hit
[Alt]+[F1]
-
and CodeCaddy
will launch your browser and specified searches
-
What was
the value of that constant again?
-
as before,
nothing to stop you from including a file with PB or Windows constants,
or any other text file
-
so start
CodeCaddy, hit the [Control]+[F] and enter that phrase
-
CodeCaddy
splits the search in two stages, it halts between these two stages, waiting
for a keypress to continue
-
you can
specify additional files or paths in CodeCaddy under Options / Preferences
/ Search...
-
... include,
for example, files with PB constants, or a C compiler's .h file, or anything
else in Ascii
-
My code
is all messy! Let's clean it up then!
-
then let's
reformat your code!
-
inside
the PB IDE, hit [Alt]+[R]...
-
... and
all code will be nicely indented
-
Keeping
track of version and build numbers is easy...
-
CodeCaddy
keeps automatically track of each build and version by storing some information
in a .CDY file...
-
... which
is updated on every save and every build
-
use two
special constants to use this information inside your program
-
Maintaining
multiple backups so I won't accidentally overwrite my (older, working)
source code is a chore. No, it's not!
-
CodeCaddy
automatically creates backups of your source file in a dedicated folder
-
and numbers
each backup subsequently, so you can return to an older version of your
source even after multiple edits and runs
-
Can I
bring my sources with me? And stop worrying about overwriting a newer version
with some older code once I start lugging code around?
-
define
two folders in CodeCaddy (Options / Preferences / Other/ CodeSync)
-
hit [F9]
and both will be synchronized
-
CodeCaddy
will ask you for confirmation if it can't figure out what is the latest
version (using not only the timestamp but also information in the associated
.CDY files)
To be
honest, I find it very hard to explain. Just use it and see for yourself,
move the cursor over something you need to know more about, and hit [Control]+[F1]
or [Alt]+[F1]and watch the magic.
Installation
Did
I mention there was some documentation inside the download? :-) Anyway,
there are several ways to try CodeCaddy, and eventually install it. Here
are a few options...
The
'lazy' way
CodeCaddy
can install itself if you want, more for the lazy people:
-
download
codecaddy.zip
-
unpack,
copy codecaddy.exe in your PureBasic folder
-
run it
-
use the
menu option Tools / Install in IDE
The
'I wanna' know all' way
-
download
codecaddy.zip
-
unpack,
copy codecaddy.exe in your PureBasic folder
-
run it
-
press
the help button
-
follow
the instructions
The
'I love my DOS box' way
-
download
codecaddy.zip
-
unpack,
copy codecaddy.exe in your PureBasic folder
-
open a
command box / dos box / shell prompt whatever
-
cd to
your purebasic folder
-
execute:
codecaddy find "<pb file name>" "<search phrase>"
The
'I don't trust you with my editor preferences anyway' way.
-
download
codecaddy.zip
-
copy codecaddy.exe
into your pb folder
-
run codecaddy.exe
-
select
the menu Options / Preferences
-
go to
the tab Search
-
select
the top 'asterix' button (the one behind the 'Basic' section)
-
select
your PB folder, or a folder where you save all your PureBasic source files
(anything ending on .pb will do)
-
leave
preferences with Ok
-
hit the
F2 key (search)
-
enter
the first letters of a procedure or variable name that you know of
-
hit Start
-
in the
resulting window the top half shows all hits, the bottom half shows the
related code
CodeCaddy
in action
CodeCaddy
on Windows XP classic.
Some
fields in the Preferences window.
CodeCaddy
on Windows XP 'themed'.
 29.2
WallX
Latest
version: v1.70x.
WallX
is a small utility I wrote after fooling around with VirtualBox.
It creates backgrounds 'on the fly' allowing quick identification of different
VM's. I even run it on my regular machine(s) for the same reason :-) For
the moment I have discontinued WallNutt, as WallX seems to do pretty much
anything I want. Scroll down to see dual monitor auto resizing auto cropping
wallpaper action!
What
does it do?
Creates
a coloured background with machine name and IP in large letters. Yep, that's
all. No, it's not! WallX now also handles your (random) (multi monitor)
wallpapers!
Unpack
and copy the file wallx.exe to a comfy place. Starting the program without
any command line options will bring up a little help screen.
Characteristics.
-
create
background images for better identification of multiple machines, for example
VM's
-
detects
IP and screen changes when in resident mode
-
runs on
Windows98, XP 32, Vista 64 (not tested on Windows 7 yet, as I don't have
it)
-
can load
random wallpapers from given folder
-
auto crop
/ stretch loaded wallpapers to match single and dual monitor setups
-
allows
a set of 'preferred pairs' by creating a file wallx.set
-
automatically
renew your wallpaper when you're away
Please
read the included help file.
Start
the program without any command line options, or use the option 'help'
and you will get a little help screen. Remember to add 'start' if you want
to run resident.
For
a quick trial run, unpack all files and doubleclick on runme.bat.
Examples.
The
new (v1.70x) GUI (which doesn't look that sexy, I know...):
Here
are some example images created with WallX:
wallx.exe
blue mark "MEDIASERVER" resident
wallx.exe
base dots text "BASE IMAGE | WIN 98 SE UK | NOT FOR REGULAR USE | ~host~
~ip~"
wallx.exe
red big 1
wallx.exe
traffic fade big 2 dots text "MAIL SERVER | ~host~ - ~ip~"
And
two examples of multi monitor wallpapers with transparent text superimposed:
wallx.exe
monitor 0 load c:\software\wallpaper\an_evangelion.jpg monitor 1 load c:\software\wallpaper\an_eureka7_1.jpg
monitor all transparent big ~ip~ text "TEST | ~host~ ~ip~ "
wallx.exe
load c:\software\wallpaper\2h_mountain_lake.jpg dots transparent big ~desktop~
text "MONITOR ~desktop~ | ~timestamp~" fade
 29.3
Sweetspot
Under
development.
I'm
currently working on a new project called 'Sweetspot'. It's still very
much a secret :-)
-
Sweetspot
uses the g_spot resizing / 2D library. See g_spot and other stuff I'm working
on in action on
YouTube.
G-spot.
One
of Sweetspot's components is an include file called g_spot.pb. I have included
it as part of the Sweetspot download. (There's not much else in there right
now.)
Download
sweetspot.zip
and look for the folder g_spot in there. In it you will find the include
file, and a few examples. G-spot includes code to resize gadgets and windows
and to do some limited 2D object handling and drawing, panning and zooming.
It's a work in progress.
See
above for the links and examples.
 29.4
REval
Latest
version 1.06x.
REval
is a simple Regular Expression tool I often use to validate regular expressions
in my code. REval works very simple: type your regular expression in the
top bar, and type or paste the lines you want to test in the bottom box.
If the regular expression is a valid one a green square will light up,
and if any of the 'test subjects' qualify they will be hightlighted. That's
all there is to it.
 29.5
TDlib
Interested
in thermo dynamics? Well, I'm definitely not, but I needed some formulas
for my work. This file contains a number of collected routines, scavenged
from the web, and converted to PureBasic. All credits go to Schlatter /
Baker / Kuemmel / Strijk and many others, listed in the source. Any mistakes
are likely mine.
Criticasters
may notice that my conversion to PureBasic is anything but efficient, I've
just tried to stay as close as possible to the original Fortran code to
simplify debugging using the included examples of Schlatter and Baker.
And as I know close to nothing about Fortran and even less about thermo
dynamics you can see my problem... Use at your own risk.
The
full conversion is not entirely done, I think I've done 70% or so,
which included all the routines I needed. Feel free to work on the remainder
:-)
-
Download
tdlib.zip
(source code with some examples).
 29.6
RunALot
Latest
version: v0.05x.
Little
tool to open a set of URL's at once. I'm using this to hunt Ebay and Marktplaats
for bargains, and open a few of my favorite websites as well. Explanation
inside.
And here's
RunALot using the 'complex' set, and the resulting two browser windows
(yellow Ferrari's and wedding dresses, don't tell my therapist)...
 29.7
Wakiewakie
Latest
version: v1.08x.
Wakiewakie
(horrible name, I know) is a little program that is useful to HTPC owners
with client / server setups, laptop users connecting to their home server
over Wifi, and anybody else that needs to make sure a server is available
before connecting to it.
In
other words: it's a combination of find / ipconfig / ping / wol / ping.
People who need this know what that means.
What
does it do?
-
Make sure
the local (client) machine has a valid address
-
Ping some
always on device (typically a router)
-
Send a
WOL to a certain mac address (typically the network card of the machine
to wake up)
-
Ping the
server (to make sure it's awake)
-
Return
control to the user (or a batch file)
-
Create
a desktop shortcut with all options set
It's easier
than building a batch file, and looks better too :-)
How
does it look?
Great
:-)
|