Ayres Posted March 8, 2005 Posted March 8, 2005 - Necessary to automatize the sending of an archive of some computers for a site in the Internet. How I can make this with the Autoit?
Ayres Posted March 8, 2005 Author Posted March 8, 2005 With patience and perseverance.Is there anything specific we can help you with?Lar.<{POST_SNAPBACK}>I execute in some computers distribuidos for you vary companies some processes. The resultant archive of these processes must be sent for my site. How I can use the Autoit to make upload automatic of these archives?
Ayres Posted March 8, 2005 Author Posted March 8, 2005 What are the manual steps that you do to accomplish this? Details are good.What is your native language? Perhaps someone who speaks your tongue may be able to help also, in case we have translation problems.Lar.<{POST_SNAPBACK}>Thanks for answering Larry. Today in each one of the companies an employee uses a ftp program to send to my site the resultant archive of the processing. It would like that this process was made automatically.
Alterego Posted March 8, 2005 Posted March 8, 2005 there's a couple versions of an FTP function floating around but I prefer to use curl. just drop it in your windows directoryhere's how you run it to upload to another site via ftp:RunWait(@Comspec & ' /c curl -T C:\blah.txt -u user:pass ftp://blah.com/public_html/') This dynamic web page is powered by AutoIt 3.
Ayres Posted March 8, 2005 Author Posted March 8, 2005 Thanks Larry! Problem solved. It could help me here with this another problem: I am needing to write a program to disactivate screensaver of the Windows and change the "Start Menu" to snall icons. Somebody could help me?
Ayres Posted March 8, 2005 Author Posted March 8, 2005 Disactivate ScreenSaver (i think)$SPI_SETSCREENSAVEACTIVE = 0x0011 $SPIF_UPDATEINIFILE = 0x0001 $SPIF_SENDWININICHANGE = 0x0002 DllCall("user32.dll","int","SystemParametersInfo",_ "int",$SPI_SETSCREENSAVEACTIVE,"int",0,"ptr",0,"int",_ BitOR($SPIF_UPDATEINIFILE,$SPIF_SENDWININICHANGE))still working on "small icon" thingLar.<{POST_SNAPBACK}>Very thanks !!!
Ayres Posted March 8, 2005 Author Posted March 8, 2005 crude workaround for "small icon" change...(language dependent?)Opt("WinWaitDelay",1) Opt("WinTitleMatchMode",4) ControlClick("classname=Shell_TrayWnd","","","right") ControlSend("classname=Shell_TrayWnd","","","r") WinWait("Taskbar and Start Menu Properties") $hwnd = WinGetHandle("Taskbar and Start Menu Properties") ControlSend($hwnd,"","Show &small icons in Start menu","{+}") ControlClick($hwnd,"","OK")<{POST_SNAPBACK}>Great Larry friend, very Thanks.I am adjusting scprit for the Portuguese.Last doubt of the day: how I discover through the AUTOIT the group the domain net of the computer?
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