I need use Perl script to start Wealth-lab pro with user name and password, since my StrategyMonitor has tasks for introday jobs.
I know how to start Wealth-lab using Perl, but do not know syntax for user name and password for the Weath-lab, if do not ask password, below code works:
QUOTE:
system("C:\\Program Files\\Fidelity Investments\\Wealth-Lab Pro 6\\WealthLabPro.exe");
But in my case, it asks enter password.
Please advise.
Thank you so much.
William
Size:
Color:
There is no parameter for setting account and password in WLP from command line. Authentication is performed via a dialog form window. Your best bet is to ask some Perl community on how to deal with this kind of thing.
But does it really have to be Perl? In Windows you can consider using more straightforward alternatives like...
1. PowerShell (built-in):
Use powershell to populate dialog box from another program2. VBScript (built-in):
Enter Data into Pop-Up WindowBoth scripting languages use SendKeys imported from Win32 API. And the Oscar goes to...
3. AutoIT (3rd party software):
ControlSend. This is 'the mother of all' automation scripts in Windows.
Size:
Color:
Thank you Eugene!
I will try out.
William
Size:
Color:
William, you're welcome. Also, Cone and yours truly as well as several Wealth-Lab community members use AutoIT for automation tasks. Just my $0.02.
Size:
Color:
Thanks for the tips, I will download AutoIT.
William
Size:
Color: