4nD1

Script Question

14 posts in this topic

Hello All,

 

Is it possibile to open Chrome with an Homepageadress,  then klick enter and fill the password automaticly with an script?

 

Hallo,

ist es möglich Chrome mit einer Homepageadresse zu öffnen, dann Enter zu klícken und ein Password einzugeben. Und das alles autmatisch über ein Script?

Share this post


Link to post
Share on other sites



#4 ·  Posted (edited)

Search for Chrome UDFs 

Edit - Look this - 

 

Edited by kcvinu

My Contributions

UDF Link Viewer   --- A tool to visit the links of some most important UDFs 

 Includer_2  ----- A tool to type the #include statement automatically 

 Digits To Date  ----- date from 3 integer values

PrintList ----- prints arrays into console for testing.

 Alert  ------ An alternative for MsgBox 

 MousePosition ------- A simple tooltip display of mouse position

GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function

Access_UDF  -------- An UDF for working with access database files. (.*accdb only)

 

Share this post


Link to post
Share on other sites

now i get an script but if i do WinWaitActivate i get an Error.

What other comand i can use for this?

i tryd it on Internet Explorer

Share this post


Link to post
Share on other sites

Screenshot form Error

Fehler_Script.JPG

Share this post


Link to post
Share on other sites

4nD1,

That dialog tells you the error, so what have you done to fix it?

If you are still stuck, then please post the code - see here how to do it.

M23

 


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Run('C:\Program Files (x86)\Internet Explorer\iexplore.exe')
MouseClick("left",330,44,2)
MouseMove(365,42)
MouseDown("left")
MouseMove(141,39)
MouseUp("left")
Send("{BACKSPACE}192.168.178.1{SHIFTDOWN}.{SHIFTUP}5800{ENTER}")
WinWaitActivate("VNC Viewer : Connection Details","Encryption:")
MouseClick("left",205,99,1)("VNC Authentication [No Encryption]","Username:")
WinWaitActivateSend("{SHIFTDOWN}P{SHIFTUP}assword{ENTER}")

On the Homepage its open an extra Window for Password. At this part the code dont work

Share this post


Link to post
Share on other sites

4nD1,

The error comes from this line:

MouseClick("left",205,99,1)("VNC Authentication [No Encryption]","Username:")

Why do you have the window name and text following the MouseClick command?

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

i delete the red letters but it dont work.

i record this, and if i do the script it dont work.

what other comand can i use for "WinWaitActivate" ?

Share this post


Link to post
Share on other sites

4nD1,

I do not use the recorder so I cannot really offer a lot of help. WinWaitActivate is not a standard AutoIt - perhaps if you were to try WinWaitActive in its place?

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

hm the problem of this script is the extra Window for the Password.

But with the window it dont work.

what can i do to fix the problem

Share this post


Link to post
Share on other sites

4nD1,

Given its function, it might well be a window that resists automation. I am afraid I can help no further.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

i fixed the code

i make 2 steps

WinWait
WinActivate

then it works

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now