View Single Post
  #3 (permalink)  
Old 03-29-2008, 08:01 AM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Quote:
Originally Posted by forumsupport View Post
Hello,

If you could get the username from home page (if it is displayed on homepage) then you can create a window trigger (When window opens) on home page window. What you can do is create task that will extract username from home page. Now, create trigger for this task. Please follow below mentioned steps,
Select your task from Task list.
Select the Type as Window.
From Window Title drop down, specify the Title of homepage window. If you do not see the title, then open the webpage and click on Refresh.
From the Action, select 'When window opens' & save the trigger.
Every time the webpage window opens, it will launch your task i.e. will extract username.

Alternatively, you can automate the login process. What you can do is, create task that will open the login page and then insert Pause command to pause the task so that user can enter username and password. After pause, insert Extract data command to extract username from respective textbox and then insert command to click on 'Login' button. So, the user doesn't have to click on Login button, he just have to enter Username, Password and click on 'Resume' button. The text format of commands would appear as follows,

1. Open "http://www.mail.yahoo.com"
2. Pause
3. Extract data from Control type : Textbox, Webpage : https://login.yahoo.com/config/login_verify2?&.src=ym to $Prompt-Assignment$
4. Click on 'Sign In' button in the webpage 'Yahoo! Mail: The best web-based email!'

Hope that helps.
Unfortunately, the USER LOGIN ID does NOT appear on the home page.
Instead, a more friendly "welcome Firstname Lastname" appears based on the values in the user profile.

I was hoping for a control that would be triggered when the login page is being closed...
I'll go with a separate interactive "prompt box" using the VB script that you provided to allow for more characters than the 100 character default.

thanks!
Phil
Reply With Quote