Re: Workaround with Roboform
Posted by: JamesD
Date: July 13, 2009 08:15PM

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);

Only the sounder.exe line works.

I have even tried lines like this with each item a variable.
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.ecm
I may have dropped leading and trailing quotes in setclipboard()

In any case I have not had success with either encryption program.

Re: Workaround with Roboform
Posted by: john b
Date: July 15, 2009 02:31AM

I know you guys are going to think i'm some kind of div, but I am not a programmer or anything like that. I don't understand all this stuff, it sounds like double dutch to me. All I need is somebody to give me some laymans terms on how to use this auto-fill now that I have put it in. What do I put in the 'define auto-fill text/accelerator' bits?

I just want to know how to use this thing now that I've got it. I don't know if it has anything to do with it, but I am finding that since getting this, my k-meleon isn't filling in my current passwords and usernames for me, like for my email accounts and youtube etc. Is this because of the new auto-fill thing?

What I wanted originally was not just normal auto-fill but something I could enter all my email addresses, commonly used passwords and my address and things like that for whenever I am at a new site and need to fill in a form, to save me from having to keep typing it all out from scratch everytime. As you all know, sometimes you have to type emails and passwords out double, which does'nt help.


Sorry to keep bothering you all with this, but it is really appreciated, Thank You all.

Re: Workaround with Roboform
Posted by: disrupted
Date: July 15, 2009 03:22AM

ok, remove previous macro and download this one
http://kmext.sourceforge.net/macros/autofiller.kmm

save in kmeleon\macros folder

now you'll need to enter your values, open autofiller.kmm in notepad..

the first section of the macro is the one you\ll need to edit..it will look like this:

#edit these values according to your personal info

$__fullname="blah blue";
$__title="Herr.";
$__firstname="blah";
$__surname="blue";
$__middname="blab";
$__username1="blahblue";
$__username2="blueblah";
$__password="blueblue";
$__mothersmaiden="mama mia";
$__spousename="blahblee";
$__childname1="blah blue junior";
$__childname2="blee blee";
$__emailaddress1="blahblue@blue.com";
$__emailaddress2="blueblah@blah.com";
$__fulladdress="44 blue blah Rd, west blueshire, blueblah Republic";
$__address1="44 blue blah Rd";
$__address2="148 blah blah Rd";
$__city="blutopia";
$__postalcode="LS11 6DX";
$__county="blueshire";
$__country="blueblah Republic";
$__accountNo1="0123456789-9434334";
$__accountNo2="erwedd-456789-9434334";
$__socialsecNo="0123456789-43-3434-434";
$__passportNo1="0123456789-94346767334";
$__passportNo2="34343-0123456789-943436734";
$__passportNo3="3434-0123456789-9467734334";
$__homephone="+44 5645677";
$__officephone="+44 7577567";
$__mobile="+44 718-87654321";
$__facsimile="+44 88884321";

#end of edit values



edit all the red parts to match your personal info or the values you need to have available ( do not remove the double quotes)

save the file

now if you go to a website with input values..right click in the text input a context menu with the values you have made..select it and it will enter in the input field automatcially





Edited 1 time(s). Last edit at 03/13/2010 03:19PM by disrupted.

Re: Workaround with Roboform
Posted by: JamesD
Date: July 18, 2009 05:58PM

Has anyone used a command line encryption program from the KM macrolanguage? I have been trying to get MySecret http://www.di-mgt.com.au/mysecret.html to encrypt one file without any luck. I have created a folder named Secur_Paste in my user macro folder and placed the MySecret.exe and it Readme.txt files there. I have an almost completed application which will be of no use unless I can encrypt the data file. The following is not my application, but only a test script to find the correct way to build the exec() statement.

#  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;";



Re: Workaround with Roboform
Posted by: desga2
Date: July 18, 2009 06:49PM

This is your problem:

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"

- With your default exec() code:

G:\>"G:\K-Meleon153en-US_TEST\Profiles\gvfeedr2.default\
macros\Secur_Paste\MySecret.exe" -e -n -p "DEYOUNG" readme.txt readme.ecm
MySecret: Cannot find or open file 'readme.txt'

- If you use paths with double quotes in input and output files the macro work:

G:\>"G:\K-Meleon153en-US_TEST\Profiles\gvfeedr2.default\
macros\Secur_Paste\MySecret.exe" -e -n -p "DEYOUNG" "G:\
K-Meleon153en-US_TEST\Profiles\gvfeedr2.default\macros\Secur_Paste\readme.txt" "
G:\K-Meleon153en-US_TEST\Profiles\gvfeedr2.default\macro
s\Secur_Paste\readme.ecm"

In your code you must change to this:

[...]
$_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



Edited 4 time(s). Last edit at 07/18/2009 06:56PM by desga2.

Re: Workaround with Roboform
Posted by: JamesD
Date: July 18, 2009 08:15PM

@ desga2

YES! YES! YES! Using the full filespec works. Thanks ever so much.

Small question however. Some time ago, when I did FavRenAdd, I was told there was a 255 character limit on string passed using exec(). This string was 274. Has something changed about exec() ?

Re: Workaround with Roboform
Posted by: desga2
Date: July 19, 2009 03:08AM

Really the limit continue being MAX_PATH that is 256, but I think that folders between double quotes are translated in system to the short folder name type 8+3.
"Program Files"="Progra~7"

K-Meleon in Spanish

Re: Workaround with Roboform
Posted by: john b
Date: July 21, 2009 03:10PM

Thats the one, Disrupted. Thanks a million, That is working a treat.

P.s. james d would you mind starting your own threads as it is harder to see which are answers to my own questions when you hijack my thread with your own questions. thanks.

Re: Workaround with Roboform
Posted by: JamesD
Date: July 21, 2009 07:05PM

@ john b

I will start a new thread soon. It was your request that I am working on.

Re: Workaround with Roboform
Posted by: panzer
Date: July 21, 2009 07:42PM

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

Re: Workaround with Roboform
Posted by: mhf
Date: July 21, 2009 10:20PM

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

Thanks again Panzer but I know/use those too... I just wanted a little-bit safer store for passwords within KM !

Re: Workaround with Roboform
Posted by: panzer
Date: August 12, 2009 01:37PM

I do not want to open another topic, so i will ask this here:

Can LiPs (plugin that opens all linked movies and pictures in the same page, and adds easy image viewing) be used with Km?

I just want to open all pics at once on web page.



Edited 2 time(s). Last edit at 08/12/2009 01:40PM by panzer.

Re: Workaround with Roboform
Posted by: desga2
Date: August 13, 2009 03:18AM

You can try this (from your podted link):
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



Edited 1 time(s). Last edit at 08/13/2009 03:21AM by desga2.

Re: Workaround with Roboform
Posted by: mhf
Date: August 19, 2009 06:32PM

Thought I'd jump back into this thread with a comment about RoboForm's security.

The other day I was trying to find a password that I hadn't needed for a long time and realized that it was stored in RoboForm that I used to use with FF.

I didn't want to open FF - snooze - so I thought I'd have a look at RoboForm's folder in my file manager.

Well, would you believe it but I could open the Passcard editor and the Identity editor without entering my master password !!! surprised smiley

K-Meleon forum is powered by Phorum.