Error on Hello World template execution


#1

I tried to run “Hello World Template” on my desktop. I am using Windows 10 Japanese version. So I needed to fix some windows title into Japanese title. In step 9, I got an error message as below.

AutoIt Error
Line 4 (File “xxxx\AppData\Local\Temp\script-xxx”);

return window.name
^ ERROR

Error: Invalid keyword at the start of this line.

I checked the file and it seems just return value.

#include <Constants.au3>
#include <MsgBoxConstants.au3>

return window.name

How to fix it?

Best regards,

Yoshiki


#2

Hi Yoshiki, this example was created long ago and is now outdated, that’s why it is now working.
Sorry for that. We will update the examples on the Welcome page for our next release.


#3

Thank you Alesia-san. I got it. I’d like to make and test similar examples in my environment. Thank you again.


#4

@yoshiki_yamahb We fixed the example in the new version.


#5

Thank you for update. I could confirm the template worked correctly on my environment. Thank you again.