Command Lines
How do I use Command
Lines?
The majority of my tools use a "command line". This is a way of
sending instructions to a program when it is run.
For example, on your pc, pressing the start button, and then
run and typing notepad vj.txt will start notepad and
try to make it open a file called vj.txt. Here,
vj.txt is your command line.
On your PDA, there are programs that will let you run programs
like this, but it is quite impractical every time you want to
send an sms etc. So, the more convenient way is to create
"shortcuts" to the original tool, which will let you specify
additional parameters to run with the
tool.
An example using VJSMS
The first thing you will need is a good file
explorer.
I use gsfinder+, which is free, but you may
already have Resco or Total Commander etc.
Using this app, navigate to where VJSMS.exe is installed on
your system.
It will be something like \program files\vijay555\ if you used
the default installation.
The location of VJSMS.exe on your phone
is called its "path".
From there, click once on the file called VJSMS.exe.
Then go to the edit menu, and choose
"Copy".
Next, choose the menu again and choose "paste
shortcut" (these will have different names in
different file explorers, but the concept is the same).
You will now have a file called something like
VJSMS.exe.lnk. Click once on this file.
Now you want to see the "properties" of that
file.
On gsfinder choose the file menu, and then properties.
Now towards the bottom of the screen click the
"shortcut" tab.
From here you can edit the details of what you want the file to
do when it's run - ie the "command line".
Notice that if you just run VJSMS without a command line, it
will display helpful information.
So running VJSMS will show that specifying a command line:
VJSMS "123" - body "Thanks Vijay"
will send "Thanks Vijay" to number 123.
To do this with a shortcut, in the "properties" tab for the
shortcut, just put
"123" - body "Thanks Vijay"
after the name of the file.
NOTE: The spaces
and speech marks are all important, so you must give some
thought to the specified "syntax" (ie the
precise options that the program understands).
So, go to properties, and you'll see the name of the file
"...blah blah\VJSMS.exe" in the middle of the screen [blah blah
depends on where you installed the program]
Change this to
"...blah blah\VJSMS.exe" "123" - body "Thanks Vijay"
Try running the shortcut to test it.
It sounds like a long process but you will be able to do it in
seconds with experience.
Once you understand this concept, make your own shortcuts and
put them in your Start Menu etc.
Many people like to use a Today Plugin to launch shortcuts, as
on my screenshots.
I recommend claunch. It's the best for
customisation in my opinion.
This plugin will let you specify a command line, as above, so
prepare them in gsfinder, test them, and then just copy and
paste the command line over to claunch to have
easy access to your shortcuts.
V