I'm trying to get some properties from a german Internet Explorer on a Windows XP computer.
The remarked line does not work properly and also the GetCheckBox command get "-1" as a result. Have someone some ideas what's wrong in the following script?
RunProgram>rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,@0,4
Wait>2
SetFocus>Eigenschaften von Internet
#PushButton>Eigenschaften von Internet,Einste&llungen
Press ALT
Send Character/Text>l
Release ALT
GetCheckBox>Einstellungen*,A&utomatische Suche der Einstellungen,res
Let>NUM=Title1
If>res=1,checked,unchecked
Label>checked
Message>The checkbox %NUM% is checked!(%res%)
Goto>end
Label>unchecked
Message>The checkbox %NUM% is not checked!(%res%)
Pushbutton and GetCheckBox problems
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Can you provide a screenshot showing the screen with the checkbox? If the checkbox is on a web page this won't work because the checkbox is a DHTML element not a windowed control.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
If you are referring to the last Tab in the Internet Options dialog the problem is that this is a treeview control, with embedded check boxes. These are not regular checkbox controls. Therefore GetCheckBox will not work here.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Yes, it is an dialog with Internet Options.
How about the Pushbutton command in the other MS Internet Explorer dialog, I think that is named "LAN Settings..." under "Connection" in the english version?
I also remarqued that by manual clicking no buttons have underlines in the text, but the same dialog started with Macro Scheduler display the underlines in the text.
How about the Pushbutton command in the other MS Internet Explorer dialog, I think that is named "LAN Settings..." under "Connection" in the english version?
I also remarqued that by manual clicking no buttons have underlines in the text, but the same dialog started with Macro Scheduler display the underlines in the text.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi,
Yes, PushButton works fine as that's a regular button:
PushButton>Internet Options,&LAN Settings...
Yes, PushButton works fine as that's a regular button:
PushButton>Internet Options,&LAN Settings...
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?