Login Scripts Script
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
-
- Posts: 8
- Joined: Sun Nov 06, 2011 12:48 am
Login Scripts Script
So I got another computer that I can get a working imacros from, and I now have a working script.
However, with the login am I able to save a list so the script logs into every account in that list, aand if so how do I incorperate it, as putting the login script on the last line woudnt allow it to function.
However, with the login am I able to save a list so the script logs into every account in that list, aand if so how do I incorperate it, as putting the login script on the last line woudnt allow it to function.
Re: Login Scripts Script
you need to put more detail about what you're trying to do, how are you logging in, what are you logging in to, how many users are you doing it with, do you want to do anything using iMacros after you've logged in etc.
-
- Posts: 8
- Joined: Sun Nov 06, 2011 12:48 am
Re: Login Scripts Script
you need to put more detail about what you're trying to do, how are you logging in, what are you logging in to, how many users are you doing it with, do you want to do anything using iMacros after you've logged in etc.
Trying to login, so the script can fix my repetitive tasks, then logout, login as a different user and do the same thing.
I'm hoping 100 logins, but instead of logging in manually isn't there a script that can store the data and login for me with all 100 of those?
Like I have this script:
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=http://www.google.com.au/#sclient=psy-a ... 50&bih=587
URL GOTO=www.dovogame.com
TAG POS=1 TYPE=A ATTR=TXT:Log<SP>In
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=ID:username CONTENT=*************.com
TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN
TAG POS=1 TYPE=A ATTR=TXT:Play<SP>Game
TAG POS=3 TYPE=A ATTR=TXT:play<SP>game
TAG POS=1 TYPE=H4 ATTR=ID:mod2
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=96 TYPE=SPAN ATTR=TXT:Enter
TAB T=2
FRAME F=0
TAG POS=2 TYPE=A ATTR=TXT:Annabelle's<SP>employment...
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... lt/sec.gif
TAG POS=1 TYPE=A ATTR=ID:sec3
TAG POS=1 TYPE=A ATTR=HREF:javascript:c.__OnSend('ajax_action.php?action=sec3&doaction=&UserId=0&CompanyId=0&EventSort=0&page=19','',c.__func_comm_list,'sec3')
TAG POS=1 TYPE=BUTTON ATTR=ID:button_sec_Read
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... t/cofc.gif
TAG POS=1 TYPE=BUTTON ATTR=TXT:Get<SP>Allowance
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... /thing.gif
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:firstShop109
TAG POS=1 TYPE=BUTTON ATTR=ID:upgrade
TAG POS=1 TYPE=BUTTON ATTR=ID:upgradeCmd
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=DIV ATTR=ID:selectofAllShopSel
TAG POS=1 TYPE=LI ATTR=ID:4
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:shopform ATTR=NAME:chkallShopStore CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:purchase
TAG POS=1 TYPE=BUTTON ATTR=ID:systemGoods
TAG POS=1 TYPE=BUTTON ATTR=ID:purchaseBtn5
TAG POS=1 TYPE=BUTTON ATTR=ID:transportBtn3
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=A ATTR=ID:thing
TAG POS=1 TYPE=BUTTON ATTR=ID:jobName10
TAG POS=3 TYPE=BUTTON ATTR=TXT:Execute
I was hopng to add a login thing where it would do this routine, but with 100 different users.
Trying to login, so the script can fix my repetitive tasks, then logout, login as a different user and do the same thing.
I'm hoping 100 logins, but instead of logging in manually isn't there a script that can store the data and login for me with all 100 of those?
Like I have this script:
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=http://www.google.com.au/#sclient=psy-a ... 50&bih=587
URL GOTO=www.dovogame.com
TAG POS=1 TYPE=A ATTR=TXT:Log<SP>In
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=ID:username CONTENT=*************.com
TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN
TAG POS=1 TYPE=A ATTR=TXT:Play<SP>Game
TAG POS=3 TYPE=A ATTR=TXT:play<SP>game
TAG POS=1 TYPE=H4 ATTR=ID:mod2
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=96 TYPE=SPAN ATTR=TXT:Enter
TAB T=2
FRAME F=0
TAG POS=2 TYPE=A ATTR=TXT:Annabelle's<SP>employment...
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... lt/sec.gif
TAG POS=1 TYPE=A ATTR=ID:sec3
TAG POS=1 TYPE=A ATTR=HREF:javascript:c.__OnSend('ajax_action.php?action=sec3&doaction=&UserId=0&CompanyId=0&EventSort=0&page=19','',c.__func_comm_list,'sec3')
TAG POS=1 TYPE=BUTTON ATTR=ID:button_sec_Read
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... t/cofc.gif
TAG POS=1 TYPE=BUTTON ATTR=TXT:Get<SP>Allowance
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... /thing.gif
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:firstShop109
TAG POS=1 TYPE=BUTTON ATTR=ID:upgrade
TAG POS=1 TYPE=BUTTON ATTR=ID:upgradeCmd
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=DIV ATTR=ID:selectofAllShopSel
TAG POS=1 TYPE=LI ATTR=ID:4
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:shopform ATTR=NAME:chkallShopStore CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:purchase
TAG POS=1 TYPE=BUTTON ATTR=ID:systemGoods
TAG POS=1 TYPE=BUTTON ATTR=ID:purchaseBtn5
TAG POS=1 TYPE=BUTTON ATTR=ID:transportBtn3
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=A ATTR=ID:thing
TAG POS=1 TYPE=BUTTON ATTR=ID:jobName10
TAG POS=3 TYPE=BUTTON ATTR=TXT:Execute
I was hopng to add a login thing where it would do this routine, but with 100 different users.
Re: Login Scripts Script
have a look at this.
http://wiki.imacros.net/Form_Filling#Data_Input
http://wiki.imacros.net/Form_Filling#Data_Input
-
- Posts: 8
- Joined: Sun Nov 06, 2011 12:48 am
Re: Login Scripts Script
Dont think thats it, I need one like saves the logins on a notepad. and logs in using the listed logs.
-
- Posts: 8
- Joined: Sun Nov 06, 2011 12:48 am
Re: Login Scripts Script
Well I see the mods logged in and helped other threads.
Could anyone copy paste the script needed?
Could anyone copy paste the script needed?
Re: Login Scripts Script
so you want to read the user names and password out from a text file?
did you actually read the link i posted? thats has exactly what you need to do. you need to look at uploading from a csv.
did you actually read the link i posted? thats has exactly what you need to do. you need to look at uploading from a csv.
-
- Posts: 8
- Joined: Sun Nov 06, 2011 12:48 am
Re: Login Scripts Script
I did, Im just confused.
Because if I put this
open database
set rs = CreateObject("ADODB.Connection")
rs.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" _
& mypath & "IIM-TEST-SUBMIT.MDB")
' use SQL to select information
sql = "select * from table1"
set rs = rs.Execute(sql)
' start iMacros
set iim1= CreateObject ("iMacros")
iret = iim1.iimInit
iret = iim1.iimDisplay("Submitting Data from MS ACCESS")
' loop through result dataset
do until rs.eof
'Set the variable
iret = iim1.iimSet("FNAME", rs.fields(0))
iret = iim1.iimSet("LNAME", rs.fields(1))
iret = iim1.iimSet("ADDRESS", rs.fields(2))
iret = iim1.iimSet("CITY", rs.fields(3))
iret = iim1.iimSet("ZIP", rs.fields(4))
iret = iim1.iimSet("STATE-ID", rs.fields(5))
iret = iim1.iimSet("COUNTRY-ID", rs.fields(6))
iret = iim1.iimSet("EMAIL", rs.fields(7))
'Run the macro
'Note: This is the SAME macro, as in the FILE-2-WEB-METHOD2.VBS example script!!!
iret = iim1.iimPlay("wsh-submit-2-web")
If iret < 0 Then
MsgBox iim1.iimGetLastError()
End If
rs.movenext
loop
iret = iim1.iimDisplay("Done!")
iret = iim1.iimExit
WScript.Quit(0)
Into this,
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=http://www.google.com.au/#sclient=psy-a ... 50&bih=587
URL GOTO=www.dovogame.com
TAG POS=1 TYPE=A ATTR=TXT:Log<SP>In
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=ID:username CONTENT=*************.com
TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN
TAG POS=1 TYPE=A ATTR=TXT:Play<SP>Game
TAG POS=3 TYPE=A ATTR=TXT:play<SP>game
TAG POS=1 TYPE=H4 ATTR=ID:mod2
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=96 TYPE=SPAN ATTR=TXT:Enter
TAB T=2
FRAME F=0
TAG POS=2 TYPE=A ATTR=TXT:Annabelle's<SP>employment...
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... lt/sec.gif
TAG POS=1 TYPE=A ATTR=ID:sec3
TAG POS=1 TYPE=A ATTR=HREF:javascript:c.__OnSend('ajax_action.php?action=sec3&doaction=&UserId=0&CompanyId=0&EventSort=0&page=19','',c.__func_comm_list,'sec3')
TAG POS=1 TYPE=BUTTON ATTR=ID:button_sec_Read
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... t/cofc.gif
TAG POS=1 TYPE=BUTTON ATTR=TXT:Get<SP>Allowance
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... /thing.gif
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:firstShop109
TAG POS=1 TYPE=BUTTON ATTR=ID:upgrade
TAG POS=1 TYPE=BUTTON ATTR=ID:upgradeCmd
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=DIV ATTR=ID:selectofAllShopSel
TAG POS=1 TYPE=LI ATTR=ID:4
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:shopform ATTR=NAME:chkallShopStore CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:purchase
TAG POS=1 TYPE=BUTTON ATTR=ID:systemGoods
TAG POS=1 TYPE=BUTTON ATTR=ID:purchaseBtn5
TAG POS=1 TYPE=BUTTON ATTR=ID:transportBtn3
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=A ATTR=ID:thing
TAG POS=1 TYPE=BUTTON ATTR=ID:jobName10
TAG POS=3 TYPE=BUTTON ATTR=TXT:Execute
It looks like this..
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=http://www.google.com.au/#sclient=psy-a ... 50&bih=587
URL GOTO=www.dovogame.com
TAG POS=1 TYPE=A ATTR=TXT:Log<SP>In
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=ID:username CONTENT=*************.com
TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN
TAG POS=1 TYPE=A ATTR=TXT:Play<SP>Game
TAG POS=3 TYPE=A ATTR=TXT:play<SP>game
TAG POS=1 TYPE=H4 ATTR=ID:mod2
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=96 TYPE=SPAN ATTR=TXT:Enter
TAB T=2
FRAME F=0
TAG POS=2 TYPE=A ATTR=TXT:Annabelle's<SP>employment...
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... lt/sec.gif
TAG POS=1 TYPE=A ATTR=ID:sec3
TAG POS=1 TYPE=A ATTR=HREF:javascript:c.__OnSend('ajax_action.php?action=sec3&doaction=&UserId=0&CompanyId=0&EventSort=0&page=19','',c.__func_comm_list,'sec3')
TAG POS=1 TYPE=BUTTON ATTR=ID:button_sec_Read
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... t/cofc.gif
TAG POS=1 TYPE=BUTTON ATTR=TXT:Get<SP>Allowance
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... /thing.gif
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:firstShop109
TAG POS=1 TYPE=BUTTON ATTR=ID:upgrade
TAG POS=1 TYPE=BUTTON ATTR=ID:upgradeCmd
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=DIV ATTR=ID:selectofAllShopSel
TAG POS=1 TYPE=LI ATTR=ID:4
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:shopform ATTR=NAME:chkallShopStore CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:purchase
TAG POS=1 TYPE=BUTTON ATTR=ID:systemGoods
TAG POS=1 TYPE=BUTTON ATTR=ID:purchaseBtn5
TAG POS=1 TYPE=BUTTON ATTR=ID:transportBtn3
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=A ATTR=ID:thing
TAG POS=1 TYPE=BUTTON ATTR=ID:jobName10
TAG POS=3 TYPE=BUTTON ATTR=TXT:Execute
open database
set rs = CreateObject("ADODB.Connection")
rs.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" _
& mypath & "IIM-TEST-SUBMIT.MDB")
' use SQL to select information
sql = "select * from table1"
set rs = rs.Execute(sql)
' start iMacros
set iim1= CreateObject ("iMacros")
iret = iim1.iimInit
iret = iim1.iimDisplay("Submitting Data from MS ACCESS")
' loop through result dataset
do until rs.eof
'Set the variable
iret = iim1.iimSet("FNAME", rs.fields(0))
iret = iim1.iimSet("LNAME", rs.fields(1))
iret = iim1.iimSet("ADDRESS", rs.fields(2))
iret = iim1.iimSet("CITY", rs.fields(3))
iret = iim1.iimSet("ZIP", rs.fields(4))
iret = iim1.iimSet("STATE-ID", rs.fields(5))
iret = iim1.iimSet("COUNTRY-ID", rs.fields(6))
iret = iim1.iimSet("EMAIL", rs.fields(7))
'Run the macro
'Note: This is the SAME macro, as in the FILE-2-WEB-METHOD2.VBS example script!!!
iret = iim1.iimPlay("wsh-submit-2-web")
If iret < 0 Then
MsgBox iim1.iimGetLastError()
End If
rs.movenext
loop
iret = iim1.iimDisplay("Done!")
iret = iim1.iimExit
WScript.Quit(0)
Im not sure how exactly im meant to put them together.
Putting it on top of the other is a fail..
Because if I put this
open database
set rs = CreateObject("ADODB.Connection")
rs.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" _
& mypath & "IIM-TEST-SUBMIT.MDB")
' use SQL to select information
sql = "select * from table1"
set rs = rs.Execute(sql)
' start iMacros
set iim1= CreateObject ("iMacros")
iret = iim1.iimInit
iret = iim1.iimDisplay("Submitting Data from MS ACCESS")
' loop through result dataset
do until rs.eof
'Set the variable
iret = iim1.iimSet("FNAME", rs.fields(0))
iret = iim1.iimSet("LNAME", rs.fields(1))
iret = iim1.iimSet("ADDRESS", rs.fields(2))
iret = iim1.iimSet("CITY", rs.fields(3))
iret = iim1.iimSet("ZIP", rs.fields(4))
iret = iim1.iimSet("STATE-ID", rs.fields(5))
iret = iim1.iimSet("COUNTRY-ID", rs.fields(6))
iret = iim1.iimSet("EMAIL", rs.fields(7))
'Run the macro
'Note: This is the SAME macro, as in the FILE-2-WEB-METHOD2.VBS example script!!!
iret = iim1.iimPlay("wsh-submit-2-web")
If iret < 0 Then
MsgBox iim1.iimGetLastError()
End If
rs.movenext
loop
iret = iim1.iimDisplay("Done!")
iret = iim1.iimExit
WScript.Quit(0)
Into this,
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=http://www.google.com.au/#sclient=psy-a ... 50&bih=587
URL GOTO=www.dovogame.com
TAG POS=1 TYPE=A ATTR=TXT:Log<SP>In
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=ID:username CONTENT=*************.com
TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN
TAG POS=1 TYPE=A ATTR=TXT:Play<SP>Game
TAG POS=3 TYPE=A ATTR=TXT:play<SP>game
TAG POS=1 TYPE=H4 ATTR=ID:mod2
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=96 TYPE=SPAN ATTR=TXT:Enter
TAB T=2
FRAME F=0
TAG POS=2 TYPE=A ATTR=TXT:Annabelle's<SP>employment...
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... lt/sec.gif
TAG POS=1 TYPE=A ATTR=ID:sec3
TAG POS=1 TYPE=A ATTR=HREF:javascript:c.__OnSend('ajax_action.php?action=sec3&doaction=&UserId=0&CompanyId=0&EventSort=0&page=19','',c.__func_comm_list,'sec3')
TAG POS=1 TYPE=BUTTON ATTR=ID:button_sec_Read
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... t/cofc.gif
TAG POS=1 TYPE=BUTTON ATTR=TXT:Get<SP>Allowance
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... /thing.gif
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:firstShop109
TAG POS=1 TYPE=BUTTON ATTR=ID:upgrade
TAG POS=1 TYPE=BUTTON ATTR=ID:upgradeCmd
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=DIV ATTR=ID:selectofAllShopSel
TAG POS=1 TYPE=LI ATTR=ID:4
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:shopform ATTR=NAME:chkallShopStore CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:purchase
TAG POS=1 TYPE=BUTTON ATTR=ID:systemGoods
TAG POS=1 TYPE=BUTTON ATTR=ID:purchaseBtn5
TAG POS=1 TYPE=BUTTON ATTR=ID:transportBtn3
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=A ATTR=ID:thing
TAG POS=1 TYPE=BUTTON ATTR=ID:jobName10
TAG POS=3 TYPE=BUTTON ATTR=TXT:Execute
It looks like this..
VERSION BUILD=7300701 RECORDER=FX
TAB T=1
URL GOTO=http://www.google.com.au/#sclient=psy-a ... 50&bih=587
URL GOTO=www.dovogame.com
TAG POS=1 TYPE=A ATTR=TXT:Log<SP>In
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form1 ATTR=ID:username CONTENT=*************.com
TAG POS=1 TYPE=BUTTON ATTR=TXT:LOGIN
TAG POS=1 TYPE=A ATTR=TXT:Play<SP>Game
TAG POS=3 TYPE=A ATTR=TXT:play<SP>game
TAG POS=1 TYPE=H4 ATTR=ID:mod2
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=2 TYPE=DIV ATTR=CLASS:jScrollPaneTrack
TAG POS=96 TYPE=SPAN ATTR=TXT:Enter
TAB T=2
FRAME F=0
TAG POS=2 TYPE=A ATTR=TXT:Annabelle's<SP>employment...
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... lt/sec.gif
TAG POS=1 TYPE=A ATTR=ID:sec3
TAG POS=1 TYPE=A ATTR=HREF:javascript:c.__OnSend('ajax_action.php?action=sec3&doaction=&UserId=0&CompanyId=0&EventSort=0&page=19','',c.__func_comm_list,'sec3')
TAG POS=1 TYPE=BUTTON ATTR=ID:button_sec_Read
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... t/cofc.gif
TAG POS=1 TYPE=BUTTON ATTR=TXT:Get<SP>Allowance
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=IMG ATTR=SRC:http://img1.bto.dovogame.com/gamebto//i ... /thing.gif
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=A ATTR=ID:firstShop109
TAG POS=1 TYPE=BUTTON ATTR=ID:upgrade
TAG POS=1 TYPE=BUTTON ATTR=ID:upgradeCmd
TAG POS=1 TYPE=A ATTR=ID:thing2
TAG POS=1 TYPE=DIV ATTR=ID:selectofAllShopSel
TAG POS=1 TYPE=LI ATTR=ID:4
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:shopform ATTR=NAME:chkallShopStore CONTENT=YES
TAG POS=1 TYPE=BUTTON ATTR=ID:purchase
TAG POS=1 TYPE=BUTTON ATTR=ID:systemGoods
TAG POS=1 TYPE=BUTTON ATTR=ID:purchaseBtn5
TAG POS=1 TYPE=BUTTON ATTR=ID:transportBtn3
TAG POS=1 TYPE=BUTTON ATTR=ID:okKey
TAG POS=1 TYPE=A ATTR=ID:thing
TAG POS=1 TYPE=BUTTON ATTR=ID:jobName10
TAG POS=3 TYPE=BUTTON ATTR=TXT:Execute
open database
set rs = CreateObject("ADODB.Connection")
rs.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" _
& mypath & "IIM-TEST-SUBMIT.MDB")
' use SQL to select information
sql = "select * from table1"
set rs = rs.Execute(sql)
' start iMacros
set iim1= CreateObject ("iMacros")
iret = iim1.iimInit
iret = iim1.iimDisplay("Submitting Data from MS ACCESS")
' loop through result dataset
do until rs.eof
'Set the variable
iret = iim1.iimSet("FNAME", rs.fields(0))
iret = iim1.iimSet("LNAME", rs.fields(1))
iret = iim1.iimSet("ADDRESS", rs.fields(2))
iret = iim1.iimSet("CITY", rs.fields(3))
iret = iim1.iimSet("ZIP", rs.fields(4))
iret = iim1.iimSet("STATE-ID", rs.fields(5))
iret = iim1.iimSet("COUNTRY-ID", rs.fields(6))
iret = iim1.iimSet("EMAIL", rs.fields(7))
'Run the macro
'Note: This is the SAME macro, as in the FILE-2-WEB-METHOD2.VBS example script!!!
iret = iim1.iimPlay("wsh-submit-2-web")
If iret < 0 Then
MsgBox iim1.iimGetLastError()
End If
rs.movenext
loop
iret = iim1.iimDisplay("Done!")
iret = iim1.iimExit
WScript.Quit(0)
Im not sure how exactly im meant to put them together.
Putting it on top of the other is a fail..
Re: Login Scripts Script
hmm im reading all of this and i have to wonder why someone isnt helping fixthisshpp more, im surely more help could be done to get him/her what is being requested? i would help if i could, but it is outside my realm of knowledge, so someone please help him/her