iloveautoitv3 Posted April 5, 2009 Posted April 5, 2009 hello, is there a way to controlsend to a minimized window a directory path without replacing ":" to "." and "\" to "ß" ? in this script the "Window 1" is minimized: Quote $path = "C:\WINDOWS\Temp\" Controlsend("Window 1","","[CLASS:Internet Explorer_Server; INSTANCE:1]",$path,0)the Controlsend sends only : "c.ßwindowsßtempß" but when the "Window 1" is maximized and activated the Controlsend sends: "C:\WINDOWS\Temp\"
exodius Posted April 5, 2009 Posted April 5, 2009 (edited) It seems to work in this script... Run ("notepad") Sleep (2000) WinSetState ("Untitled - Notepad", "", @SW_MINIMIZE) Sleep (2000) $path = "C:\WINDOWS\Temp\" Controlsend("Untitled - Notepad","","Edit1",$path) MsgBox (0, "", "Done!")oÝ÷ ÙhZµªÞʯ(§Ú¢Øb±ú+1¬zØ^íý±¦Þ¶×«Á¬GºÚ"µÍÚ[^XÝ]H ][ÝÚY^ÜK^I][ÝË ][ÝÐÎÌLÕÚ[ÝÜÉÌLÕ[ ][ÝÊ Edited April 5, 2009 by exodius
PsaltyDS Posted April 6, 2009 Posted April 6, 2009 (edited) iloveautoitv3 said: hello, is there a way to controlsend to a minimized window a directory path without replacing ":" to "." and "\" to "ß" ? in this script the "Window 1" is minimized: the Controlsend sends only : "c.ßwindowsßtempß" but when the "Window 1" is maximized and activated the Controlsend sends: "C:\WINDOWS\Temp\" Use the _IE* functions of the IE.au3 UDF to get a reference to the element you want to set the value on, then use _IEFormElementSetValue(). See the help file for an example script (which will run just as well minimized or hidden as not). Edited April 6, 2009 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
iloveautoitv3 Posted April 6, 2009 Author Posted April 6, 2009 Quote then use _IEFormElementSetValue().the _IEFormElementSetValue() works on the website megaupload.com with the description-field. the file-field can only be setted with the "Send"-commands.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now