Custom Query


Show under each result:

Results (28 - 30 of 3868)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#158 No Bug ControlClick not working on some Vista windows. llombard@…

AutoIT Version:

This problem is observed trying to click the "Open Network and Sharing Center" Link on the "Connect to a network" window in Vista. You will need a wireless card on a vista machine in order to run this script. The script expects the card name to be 'Wireless' but this can be changed by changing the $adapter variable. I have put in two different ControlClick attempts, both of which should work, but do not. I have commented them as such. I have attached the code as well.

CODE {{ global $NCTITLE = "Network Connections" global $NETWORKSCONTROL = "SysListView321" global $adapter = "Wireless"

;Launch Network Properties page Run ("control.exe ncpa.cpl")

WinActivate ($NCTITLE) sleep (100)

;Select wireless adaptor ControlListView($NCTITLE, "", $NETWORKSCONTROL, "Select", ControlListView($NCTITLE,"",$NETWORKSCONTROL,"FindItem",$adapter) ) sleep (200)

;Get drop down options for Adaptor - same as right click ControlSend($NCTITLE, "", $NETWORKSCONTROL, "+{F10}") sleep (100)

;select Connect/Disconnect ControlSend($NCTITLE, "", $NETWORKSCONTROL, "o") sleep(200)

WinActivate ("Connect to a network")

;Both of these variants should work but don't ControlClick ("Connect to a network", "", 1007) ControlClick ("Connect to a network", "", "SysLink4") }}

#163 No Bug Obsfuscator wrongly reporting error "File contains records longer than 2047" anonymous

WinXP Home/Pro SP2 AutoIt Beta Obsfuscator.exe ( stops with the following error message. !File contains records longer than 2047 .. stopping process. !Ending Obfuscator program. !>19:06:52 Obfuscator ended.rc:999 The longest line I have in "AutoTestManager.au3" is 319 characters and neither of the 2 custom include files, _os_file.au3 (Max line length 185 characters) and _os_TileUtilities.au3 (Max line length 207 characters) I've experimented with shortening the longer lines using concatenation and continuation lines but the problem persists.

If I turn Obfuscator off the the file compiles and runs OK. I've not had any problems with other files so it would seem that there is something specific in the formatting of this file that is confusing Obsfuscator. I don't believe it's anything to do with the 2 custom include files as I've used those elsewhere without problems.

AutoTestManager.au3 and the 2 custom includes are attached.

Full console output from SciTe4AutoIt

>"X:\Autoit3\Scite\AutoIt3Wrapper\AutoIt3Wrapper.exe" /beta /in "X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\AutoTestManager.au3" /autoit3dir "X:\Autoit3openpath.*.au3=\include\beta"
+>19:30:18 Starting AutoIt3Wrapper v.    Environment(Language:0409  Keyboard:00000809  OS:WIN_XP/Service Pack 2  CPU:X86)
> Running:MKDIR "X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\Release"
A subdirectory or file X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\Release already exists.
>Running Tidy (  from:X:\Autoit3\\SciTE\tidy
+>19:30:21 Tidy ended.rc:0
>Running AU3Check (  params:-q -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6  from:X:\Autoit3\Beta
+>19:30:21 AU3Check ended.rc:0
>Running Obfuscator (  from:X:\Autoit3\\SciTE cmdline:/Beta
!File contains records longer than 2047 ..  stopping process.
!Ending Obfuscator program.
!>19:30:22 Obfuscator ended.rc:999
>Running AU3Check for obfuscated file(  params:-q -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6  from:X:\Autoit3\Beta
Error : couldn't open input file: X:\AutoIt3Data\Scripts\AutoTest\AutoTestManager\AutoTestManager_Obfuscated.au3
!>19:30:22 AU3Check Obfuscated code ended.rc:3
>Exit code: 0    Time: 15.342

#164 No Bug VISTA - MAXIMIZE does not work anonymous

This statement (below) works fine on XP, starts ie in a max. window but fails to max. on Vista. Vista does not recognize the sw_maximize. Maybe the hex constant value needs to be changed ?

run("C:\Program Files\Internet Explorer\iexplore.exe","",@SW_MAXIMIZE)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.