Sign in to follow this  
Followers 0
DaAssMan

XP non english version

20 posts in this topic

I have a non english version of xp and i cant make autoit work like i want. what do i have to do?

Share this post


Link to post
Share on other sites



I have a non english version of xp and i cant make autoit work like i want. what do i have to do?

well lets get the cristalbal out and see what the problem could be you have ... ;)

Maybe some details about your problems would help ???


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

well lets get the cristalbal out and see what the problem could be you have ... ;)

Maybe some details about your problems would help ???

Here JdeB you can use mine http://www.autoitscript.com/fileman/users/gafrost/crystallball_emoticon.gif


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

well i cant run the exampels that comes with the program and i tryied to run the pokerbot and nothing happens.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

well i cant run the exampels that comes with the program and i tryied to run the pokerbot and nothing happens.

Seconds try:

We are really willing to help but if you are not going to be more specific in what your problem is we won't be able to help you...

So what is the problem you have with the examples ?

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

hehe you are as right as u can be JdeB. well in the readme file of the exampels it says that if u are running a non english os u cant make the example work correct, when i open the examples and run the calculater it opens the calculater but dosent finish, when i make the script to klick anything thats when it failes.

Share this post


Link to post
Share on other sites

hehe you are as right as u can be JdeB. well in the readme file of the exampels it says that if u are running a non english os u cant make the example work correct, when i open the examples and run the calculater it opens the calculater but dosent finish, when i make the script to klick anything thats when it failes.

Replace the references in the example to "Calculator" with what the Window title is called in swedish and you will see it works ..

;)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

...then post the code that you are running using copy/paste

Also, add this line to the top of the code:

AutoItSetOption ("TrayIconDebug", 1)  ;0-off
and mouse over the AutoIt icon in the system tray to see which line of code might be hanging up.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

so every keyword i script i have to change to swedish to make it work on my os?

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

so every keyword i script i have to change to swedish to make it work on my os?

No. just every Win... function in that example file.

;

; AutoIt Version: 3.0

; Language: English

; Platform: Win9x/NT

; Author: Jonathan Bennett (jon@hiddensoft.com)

;

; Script Function:

; Plays with the calculator.

;

; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)

$answer = MsgBox(4, "AutoIt Example (English Only)", "This script will run the calculator and type in 2 x 4 x 8 x 16 and then quit. Run?")

; Check the user's answer to the prompt (see the help file for MsgBox return values)

; If "No" was clicked (7) then exit the script

If $answer = 7 Then

MsgBox(0, "AutoIt", "OK. Bye!")

Exit

EndIf

; Run the calculator

Run("calc.exe")

; Wait for the calulator become active - it is titled "Calculator" on English systems

WinWaitActive("Calculator")

; Now that the calc window is active type 2 x 4 x 8 x 16

; Use AutoItSetOption to slow down the typing speed so we can see it ;)

AutoItSetOption("SendKeyDelay", 400)

Send("2*4*8*16=")

Sleep(2000)

; Now quit by sending a "close" request to the calc

WinClose("Calculator")

; Now wait for calc to close before continuing

WinWaitClose("Calculator")

; Finished!

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

so every keyword i script i have to change to swedish to make it work on my os?

Nah... the AutoIt language stays as it is defined in the Helpfile.

Obviously the Window titles need to exactly match for a script to run properly

So if window title of the Calculator is "Kalkulator" in swedish then that ofcourse has to be changed.

;)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Yep, and it has to be perfect for the title windows

define "perfect" :-)

http://www.autoitscript.com/forum/index.ph...st&p=276172

@DaAssMan,

Yes, you should start with a copy/paste from the data presented by the "AutoIt Window Info" tool included with the AutoIt3 install.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

really really thanks for helping me, cant express my gratitude, thx moderator.

Share this post


Link to post
Share on other sites

how do i know what words i have to change in to swedish to make the script work?

Share this post


Link to post
Share on other sites

how do i know what words i have to change in to swedish to make the script work?

Learn to understand the script and I am sure you know what is language depended ...

;)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0