Only the sounder.exe line works.Quote
desga2
This must work:
exec("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\MySecret.exe\" ".$_Snippet_SwitchM) ;
exec("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\dlock2.exe\" ".$_Snippet_SwitchD) ;
exec("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\sounder.exe\" ".$_Sound_Choice);
exec("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\MySecret.exe\" \"".$__M1."\" \"".$__M2."\" \"".$__M3."\" \"".$__M4."\" \"".$__M5."\" \"".$__M6."\"") ;
It comes out like this. I know the quotes for each item will not work. I am still trying to get rid of them but have variables.
C:\Program Files\k-meleon\Profiles\q6psu8b0.default\macros\Secur_Paste\MySecret.exe" "-e" "-n" "-p" "deyoung" "readme.txt" "readme.ecmI may have dropped leading and trailing quotes in setclipboard()

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ---------- Snippet.kmm
# ---------- Located in KM 1.5.3 ---------------
# ---------- code testing
#
# Dependencies : main.kmm
# Resources : -
# Preferences : -
# Version : -
# --------------------------------------------------------------------------------
_Snippet_RunCode{
$_Snippet_Choice = prompt("Enter 'E' to encrypt or 'D' to decrypt", "CHOICE");
if ($_Snippet_Choice == "E") { macros(_Snippet_Encrypt); }
if ($_Snippet_Choice == "D") { macros(_Snippet_Decrypt); }
}
_Snippet_Encrypt {
#$_Snippet_Crypt_Path=getfolder(UserMacroFolder)."\\Secur_Paste\\MySecret.exe";
$_Snippet_SwitchM1 = "-e -n -p "; # a space required between -p and the passphrase
$_Snippet_SwitchM2 = "DEYOUNG"; # must have quotes if includes spaces
$_Snippet_SwitchM3 = " readme.txt readme.ecm";
$_Snippet_SwitchM = $_Snippet_SwitchM1."\"".$_Snippet_SwitchM2."\"".$_Snippet_SwitchM3 ;
alert( $_Snippet_SwitchM , "$_Snippet_SwitchM DEBUG", INFO);
exec("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\MySecret.exe\" ".$_Snippet_SwitchM);
setclipboard("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\MySecret.exe\" ".$_Snippet_SwitchM);
## chord plays - this code works - executable name without extension
#exec("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\sounder\" ".$_Sound_Choice."");
#setclipboard("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\sounder\" ".$_Sound_Choice."");
## chord plays - this code works
#exec("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\sounder.exe\" ".$_Sound_Choice."");
#setclipboard("\"".getfolder(UserMacroFolder)."\\Secur_Paste\\sounder.exe\" ".$_Sound_Choice."");
}
_Snippet_Decrypt{
# only when encrypt works
}
_Snippet_BuildMenu{
# add another option to Favorites menu
setmenu("F&avorites",macro,"Snippet Testing",_Snippet_RunCode,3);
}
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#$OnStartup=$OnStartup."_Snippet_GetCrypt;";
$OnInit=$OnInit."_Snippet_BuildMenu;";
#$OnInit=$OnInit."_Snippet_SetAccels;";
$macroModules=$macroModules."Snippet;";
Quote
http://www.di-mgt.com.au/mysecret.html#file
If the name of the file or the folder contains spaces, enclose the name in double-quotes
MYSECRET "My Documents\myfile.txt" "My Documents\myfile.txt.mys"
[...]
$_MySecret_path="\"".getfolder(UserMacroFolder)."\\Secur_Paste\\MySecret.exe\" ";
$_file_input="readme.txt";
$_file_output="readme.ecm";
$_input_path=" \"".getfolder(UserMacroFolder)."\\Secur_Paste\\".$_file_input."\"";
$_output_path=" \"".getfolder(UserMacroFolder)."\\Secur_Paste\\".$_file_output."\"";
_Snippet_RunCode{
$_Snippet_Choice = prompt("Enter 'E' to encrypt or 'D' to decrypt", "CHOICE");
if ($_Snippet_Choice == "E") { macros(_Snippet_Encrypt); }
if ($_Snippet_Choice == "D") { macros(_Snippet_Decrypt); }
}
_Snippet_Encrypt {
#$_Snippet_Crypt_Path=getfolder(UserMacroFolder)."\\Secur_Paste\\MySecret.exe";
$_Snippet_SwitchM1 = "-e -n -p "; # a space required between -p and the passphrase
$_Snippet_SwitchM2 = "DEYOUNG"; # must have quotes if includes spaces
$_Snippet_SwitchM3 = $_input_path." ".$_output_path;
$_Snippet_SwitchM = $_Snippet_SwitchM1."\"".$_Snippet_SwitchM2."\"".$_Snippet_SwitchM3 ;
alert( $_Snippet_SwitchM , "$_Snippet_SwitchM DEBUG", INFO);
exec($_MySecret_path.$_Snippet_SwitchM);
setclipboard($_MySecret_path.$_Snippet_SwitchM);
[...]
K-Meleon in Spanish
K-Meleon in Spanish
Quote
mhf
Yes I know, I use Truecrypt and so on with backups to an external HD which is also encrypted, but try go getting your password from there if you want to log in on a forum or whatever...
Quote
panzer
Quote
mhf
Yes I know, I use Truecrypt and so on with backups to an external HD which is also encrypted, but try go getting your password from there if you want to log in on a forum or whatever...
Well, you can use this:
http://www.donationcoder.com/Software/Other/fSekrit/
http://www.freewarefiles.com/OfficEEnigma_program_50560.html
Quote
Lips
As a Local IE favorite:
- Click the Internet Explorer (iconInternet Explorer) script, download and store LiPs.js in a local folder, for example C:\Plugins. Now, rightclick this LiPs link, choose Add to Favorites, store it in the Links folder, and name it LiPs. If you saved the LiPs.js file in another folder than C:\Plugins, edit the LiPs favorite by rightclicking on it in the favorites menu, choose Properties, and change the path accordingly.
K-Meleon in Spanish
