PictureLoKiT v1.0 Howto - Using LokPic commands

Selfbondage software and other kinky developments

Moderators: Riddle, Shannon SteelSlave

Post Reply
User avatar
LoKiT
Retired Moderator
Posts: 372
Joined: 12 Apr 2010, 01:07

PictureLoKiT v1.0 Howto - Using LokPic commands

Post by LoKiT »

Lokpic commands are build in to PictureLoKiT for people who want to add the programs features to there script, CM or own program. These can be run from the Command Prompt using the PictureLoKiT.exe with a trailing command. Instead of starting the program GUI the program checks and executes the command required. These commands can be included in the internal bat scripts.

For example the Splash command will fade a borderless picture into the centre of the screen for 5 seconds...

Code: Select all

C:\Documents and Settings\LoKiT>"c:\Program Files\PictureLoKiT\PictureLoKiT.exe" "splash=c:\Documents and Settings\LoKiT\Desktop\test.jpg" 5
Simple commands:
backup = Makes a backup of the entire Piclokit folder to a named file with full path. ie; "...PictureLoKiT.exe" backup "X:\Backups\backup_filename"
restore = Restores the backup file to the Piclokit folder ie; "...PictureLoKiT.exe" restore "X:\Backups\backup_filename"
setup = Sets up a session without using the GUI. An example to hide a pic for 120 seconds from now ie [/color] ie; "...PictureLoKiT.exe" setup "X:\Backups\releasepic.jpg" 120
piclok = Restore the release picture set by setup command.
play = Plays a sound (wav, flac or ogg supported) ie "...PictureLoKiT.exe" play="c:\WINDOWS\Media\tada.wav"
eject = Ejects the main or 1st CD/DVD tray ie "...PictureLoKiT.exe" eject
eject2 = Ejects the main or 2nd CD/DVD tray ie "...PictureLoKiT.exe" eject2
check = Aborts starting PictureLoKiT if a session is in progress "...PictureLoKiT.exe" check
user = Changes the folder location uses for the Piclokit folder ie "...PictureLoKiT.exe" user="X:\My Data stuff\here"
exec = Starts a program when PictureLoKiT starts. ie; "...PictureLoKiT.exe" user="C:\WINDOWS\system32\sol.exe"
splash = Fades in a borderless picture into the centre of the screen for a number of secs or till a mouse button is pressed. ie; "...
PictureLoKiT.exe" splash="C:\where\ever\mypic.jpg" 10

display = Displays a aull screen aspect resized picture into the centre of the screen. Smaller pictures made larger and larger pics resized to fit ie; "...
PictureLoKiT.exe" display="C:\where\ever\mypic.jpg" 10


Conditional commands: Used for executing a program during a session
checktrue = Execute the command if the session is still in progress ie; "...PictureLoKiT.exe" checktrue="C:\WINDOWS\system32\sol.exe"
checkfalse = Execute the command if the session is completed ie; "...PictureLoKiT.exe" checktrue="C:\WINDOWS\system32\sol.exe"

Phew, thats it folks, have fun
Post Reply