diikee Posted November 30, 2010 Share Posted November 30, 2010 script compiles fine with Win XP but doesn't work in Win 7 64bit PC. Link to comment Share on other sites More sharing options...
Montfrooij Posted November 30, 2010 Share Posted November 30, 2010 Maybe you can share the script, so I can test on my PC? (W7 64b also). BR. Montfrooij Link to comment Share on other sites More sharing options...
AU3Newbie Posted November 30, 2010 Share Posted November 30, 2010 let me test it in my Win 7 64bit PC to see what's the matter. Link to comment Share on other sites More sharing options...
Montfrooij Posted November 30, 2010 Share Posted November 30, 2010 OK, let me know if you keep having problems. Maybe test first, then post? Link to comment Share on other sites More sharing options...
SadBunny Posted November 30, 2010 Share Posted November 30, 2010 script compiles fine with Win XP but doesn't work in Win 7 64bit PC.Yeah I got Windows 7 x64 too, no problems here, have been able to run any script that I would expect to work. So there doesn't seem to be a structural problem supporting Win7x64. If you want more help, please:1) write a small example script to reproduce your problem, so we can test it for you2) describe the problem in more detail... What goes wrong exactly when you do what exactly, and what errors are produced?A couple of tips:- if you want to modify system settings and/or protected folders, put #RequireAdmin on top of your script to present a UAC popup to have the user confirm that your script is allowed to elevate it's permission level- system folders and registry locations in Win7 are often very different from WinXP, especially when the architecture is also different (x32 vs. x64)Good luck. Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
diikee Posted November 30, 2010 Author Share Posted November 30, 2010 $ip = InputBox("Get Ip Address", "Enter 1 or more IP Address separated by a comma: ") If $ip = "" Then Exit $ip = StringSplit($ip, ",") For $x = 1 To $ip[0] $oIE = _IECreate($ip[$x]) _IELoadWait($oIE) _IENavigate($oIE, & $ip[$x] "/new.html") Next C:\autoit\IQFTest_Suite.au3(35,22) : ERROR: syntax error _IENavigate($oi, & ~~~~~~~~~~~~~~~~~^ C:\autoit\IQFTest_Suite.au3(35,46) : ERROR: syntax error _IENavigate($oIE, & $ip[$x] "test.html" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ Link to comment Share on other sites More sharing options...
diikee Posted November 30, 2010 Author Share Posted November 30, 2010 (edited) #include <IE.au3> #include <File.au3> #include <Process.au3> #include <SQLite.au3> $ip = InputBox("Get Ip Address", "Enter 1 or more IP Address separated by a comma: ") If $ip = "" Then Exit $ip = StringSplit($ip, ",") For $x = 1 To $ip[0] $oIE = _IECreate($ip[$x]) _IELoadWait($oIE) _IENavigate($oIE, & $ip[$x] "/new.html") Next C:\autoit\IQFTest_Suite.au3(35,22) : ERROR: syntax error _IENavigate($oIE, & ~~~~~~~~~~~~~~~~~^ C:\autoit\IQFTest_Suite.au3(35,46) : ERROR: syntax error _IENavigate($oIE, & $ip[$x] "test.html" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ Edited November 30, 2010 by diikee Link to comment Share on other sites More sharing options...
trancexx Posted November 30, 2010 Share Posted November 30, 2010 Try reinstalling Win 7. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
SadBunny Posted November 30, 2010 Share Posted November 30, 2010 Try reinstalling Win 7.Lol! @diikee: Before you go ahead and reinstall Windows 7, you might want to check out the "Language Reference - Operators" help and correct the simple syntax errors in your code. I assure you that neither in XP nor in Windows 7, the space is the string concatenation operator but the ampersand is... (But it's not like you didn't know that - you already used it in some places. Why not use it structurally? ) Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
diikee Posted November 30, 2010 Author Share Posted November 30, 2010 Offcourse I will not reload Win7. XP accepted the "&" for concatenation but Win 7 had issues with it. I've removed the "&" and got rid of some errors with this line _IENavigate($oIE, $ip[$x] "/test.html") I get C:\autoit\IQFTest_Suite.au3(35,44) : ERROR: syntax error _IENavigate($oi, $ip[$x] "/test.html" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ What is getting rejected now?? Link to comment Share on other sites More sharing options...
trancexx Posted November 30, 2010 Share Posted November 30, 2010 Reload it dammit! ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
dickep Posted November 30, 2010 Share Posted November 30, 2010 First, is there anything in $ip[$x]? Second, try _IENavigate($oIE, $ip[$x] & "/test.html") Last, concantenate the last parameter before using it (something like $tmpIP = $ip[$x] & "/test.html") then do a msgbox to see what happened. Hope this helps. E Link to comment Share on other sites More sharing options...
diikee Posted November 30, 2010 Author Share Posted November 30, 2010 Thanks "dickep" the "&" trick did it. No more errors. should trancexx be responding to queries? No constructive ideas at all. Link to comment Share on other sites More sharing options...
trancexx Posted November 30, 2010 Share Posted November 30, 2010 It's an everlasting dilemma. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
dickep Posted November 30, 2010 Share Posted November 30, 2010 You're entirely welcome. I have gotten so much help here (mostly my not seeing the "forest for the trees") that I am very happy I could return the favor(s). Link to comment Share on other sites More sharing options...
diikee Posted November 30, 2010 Author Share Posted November 30, 2010 Why would the script invoke the 64bit IE instead of 32bit IE? Is there a way to invoke the 32bit IE?? Link to comment Share on other sites More sharing options...
AU3Newbie Posted December 1, 2010 Share Posted December 1, 2010 Why would the script invoke the 64bit IE instead of 32bit IE?Is there a way to invoke the 32bit IE??That is your default browser.To change the browser,either you can change the default settings,or you detect the system and tell the program what's the real path.I think so. Link to comment Share on other sites More sharing options...
diikee Posted December 2, 2010 Author Share Posted December 2, 2010 I tried but can't get the script to invoke the 32bit IE browser. Anyone else encountered this issue and how did you solve it?? Link to comment Share on other sites More sharing options...
Ascend4nt Posted December 2, 2010 Share Posted December 2, 2010 Run your script in 32-bit mode. If your SciTE is set to run 64-bit code, you can invoke your script from the folder by right-clicking it and running it in x86 mode. My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code) Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 2, 2010 Share Posted December 2, 2010 I tried but can't get the script to invoke the 32bit IE browser.Anyone else encountered this issue and how did you solve it??Run the script as x86#AutoIt3Wrapper_UseX64=nRun your script in 32-bit mode. If your SciTE is set to run 64-bit code, you can invoke your script from the folder by right-clicking it and running it in x86 mode.No you don't, you use the wrapper. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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