Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ensure correct user is logged on when running the macro
#1
I am a new user and this is my 1st post. I have a VB program that runs around the clock and wakes up around 11:30 PM every night to update a spreadsheet with bank information. As part of this app I utilize QM macros. It runs great except when my wife stays logged onto her account or she leaves it at the logon screen. You indicated you could help me modify a macro to ensure my ID can get logged onto to run the app. Thanks in advance for your help.


Code:
Copy      Help
---- Recorded 2/17/2014 11:57:37 AM ----
int w2=act(win("Chase Online - Logon - Windows Internet Explorer" "IEFrame"))
lef 766 231 w2 1 ;;Internet Explorer_Server 'https://chaseonline.chase.c...', editable text 'User ID Attention Window Ey...'
'"userid@"   ;; "userid@" Backspace
lef 753 245 w2 1 ;;Internet Explorer_Server 'https://chaseonline.chase.c...', editable text 'Password'
'"bat" password"  ;; "bat" Backspace "password"
lef 755 304 w2 1 ;;Internet Explorer_Server 'https://chaseonline.chase.c...', push button 'Log On'
wait 30 WT w2 "Chase Private Client - My Accounts - Windows Internet Explorer"
wait 1.0
rig 1528 301 w2 1 ;;Internet Explorer_Server 'https://chaseonline.chase.c...', pane 'Chase Private Client - My A...'
lef 81 275 wait(56 WV win("" "#32768")) 1 ;;menu item 'View Source'
men 2139 win("" "DocHostUIHandler Popup Tracker") ;;
int w3=wait(6 win("https://chaseonline.chase.com/MyAccounts.aspx - Original Source" "HTMLSOURCEVIEW"))
wait 1.0
lef 11 -10 w3 1 ;;menu item 'File'
lef 43 8 wait(7 WV win("" "#32768")) 1 ;;menu item 'HTML Source...[9]Ctrl+S'
men 5111 w3 ;;HTML Source...
int w4=wait(6 win("Save As" "#32770"))
'"Chase"        ;; "Chase"
lef 39 11 wait(5 WV win("" "Auto-Suggest Dropdown")) 1 ;;list, list item 'Chase.htm'
lef 465 449 w4 1 ;;push button 'Save'

----------------------------------------

BEGIN PROJECT
main_function  Macro26
exe_file  C:\LogonChase.exe
icon  <default>
manifest  $qm$\default.exe.manifest
flags  6
guid  {556A347B-3FC7-4B52-AB49-2B579671ADBD}
END PROJECT


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)