hmc
Active Member
Hi guys,
I'd like to write a script, which starts TrueCrypt with some parameters, so I can assign a keyboard shortcut to that script, and let that keyboard shortcut's script pass the container path as well maybe other options to the truecrypt binary, in order to circumvent the clumsy TrueCrypt GUI.
I have done that on Windows using AutoHotKey already this way, ought to be possible in Linux, too::
(Truecrypt asks for a password in a small simple password dialog, when called this way for mounting, at least on Windows).
But how can I pass command line arguments to the binary inside the PND file, when started using pnd_run?
I didn't find any documentation describing this.
Thanks,
Daniel
I'd like to write a script, which starts TrueCrypt with some parameters, so I can assign a keyboard shortcut to that script, and let that keyboard shortcut's script pass the container path as well maybe other options to the truecrypt binary, in order to circumvent the clumsy TrueCrypt GUI.
I have done that on Windows using AutoHotKey already this way, ought to be possible in Linux, too::
Code:
// Sh-Win-C Mount / Sh-Win-X Unmount Truecrypt volume on drive B: (Samba share)
+#c::
Run C:\Programme\TrueCrypt\TrueCrypt.exe /v b:\encrypted.tc /lz /q /e
return
+#x::
Run C:\Programme\TrueCrypt\TrueCrypt.exe /q /dz
SplashTextOn, 200, 100, TrueCrypt Unmount, Truecrypt volume unmounted.
sleep 3000
SplashTextOff
return
(Truecrypt asks for a password in a small simple password dialog, when called this way for mounting, at least on Windows).
But how can I pass command line arguments to the binary inside the PND file, when started using pnd_run?
I didn't find any documentation describing this.
Thanks,
Daniel