Need advice on how to make each file in a folder open

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Thu Nov 16, 2006 4:13 am

Im watching the program try to open the files for the source directory
Last edited by peno123 on Thu Nov 16, 2006 4:26 am, edited 1 time in total.
Penolope

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Thu Nov 16, 2006 4:22 am

I am watching the actually filelist that is brought up and watching the program go down the list highlighting each passcard for 10 sec then moving to the next passcard..
The problem from what i can gather is that each passcard has two functions,
if you mouse over the passcard it says click to view it, then it shows all my saved info inside of (name) (adress) (website adress connected to the passcard) which is what the macro you made is doing.
But if you double click the same passcard it goes to the website and fills and submits that info.
Is there way to executefile twice on the same file in rapid sucession to simulate a double click?
Penolope

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Thu Nov 16, 2006 4:42 am

Do you know what application your PassCard files use when they access the internet? Are they using Internet Explorer? If they are not executing perhaps if we knew the application they use you could use the Run Program> function.

For now, out of curiousity, what happens if you add these two lines immediately following the execute file line?

Wait>0.5
Press Enter

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Thu Nov 16, 2006 4:52 am

.rfp files appear to belong to the roboform application.

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Thu Nov 16, 2006 5:02 am

I added the two lines of code and it didnt seem to have any effect at all.
Also i am using internet explorer when the passcards connect to the websites.
Also one of the things ive noticed over the last two days of trying to make this work is, if you try and select a file straight from the directory like the macro you made does , the button has two functions but if you create a shortcut to desktop , my documents ect.ect it doesnt
Penolope

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Thu Nov 16, 2006 5:08 am

Is there a way to get a screenshot of a normal window explorer page so i can post what the actuall program is doing?

Thanks in advance
P.S special thanks to JRL :lol:
Penolope

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Thu Nov 16, 2006 5:48 am

Been reading the RoboForm manual and this might work. If not sorry but Its time for bed.

Changed the executefile line to a run program line based on info from the RoboForm web manual.

Code: Select all

GetFileList>C:\Documents and Settings\Default\My Documents\My RoboForm Data\Default Profile\*.rfp,files
Separate>files,;,file_names
Let>k=0
Repeat>k
  add>k,1
  Let>value=file_names_%k%
  Run>Passcards.exe -l "%value%"
  Wait>10
  //OR wait for a window to close OR some other form of wait.
  //If this filetype opens in Internet Explorer you might or might not
  //need to close IE after each file is executed.
Until>k=file_names_count

MDL>All files processed

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Thu Nov 16, 2006 6:05 am

It didnt work but i thank you for trying.
Im getting the error message
Error Executing Passcards.exe "C:\Documents and Settings\Default\My Documents\My Roboform Data\Default Profile\zz.rfp" (2)
Penolope

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Thu Nov 16, 2006 6:10 am

The (2) at the end indicates the file was not found. You need to figure out the path to the location of the Passcards.exe file and add it to the run program line.

It will be something like c:\program files\roboform\

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Nov 16, 2006 4:11 pm

I am not familiar with passcard, but the error message you just reported does not match the line that JRL provided for you. He shows this:
Run>Passcards.exe -l "%value%"

Your error content does not show the -l parameter. Is that included in your script as he suggested?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

peno123
Newbie
Posts: 17
Joined: Thu Nov 16, 2006 12:23 am

Post by peno123 » Fri Nov 17, 2006 4:46 am

Just wanted to update those that have helped me with this so far.
I have got the basics of this script working by adding two pieces of code that I used the RECORD option and copy/paste to get.
Im not to sure how reliable the mousemove command is, but it was the only way i could figure out how to make this work.
The orginal program brings up the passcard and goes through each one every 10 sec , all I did was have the mouse move to LOGIN button on the passcard and click it.
I still havent solved a way to close the webpages after a certain length of time so it doesnt leave 100+ webpages open.



GetFileList>C:\Documents and Settings\Default\My Documents\My RoboForm Data\Default Profile\*.rfp,files
Separate>files,;,file_names
Let>k=0
Repeat>k
add>k,1
Let>value=file_names_%k%
ExecuteFile>%value%
MouseMove>885,410
LClick
Wait>10
//OR wait for a window to close OR some other form of wait.
//If this filetype opens in Internet Explorer you might or might not
//need to close IE after each file is executed.
Until>k=file_names_count

MDL>All files proceseds





Thanks to all who helped me so far
:D :D :D
Penolope

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts