Jump to content

Win 7 (64bit)


diikee
 Share

Recommended Posts

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 you

2) 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

$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

#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 by diikee
Link to comment
Share on other sites

Try reinstalling Win 7.

Lol! :graduated:

@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

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

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

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

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.

Link to comment
Share on other sites

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=n

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.

No you don't, you use the wrapper.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...