EliasXP Posted January 25, 2005 Share Posted January 25, 2005 hello, I need help with autoit, My windows spy shows this: Press CTRL-ALT-F to pause the display.>>>>>>>>>>>> Window Title <<<<<<<<<<<<<NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard( classname=#32770 )>>>>>>>>>>> Window Dimensions <<<<<<<<<<<left: 389 top: 317 width: 503 height: 390>>>>>>>>>>> Mouse Position <<<<<<<<<<<On Desktop: x: 422 y: 616In Window: x: 33 y: 299>>>>>>>>>>> Pixel Color Under Mouse (RGB) <<<<<<<<<<<Hex: 0xFFFFFF Dec: 16777215(Obselete BGR Mode - Hex: 0xFFFFFF Dec: 16777215)>>>>>>>>>>> Last Control Under Mouse <<<<<<<<<<<Class: Button1Text: I &accept the terms in the license agreement>>>>>>>>>>> Status Bar Text <<<<<<<<<<<>>>>>>>>>>> Visible Window Text <<<<<<<<<<<License For Customer Use of NVIDIA SoftwareIMPORTANT NOTICE -- READ CAREFULLY: This License For Customer Use ofNVIDIA Software ("LICENSE") is the agreement which governs use of thesoftware of NVIDIA Corporation and its subsidiaries ("NVIDIA")downloadable herefrom, including computer software and associatedprinted materials ("SOFTWARE"). By downloading, installing, copying,or otherwise using the SOFTWARE, you agree to be bound by the terms ofthis LICENSE. If you do not agree to the terms of this LICENSE, do notdownload the SOFTWARE.RECITALSUse of NVIDIA's products requires three elements: the SOFTWARE, thehardware on a graphics controller board, and a personal computer. TheSOFTWARE is protected by copyright laws and international copyrighttreaties, as well as other intellectual property laws andtreaties. The SOFTWARE is not sold, and instead is only licensed foruse, strictly in accordance with this document. The hardware isprotected by various patents, and is sold, but this LICENSE does notcover that sale, since it may not necessarily be sold as a packagewith the SOFTWARE. This LICENSE sets forth the terms and conditions ofthe SOFTWARE LICENSE only.1. DEFINITIONS1.1 Customer. Customer means the entity or individual that downloadsthe SOFTWARE.2. GRANT OF LICENSE2.1 Rights and Limitations of Grant. NVIDIA hereby grants Customer thefollowing non-exclusive, non-transferable right to use the SOFTWARE,with the following limitations:2.1.1 Rights. Customer may install and use one copy of the SOFTWARE ona single computer, and except for making one back-up copy of theSoftware, may not otherwise copy the SOFTWARE. This LICENSE ofSOFTWARE may not be shared or used concurrently on differentcomputers.2.1.2 Linux/FreeBSD Exception. Notwithstanding the foregoing terms ofSection 2.1.1, SOFTWARE designed exclusively for use on the Linux orFreeBSD operating systems, or other operating systems derived from thesource code to these operating systems, may be copied andredistributed, provided that the binary files thereof are not modifiedin any way (except for unzipping of compressed files).2.1.3 Limitations.No Reverse Engineering. Customer may not reverse engineer, decompile,or disassemble the SOFTWARE, nor attempt in any other manner to obtainthe source code.No Separation of Components. The SOFTWARE is licensed as a singleproduct. Its component parts may not be separated for use on more thanone computer, nor otherwise used separately from the other parts.No Rental. Customer may not rent or lease the SOFTWARE to someone else.3. TERMINATIONThis LICENSE will automatically terminate if Customer fails to complywith any of the terms and conditions hereof. In such event, Customermust destroy all copies of the SOFTWARE and all of its componentparts.Defensive Suspension. If Customer commences or participates in anylegal proceeding against NVIDIA, then NVIDIA may, in its solediscretion, suspend or terminate all license grants and any otherrights provided under this LICENSE during the pendency of such legalproceedings.4. COPYRIGHTAll title and copyrights in and to the SOFTWARE (including but notlimited to all images, photographs, animations, video, audio, music,text, and other information incorporated into the SOFTWARE), theaccompanying printed materials, and any copies of the SOFTWARE, areowned by NVIDIA, or its suppliers. The SOFTWARE is protected bycopyright laws and international treaty provisions. Accordingly,Customer is required to treat the SOFTWARE like any other copyrightedmaterial, except as otherwise allowed pursuant to this LICENSE andthat it may make one copy of the SOFTWARE solely for backup or archivepurposes.5. APPLICABLE LAWThis LICENSE shall be deemed to have been made in, and shall beconstrued pursuant to, the laws of the State of California. TheUnited Nations Convention on Contracts for the International Sale ofGoods is specifically disclaimed.6. DISCLAIMER OF WARRANTIES AND LIMITATION ON LIABILITY6.1 No Warranties. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,THE SOFTWARE IS PROVIDED "AS IS" AND NVIDIA AND ITS SUPPLIERS DISCLAIMALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITEDTO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE.6.2 No Liability for Consequential Damages. TO THE MAXIMUM EXTENTPERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL NVIDIA OR ITS SUPPLIERSBE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIALDAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OFBUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION,OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TOUSE THE SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITYOF SUCH DAMAGES.7. MISCELLANEOUSIf any provision of this LICENSE is inconsistent with, or cannot befully enforced under, the law, such provision will be construed aslimited to the extent necessary to be consistent with and fullyenforceable under the law. This LICENSE is the final, complete andexclusive agreement between the parties relating to the subject matterhereof, and supersedes all prior or contemporaneous understandings andagreements relating to such subject matter, whether oral orwritten. This LICENSE may only be modified in writing signed by anauthorized officer of NVIDIA. Customer agrees that it will not ship,transfer or export the SOFTWARE into any country, or use the SOFTWAREin any manner, prohibited by the United States Bureau of ExportAdministration or any export laws, restrictions or regulations.I &accept the terms in the license agreementI &do not accept the terms in the license agreement< &Back&Next >CancelInstallShield>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<FinishHelpWhat do i need to ad now in my scipt? Thanks,Elias Link to comment Share on other sites More sharing options...
ev0_05 Posted January 25, 2005 Share Posted January 25, 2005 trying to accept license agreement?would becontrolcick("NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard" , "I &accept the terms in the license agreement" , "Button1")i think Link to comment Share on other sites More sharing options...
EliasXP Posted January 25, 2005 Author Share Posted January 25, 2005 thanks, i'm new to autoit, and i dont know how to use it , but now it becomes clear.Thans,Elias Link to comment Share on other sites More sharing options...
Nologic Posted January 25, 2005 Share Posted January 25, 2005 EliasXP -Dear god thats a huge post. ev0_05 -Actually you can normally just get away with:controlcick("NVIDIA Windows 2000/XP Display Drivers - InstallShield Wizard" , "" , "Button1")Since you really only need one of the other (control text or control ID)...I normally go with just the ID since most the time its shorter...tho there maybe times the text is needed....like in the case of skinned installers or applications. Link to comment Share on other sites More sharing options...
gon freecs Posted January 25, 2005 Share Posted January 25, 2005 Text: I &accept the terms in the license agreementwouldn't this be more simple ?Send("!a") Link to comment Share on other sites More sharing options...
Nologic Posted January 25, 2005 Share Posted January 25, 2005 Well with Send if another window pop's up for what ever reason just prior to that, the window your trying to effect no longer has focus...so then the send command gets sent to the wrong window...possibly breaking the script. Where with ControlClick even if the window loses focus the correct button will more than likely be pressed.Your right tho...that is simpler. All a matter of personal prefs. Link to comment Share on other sites More sharing options...
EliasXP Posted January 26, 2005 Author Share Posted January 26, 2005 Thanks Link to comment Share on other sites More sharing options...
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