Ошибка air bag

Содержание

  1. Error at line 1 ?
  2. Error at line 1 Line Text.
  3. «Error at line 1» with Unicode
  4. Error: This line does not contain a recognized action?
  5. error at line 1 autohotkey
  6. Comments
  7. quinnjamin commented Dec 8, 2014
  8. This comment has been minimized.
  9. valleyman86 commented Dec 14, 2014

When executing AutoHotkey, I run into this error when I just start.

Error at line 1.

Error: This line does not contain a recognized action.

I’ve tried in vain:

— Remove most of the scripts in the file

— Save the file as «UTF-8» and «Unicode»

How could I solve this problem ?

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter KeyLooperDemo Key Spammer TinyClickRecorder GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

I’m running AutoHotkey.

I even empty the whole file to avoid any possible error. And I still have the same problem.

Question: how can I know which text (script) file that AutoHotKey is using, i.e. the location of the file ? Please have in mind that I can’t launch AutoHotKey at all.

By the way, since this is a Corpo laptop, I can’t install another version. My actual version is 1.048.05

Thank you for your help.

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Whenever you start the AutoHotkey exe directly without giving it a script to run it automatically tries to run

a script named Autohotkey.ahk. To run individual scripts you have to create them with a text editor, save them

to some location where AutoHotkey.exe can find them, and make sure that the .ahk extension is associated with

AutoHotkey. Failing that you can start AutoHotkey.exe with a script name as an argument. That way is a pain

in the hindquarters tho. Ok you’re using the early version of AutoHotkey (v1.0.48.05). The current version is

1.1.16.05. There are a lot of changes between the two versions and you might want your corpo IT guys to let

you download and set up the new version. Failing that you might want to rename the AutoHotkey.ahk file to

something else and start building your own scripts. A lot of the scripts you’ll find on the forums use new

techniques that your version can’t handle.

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter KeyLooperDemo Key Spammer TinyClickRecorder GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

I can finally install the new version (1.1.16.05) on my laptop. Autohotkey can start, but it can’t replace the words correctly like it used to be.

The accents don’t show up anymore.

người is shown up incorrectly as nguoi

vừa is show up incorrectly as v?a

It worked very well on my previous laptop.

I use NotePad to save the file as Unicode or UTF-8. It doesn’t let me save as ANSI.

Источник

Error at line 1 Line Text.

I’m getting this error:

Error at line 1 Line text: . . # This line does not contain a recognized action

when trying to open AHK. Any idea what this means?

[Moderator’s note: Moved topic from Issues to Support.

  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

Line Text: z
Error: This line does not contain a recognized action.

  • Guests
  • Last active:
  • Joined: —

You seem to purposely have left out the pertinent info, so I can’t give any more help.

Not when the first line is only 2 dots: ..

You should start thinking with a positive mindset .

  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

You seem to purposely have left out the pertinent info, so I can’t give any more help.

Not when the first line is only 2 dots: ..

You should start thinking with a positive mindset .

Источник

«Error at line 1» with Unicode

I have this script that used to run without problems before I reinstalled my system (Windows 7 64-bit).

Now when I save it as Unicode, it won’t run and gives me the following message:

Error at line 1.

Error: This line does not contain a recognized action.

However, the script doesn’t contain these characters. It starts with a normal line (#ifwinactive, . ).

And when I save it as ANSI or UTF-8 it works fine, except for not recognizing the Unicode characters correctly, of course.

I tried to copy paste the script into another script, or saving it with another text program, it’s always the same.

  • Members
  • 2475 posts
  • Last active: Feb 18 2015 04:57 PM
  • Joined: 01 Dec 2013

When you save a file in UTF-16, the system puts a BOM (Byte order Mark) as the first characters of the file (ÿþ).

You run the old AutoHotkey version (1.0.48.05) from this site.

Download the lastest version from ahkscript.org.

Si ton labeur est dur et que tes résultats sont minces, souviens toi du grand chêne qui avant n’était qu’un gland. comme toi ! (anonyme)

L’art de lire, c’est l’art de penser avec un peu d’aide. (É. Faguet)

Windows 3.1. Collector’s Edition. ( www.avaaz.org )

  • Members
  • 2 posts
  • Last active: Aug 20 2014 10:30 PM
  • Joined: 20 Aug 2014

Oh, that’s it? This site looks way more polished and up to date.

Источник

Error: This line does not contain a recognized action?

Starting up along with Windows system,my scripts keeps telling me :»Error at line 173. /Line Text: «» /Error: This line does not contain a recognized action.»
Though when I myself run it AFTER system startup,it just runs correctly and will not show me any «error»message !
Also,in fact, my scripts ONLY have 151 lines!Why it tells me «Error at line 173»?

Line Text: «»
Error: This line does not contain a recognized action.

  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

  • Members
  • 112 posts
  • Last active: May 10 2015 09:30 AM
  • Joined: 07 Aug 2011

maybe look for directory / path , at first line in script should be
setworkingdir,%A_scriptdir%

  • Members
  • 112 posts
  • Last active: May 10 2015 09:30 AM
  • Joined: 07 Aug 2011

maybe look for directory / path , at first line in script should be
setworkingdir,%A_scriptdir%

Thank you!let me have a try.thanks!

  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006

Adding or changing SetWorkingDir in your script will not help if your script is not loading in the first place.

Источник

error at line 1 autohotkey

I’m currently trying to write an Autohotkey command, which pastes a SQL code, but i only get this message:

Error at line 3. Line Text: Create table #tmp (
Error: This line does not contain a recognized action.
The script was not reloaded; the old Version will remain in effect.

there are also some variations of this message.

I already tried to use SendRaw or SendInput. Even the escape character ´ does not work. Putting it in quotation marks neither. I do not have any clues anymore.

well, i expected it to send the SQL-Statement, but I’m just getting errors like the one above. Sometimes it refers to the line «Create Table #tmp(«, sometimes to «insert into #tmp (row1, number)». And I don’t know what to do. Does anyone has a clue and can help me with this?

Copy link Quote reply

At first it says «Error at line 15. The following variable name contains an illegal character: «File.Length» The program will exit.» I the only way i could get it to go away was to delete the period (.) but then it says «Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This line does not contain a recognized action. The program will exit.» I’m just having great difficulty getting this to work, I have never used anything like this (scripts or AutoHotKey) If you could help me it would be greatly appreciated!

Copy link Quote reply

Make sure you get the latest version of autohotkey.

On Sunday, December 7, 2014, quinnjamin notifications@github.com wrote:

At first it says «Error at line 15. The following variable name contains
an illegal character: «File.Length» The program will exit.» I the only way
i could get it to go away was to delete the period (.) but then it says
«Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This
line does not contain a recognized action. The program will exit.» I’m just
having great difficulty getting this to work, I have never used anything
like this (scripts or AutoHotKey) If you could help me it would be greatly
appreciated!


Reply to this email directly or view it on GitHub
#1.

Thread Tools
Display
  • Linear Mode
  • Switch to Hybrid Mode
  • Switch to Threaded Mode

Yeah maybe I’ll try that, I was thinking about it but thought it might take him off /follow but it doesn’t. I kind of wanted something that I didn’t have to conciously do every couple minutes but I guess jumping a couple times every 5 minutes isn’t hard lol.

EDIT: Meh.
This seems to work just fine. Dunno what I did wrong last time o.O

Numpad0::ControlSend, , , ahk_id %idClone%

Numpad0 Up::ControlSend, , , ahk_id %idClone% [/code:1]

I have this problem with ahk. Currently I’m testing with two computers: a normal desktop pc and a laptop. I’m running two wow clients on both of them so I have four characters now. Main character is A which ofcourse runs on my primary computer. On the same computer is also other char which is B. Char C is fullscreen client on my laptop and D is minimized client. I’m using Synergy/Multibox (both of them seems to work exactly the same in WoW) to broadcast my keys from desktop pc to laptop. So A and C which are on fullscreen work just fine but B and D causes some problems.

I’ve been searching some scripts from this forum but no matter which one I use it does not work properly. For example I have Frost Armor binded to «1». When I hold 1 down on my keyboard B and D casts their frost armor instantly and keep casting it as long as the button is hold down. A and C in the other hand cast it only after the button is released, which is ofcourse how it should work. So the problem is that ahk keeps spamming the button up and down as long as I keep it pressed down. Any ideas?

The scripts I’ve tested this with:

1::
ControlSend, , , ahk_id %idClone%

1 Up::
ControlSend, , , ahk_id %idClone%
[/code:1]
[code:1]#IfWinActive, World of Warcraft

2::
;ControlSend,, , ahk_id %idMain%
ControlSend,, , ahk_id %idClone%
KeyWait, 2
;ControlSend,, , ahk_id %idMain%
ControlSend,, , ahk_id %idClone%
Return[/code:1]
[code:1]#IfWinActive, World of Warcraft

Источник

Перейти к содержимому раздела

Серый форум

разработка скриптов

Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.

Страницы 1

Чтобы отправить ответ, вы должны войти или зарегистрироваться

1 2011-08-13 13:46:32 (изменено: zay, 2011-08-13 14:02:31)

  • zay
  • Участник
  • Неактивен
  • Рейтинг : [0|0]

Тема: AHK: Error at line 1. — не могу начать работать с программой

Установил программу, создал файл тхт, добавил строку —

Изменил расширение с .txt на .ahk, запустил…
Выдает:

Error at line 1.

Line Text:#z::Run www.google.com
Error: Invalid hotkey.

The program will exit.

Что делать?

2 Ответ от teadrinker 2011-08-13 13:52:32

  • teadrinker
  • Администратор
  • Неактивен

Re: AHK: Error at line 1. — не могу начать работать с программой

zay, ознакомься с Правилами, отредактируй свой пост.

Разработка AHK-скриптов:
e-mail dfiveg@mail.ru
Telegram jollycoder

3 Ответ от YMP 2011-08-13 18:02:18

  • YMP
  • Разработчик
  • Неактивен

Re: AHK: Error at line 1. — не могу начать работать с программой

Язык ввода по умолчанию, видимо, русский. В русской раскладке нет клавиши «z», она там называется «я». Так что либо так:

либо вместо буквы использовать код виртуальной клавиши:

#vk5A::Run www.google.com

который от языка не зависит. См. тут: AutoHotkey: Начинающему разработчику — Печатаю виртуальными кодами.

4 Ответ от zay 2011-08-13 19:40:04

  • zay
  • Участник
  • Неактивен
  • Рейтинг : [0|0]

Re: AHK: Error at line 1. — не могу начать работать с программой

Спасибо… Работает…

Буду дальше разбираться.

Сообщения 4

Страницы 1

Чтобы отправить ответ, вы должны войти или зарегистрироваться

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

When executing AutoHotkey, I run into this error when I just start.

Error at line 1.

Line Text: ÿþ#

Error: This line does not contain a recognized action.

I’ve tried in vain:

— Remove most of the scripts in the file

— Save the file as «UTF-8» and «Unicode»

How could I solve this problem ?

#1

Posted 17 October 2014 — 07:30 PM

  • Back to top



girlgamer

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

http://ahkscript.org/

#2

Posted 17 October 2014 — 07:32 PM

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter   KeyLooperDemo   Key Spammer   TinyClickRecorder  GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.
Rock-on%20kitten.gif

  • Back to top



camnu

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

http://ahkscript.org/

I’m running AutoHotkey.

I even empty the whole file to avoid any possible error. And I still have the same problem.

Question: how can I know which text (script) file that AutoHotKey is using, i.e. the location of the file ? Please have in mind that I can’t launch AutoHotKey at all.

By the way, since this is a Corpo laptop, I can’t install another version. My actual version is 1.048.05

Thank you for your help.

#3

Posted 17 October 2014 — 08:00 PM

  • Back to top



girlgamer

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Whenever you start the AutoHotkey exe directly without giving it a script to run it automatically tries to run

a script named Autohotkey.ahk. To run individual scripts you have to create them with a text editor, save them

to some location where AutoHotkey.exe can find them, and make sure that the .ahk extension is associated with

AutoHotkey. Failing that you can start AutoHotkey.exe with a script name as an argument. That way is a pain

in the hindquarters tho. Ok you’re using the early version of AutoHotkey (v1.0.48.05). The current version is

1.1.16.05. There are a lot of changes between the two versions and you might want your corpo IT guys to let

you download and set up the new version. Failing that you might want to rename the AutoHotkey.ahk file to

something else and start building your own scripts. A lot of the scripts you’ll find on the forums use new

techniques that your version can’t handle.

#4

Posted 17 October 2014 — 08:28 PM

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter   KeyLooperDemo   Key Spammer   TinyClickRecorder  GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.
Rock-on%20kitten.gif

  • Back to top



camnu

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

I can finally install the new version (1.1.16.05) on my laptop. Autohotkey can start, but it can’t replace the words correctly like it used to be.

The accents don’t show up anymore.

Examples:

người is shown up incorrectly as nguoi

vừa is show up incorrectly as v?a

It worked very well on my previous laptop.

I use NotePad to save the file as Unicode or UTF-8. It doesn’t let me save as ANSI.

What can be wrong ?

Thank you.

#5

Posted 22 October 2014 — 02:56 PM

  • Back to top


Содержание

  1. Error at line 1 ?
  2. Error at line 1 Line Text.
  3. «Error at line 1» with Unicode
  4. Error: This line does not contain a recognized action?
  5. error at line 1 autohotkey
  6. Comments
  7. quinnjamin commented Dec 8, 2014
  8. This comment has been minimized.
  9. valleyman86 commented Dec 14, 2014

When executing AutoHotkey, I run into this error when I just start.

Error at line 1.

Error: This line does not contain a recognized action.

I’ve tried in vain:

— Remove most of the scripts in the file

— Save the file as «UTF-8» and «Unicode»

How could I solve this problem ?

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter KeyLooperDemo Key Spammer TinyClickRecorder GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

I’m running AutoHotkey.

I even empty the whole file to avoid any possible error. And I still have the same problem.

Question: how can I know which text (script) file that AutoHotKey is using, i.e. the location of the file ? Please have in mind that I can’t launch AutoHotKey at all.

By the way, since this is a Corpo laptop, I can’t install another version. My actual version is 1.048.05

Thank you for your help.

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Whenever you start the AutoHotkey exe directly without giving it a script to run it automatically tries to run

a script named Autohotkey.ahk. To run individual scripts you have to create them with a text editor, save them

to some location where AutoHotkey.exe can find them, and make sure that the .ahk extension is associated with

AutoHotkey. Failing that you can start AutoHotkey.exe with a script name as an argument. That way is a pain

in the hindquarters tho. Ok you’re using the early version of AutoHotkey (v1.0.48.05). The current version is

1.1.16.05. There are a lot of changes between the two versions and you might want your corpo IT guys to let

you download and set up the new version. Failing that you might want to rename the AutoHotkey.ahk file to

something else and start building your own scripts. A lot of the scripts you’ll find on the forums use new

techniques that your version can’t handle.

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter KeyLooperDemo Key Spammer TinyClickRecorder GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

I can finally install the new version (1.1.16.05) on my laptop. Autohotkey can start, but it can’t replace the words correctly like it used to be.

The accents don’t show up anymore.

người is shown up incorrectly as nguoi

vừa is show up incorrectly as v?a

It worked very well on my previous laptop.

I use NotePad to save the file as Unicode or UTF-8. It doesn’t let me save as ANSI.

Источник

I’m getting this error:

Error at line 1 Line text: . . # This line does not contain a recognized action

when trying to open AHK. Any idea what this means?

[Moderator’s note: Moved topic from Issues to Support.

  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

Line Text: z
Error: This line does not contain a recognized action.

  • Guests
  • Last active:
  • Joined: —

You seem to purposely have left out the pertinent info, so I can’t give any more help.

Not when the first line is only 2 dots: ..

You should start thinking with a positive mindset .

  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

You seem to purposely have left out the pertinent info, so I can’t give any more help.

Not when the first line is only 2 dots: ..

You should start thinking with a positive mindset .

Источник

«Error at line 1» with Unicode

I have this script that used to run without problems before I reinstalled my system (Windows 7 64-bit).

Now when I save it as Unicode, it won’t run and gives me the following message:

Error at line 1.

Error: This line does not contain a recognized action.

However, the script doesn’t contain these characters. It starts with a normal line (#ifwinactive, . ).

And when I save it as ANSI or UTF-8 it works fine, except for not recognizing the Unicode characters correctly, of course.

I tried to copy paste the script into another script, or saving it with another text program, it’s always the same.

  • Members
  • 2475 posts
  • Last active: Feb 18 2015 04:57 PM
  • Joined: 01 Dec 2013

When you save a file in UTF-16, the system puts a BOM (Byte order Mark) as the first characters of the file (ÿþ).

You run the old AutoHotkey version (1.0.48.05) from this site.

Download the lastest version from ahkscript.org.

Si ton labeur est dur et que tes résultats sont minces, souviens toi du grand chêne qui avant n’était qu’un gland. comme toi ! (anonyme)

L’art de lire, c’est l’art de penser avec un peu d’aide. (É. Faguet)

Windows 3.1. Collector’s Edition. ( www.avaaz.org )

  • Members
  • 2 posts
  • Last active: Aug 20 2014 10:30 PM
  • Joined: 20 Aug 2014

Oh, that’s it? This site looks way more polished and up to date.

Источник

Error: This line does not contain a recognized action?

Starting up along with Windows system,my scripts keeps telling me :»Error at line 173. /Line Text: «» /Error: This line does not contain a recognized action.»
Though when I myself run it AFTER system startup,it just runs correctly and will not show me any «error»message !
Also,in fact, my scripts ONLY have 151 lines!Why it tells me «Error at line 173»?

Line Text: «»
Error: This line does not contain a recognized action.

  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

  • Members
  • 112 posts
  • Last active: May 10 2015 09:30 AM
  • Joined: 07 Aug 2011

maybe look for directory / path , at first line in script should be
setworkingdir,%A_scriptdir%

  • Members
  • 112 posts
  • Last active: May 10 2015 09:30 AM
  • Joined: 07 Aug 2011

maybe look for directory / path , at first line in script should be
setworkingdir,%A_scriptdir%

Thank you!let me have a try.thanks!

  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006

Adding or changing SetWorkingDir in your script will not help if your script is not loading in the first place.

Источник

error at line 1 autohotkey

I’m currently trying to write an Autohotkey command, which pastes a SQL code, but i only get this message:

Error at line 3. Line Text: Create table #tmp (
Error: This line does not contain a recognized action.
The script was not reloaded; the old Version will remain in effect.

there are also some variations of this message.

I already tried to use SendRaw or SendInput. Even the escape character ´ does not work. Putting it in quotation marks neither. I do not have any clues anymore.

well, i expected it to send the SQL-Statement, but I’m just getting errors like the one above. Sometimes it refers to the line «Create Table #tmp(«, sometimes to «insert into #tmp (row1, number)». And I don’t know what to do. Does anyone has a clue and can help me with this?

Copy link Quote reply

At first it says «Error at line 15. The following variable name contains an illegal character: «File.Length» The program will exit.» I the only way i could get it to go away was to delete the period (.) but then it says «Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This line does not contain a recognized action. The program will exit.» I’m just having great difficulty getting this to work, I have never used anything like this (scripts or AutoHotKey) If you could help me it would be greatly appreciated!

Copy link Quote reply

Make sure you get the latest version of autohotkey.

On Sunday, December 7, 2014, quinnjamin notifications@github.com wrote:

At first it says «Error at line 15. The following variable name contains
an illegal character: «File.Length» The program will exit.» I the only way
i could get it to go away was to delete the period (.) but then it says
«Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This
line does not contain a recognized action. The program will exit.» I’m just
having great difficulty getting this to work, I have never used anything
like this (scripts or AutoHotKey) If you could help me it would be greatly
appreciated!


Reply to this email directly or view it on GitHub
#1.

Thread Tools
Display
  • Linear Mode
  • Switch to Hybrid Mode
  • Switch to Threaded Mode

Yeah maybe I’ll try that, I was thinking about it but thought it might take him off /follow but it doesn’t. I kind of wanted something that I didn’t have to conciously do every couple minutes but I guess jumping a couple times every 5 minutes isn’t hard lol.

EDIT: Meh.
This seems to work just fine. Dunno what I did wrong last time o.O

Numpad0::ControlSend, , , ahk_id %idClone%

Numpad0 Up::ControlSend, , , ahk_id %idClone% [/code:1]

I have this problem with ahk. Currently I’m testing with two computers: a normal desktop pc and a laptop. I’m running two wow clients on both of them so I have four characters now. Main character is A which ofcourse runs on my primary computer. On the same computer is also other char which is B. Char C is fullscreen client on my laptop and D is minimized client. I’m using Synergy/Multibox (both of them seems to work exactly the same in WoW) to broadcast my keys from desktop pc to laptop. So A and C which are on fullscreen work just fine but B and D causes some problems.

I’ve been searching some scripts from this forum but no matter which one I use it does not work properly. For example I have Frost Armor binded to «1». When I hold 1 down on my keyboard B and D casts their frost armor instantly and keep casting it as long as the button is hold down. A and C in the other hand cast it only after the button is released, which is ofcourse how it should work. So the problem is that ahk keeps spamming the button up and down as long as I keep it pressed down. Any ideas?

The scripts I’ve tested this with:

1::
ControlSend, , , ahk_id %idClone%

1 Up::
ControlSend, , , ahk_id %idClone%
[/code:1]
[code:1]#IfWinActive, World of Warcraft

2::
;ControlSend,, , ahk_id %idMain%
ControlSend,, , ahk_id %idClone%
KeyWait, 2
;ControlSend,, , ahk_id %idMain%
ControlSend,, , ahk_id %idClone%
Return[/code:1]
[code:1]#IfWinActive, World of Warcraft

Источник

Содержание

  1. Error at line 1 ?
  2. Error at line 1 Line Text.
  3. «Error at line 1» with Unicode
  4. Error: This line does not contain a recognized action?
  5. error at line 1 autohotkey
  6. Comments
  7. quinnjamin commented Dec 8, 2014
  8. This comment has been minimized.
  9. valleyman86 commented Dec 14, 2014

When executing AutoHotkey, I run into this error when I just start.

Error at line 1.

Error: This line does not contain a recognized action.

I’ve tried in vain:

— Remove most of the scripts in the file

— Save the file as «UTF-8» and «Unicode»

How could I solve this problem ?

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter KeyLooperDemo Key Spammer TinyClickRecorder GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

Are you running AutoHotkey or are you running a script that needs autohotkey?

and, just in case, make sure to download the latest version of AutoHotkey from

I’m running AutoHotkey.

I even empty the whole file to avoid any possible error. And I still have the same problem.

Question: how can I know which text (script) file that AutoHotKey is using, i.e. the location of the file ? Please have in mind that I can’t launch AutoHotKey at all.

By the way, since this is a Corpo laptop, I can’t install another version. My actual version is 1.048.05

Thank you for your help.

  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010

Whenever you start the AutoHotkey exe directly without giving it a script to run it automatically tries to run

a script named Autohotkey.ahk. To run individual scripts you have to create them with a text editor, save them

to some location where AutoHotkey.exe can find them, and make sure that the .ahk extension is associated with

AutoHotkey. Failing that you can start AutoHotkey.exe with a script name as an argument. That way is a pain

in the hindquarters tho. Ok you’re using the early version of AutoHotkey (v1.0.48.05). The current version is

1.1.16.05. There are a lot of changes between the two versions and you might want your corpo IT guys to let

you download and set up the new version. Failing that you might want to rename the AutoHotkey.ahk file to

something else and start building your own scripts. A lot of the scripts you’ll find on the forums use new

techniques that your version can’t handle.

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos — 1) Good, 2) Fast 3) Cheap — pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter KeyLooperDemo Key Spammer TinyClickRecorder GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.

  • Members
  • 10 posts
  • Last active: Feb 02 2017 11:03 PM
  • Joined: 30 Jan 2014

I can finally install the new version (1.1.16.05) on my laptop. Autohotkey can start, but it can’t replace the words correctly like it used to be.

The accents don’t show up anymore.

người is shown up incorrectly as nguoi

vừa is show up incorrectly as v?a

It worked very well on my previous laptop.

I use NotePad to save the file as Unicode or UTF-8. It doesn’t let me save as ANSI.

Источник

Error at line 1 Line Text.

I’m getting this error:

Error at line 1 Line text: . . # This line does not contain a recognized action

when trying to open AHK. Any idea what this means?

[Moderator’s note: Moved topic from Issues to Support.

  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

Line Text: z
Error: This line does not contain a recognized action.

  • Guests
  • Last active:
  • Joined: —

You seem to purposely have left out the pertinent info, so I can’t give any more help.

Not when the first line is only 2 dots: ..

You should start thinking with a positive mindset .

  • Moderators
  • 8510 posts
  • Last active: Sep 10 2015 05:50 AM
  • Joined: 08 Apr 2009

You seem to purposely have left out the pertinent info, so I can’t give any more help.

Not when the first line is only 2 dots: ..

You should start thinking with a positive mindset .

Источник

«Error at line 1» with Unicode

I have this script that used to run without problems before I reinstalled my system (Windows 7 64-bit).

Now when I save it as Unicode, it won’t run and gives me the following message:

Error at line 1.

Error: This line does not contain a recognized action.

However, the script doesn’t contain these characters. It starts with a normal line (#ifwinactive, . ).

And when I save it as ANSI or UTF-8 it works fine, except for not recognizing the Unicode characters correctly, of course.

I tried to copy paste the script into another script, or saving it with another text program, it’s always the same.

  • Members
  • 2475 posts
  • Last active: Feb 18 2015 04:57 PM
  • Joined: 01 Dec 2013

When you save a file in UTF-16, the system puts a BOM (Byte order Mark) as the first characters of the file (ÿþ).

You run the old AutoHotkey version (1.0.48.05) from this site.

Download the lastest version from ahkscript.org.

Si ton labeur est dur et que tes résultats sont minces, souviens toi du grand chêne qui avant n’était qu’un gland. comme toi ! (anonyme)

L’art de lire, c’est l’art de penser avec un peu d’aide. (É. Faguet)

Windows 3.1. Collector’s Edition. ( www.avaaz.org )

  • Members
  • 2 posts
  • Last active: Aug 20 2014 10:30 PM
  • Joined: 20 Aug 2014

Oh, that’s it? This site looks way more polished and up to date.

Источник

Error: This line does not contain a recognized action?

Starting up along with Windows system,my scripts keeps telling me :»Error at line 173. /Line Text: «» /Error: This line does not contain a recognized action.»
Though when I myself run it AFTER system startup,it just runs correctly and will not show me any «error»message !
Also,in fact, my scripts ONLY have 151 lines!Why it tells me «Error at line 173»?

Line Text: «»
Error: This line does not contain a recognized action.

  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

  • Members
  • 112 posts
  • Last active: May 10 2015 09:30 AM
  • Joined: 07 Aug 2011

maybe look for directory / path , at first line in script should be
setworkingdir,%A_scriptdir%

  • Members
  • 112 posts
  • Last active: May 10 2015 09:30 AM
  • Joined: 07 Aug 2011

maybe look for directory / path , at first line in script should be
setworkingdir,%A_scriptdir%

Thank you!let me have a try.thanks!

  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006

Adding or changing SetWorkingDir in your script will not help if your script is not loading in the first place.

Источник

error at line 1 autohotkey

I’m currently trying to write an Autohotkey command, which pastes a SQL code, but i only get this message:

Error at line 3. Line Text: Create table #tmp (
Error: This line does not contain a recognized action.
The script was not reloaded; the old Version will remain in effect.

there are also some variations of this message.

I already tried to use SendRaw or SendInput. Even the escape character ´ does not work. Putting it in quotation marks neither. I do not have any clues anymore.

well, i expected it to send the SQL-Statement, but I’m just getting errors like the one above. Sometimes it refers to the line «Create Table #tmp(«, sometimes to «insert into #tmp (row1, number)». And I don’t know what to do. Does anyone has a clue and can help me with this?

Copy link Quote reply

At first it says «Error at line 15. The following variable name contains an illegal character: «File.Length» The program will exit.» I the only way i could get it to go away was to delete the period (.) but then it says «Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This line does not contain a recognized action. The program will exit.» I’m just having great difficulty getting this to work, I have never used anything like this (scripts or AutoHotKey) If you could help me it would be greatly appreciated!

Copy link Quote reply

Make sure you get the latest version of autohotkey.

On Sunday, December 7, 2014, quinnjamin notifications@github.com wrote:

At first it says «Error at line 15. The following variable name contains
an illegal character: «File.Length» The program will exit.» I the only way
i could get it to go away was to delete the period (.) but then it says
«Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This
line does not contain a recognized action. The program will exit.» I’m just
having great difficulty getting this to work, I have never used anything
like this (scripts or AutoHotKey) If you could help me it would be greatly
appreciated!


Reply to this email directly or view it on GitHub
#1.

Thread Tools
Display
  • Linear Mode
  • Switch to Hybrid Mode
  • Switch to Threaded Mode

Yeah maybe I’ll try that, I was thinking about it but thought it might take him off /follow but it doesn’t. I kind of wanted something that I didn’t have to conciously do every couple minutes but I guess jumping a couple times every 5 minutes isn’t hard lol.

EDIT: Meh.
This seems to work just fine. Dunno what I did wrong last time o.O

Numpad0::ControlSend, , , ahk_id %idClone%

Numpad0 Up::ControlSend, , , ahk_id %idClone% [/code:1]

I have this problem with ahk. Currently I’m testing with two computers: a normal desktop pc and a laptop. I’m running two wow clients on both of them so I have four characters now. Main character is A which ofcourse runs on my primary computer. On the same computer is also other char which is B. Char C is fullscreen client on my laptop and D is minimized client. I’m using Synergy/Multibox (both of them seems to work exactly the same in WoW) to broadcast my keys from desktop pc to laptop. So A and C which are on fullscreen work just fine but B and D causes some problems.

I’ve been searching some scripts from this forum but no matter which one I use it does not work properly. For example I have Frost Armor binded to «1». When I hold 1 down on my keyboard B and D casts their frost armor instantly and keep casting it as long as the button is hold down. A and C in the other hand cast it only after the button is released, which is ofcourse how it should work. So the problem is that ahk keeps spamming the button up and down as long as I keep it pressed down. Any ideas?

The scripts I’ve tested this with:

1::
ControlSend, , , ahk_id %idClone%

1 Up::
ControlSend, , , ahk_id %idClone%
[/code:1]
[code:1]#IfWinActive, World of Warcraft

2::
;ControlSend,, , ahk_id %idMain%
ControlSend,, , ahk_id %idClone%
KeyWait, 2
;ControlSend,, , ahk_id %idMain%
ControlSend,, , ahk_id %idClone%
Return[/code:1]
[code:1]#IfWinActive, World of Warcraft

Источник

На чтение 4 мин. Опубликовано 15.12.2019

I’m currently trying to write an Autohotkey command, which pastes a SQL code, but i only get this message:

Error at line 3. Line Text: Create table #tmp (
Error: This line does not contain a recognized action.
The script was not reloaded; the old Version will remain in effect.

there are also some variations of this message.

I already tried to use SendRaw or SendInput. Even the escape character ´ does not work. Putting it in quotation marks neither. I do not have any clues anymore.

well, i expected it to send the SQL-Statement, but I’m just getting errors like the one above. Sometimes it refers to the line «Create Table #tmp(«, sometimes to «insert into #tmp (row1, number)». And I don’t know what to do. Does anyone has a clue and can help me with this?

Содержание

  1. Comments
  2. quinnjamin commented Dec 8, 2014
  3. This comment has been minimized.
  4. valleyman86 commented Dec 14, 2014

Copy link Quote reply

At first it says «Error at line 15. The following variable name contains an illegal character: «File.Length» The program will exit.» I the only way i could get it to go away was to delete the period (.) but then it says «Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This line does not contain a recognized action. The program will exit.» I’m just having great difficulty getting this to work, I have never used anything like this (scripts or AutoHotKey) If you could help me it would be greatly appreciated!

Copy link Quote reply

Make sure you get the latest version of autohotkey.

On Sunday, December 7, 2014, quinnjamin notifications@github.com wrote:

At first it says «Error at line 15. The following variable name contains
an illegal character: «File.Length» The program will exit.» I the only way
i could get it to go away was to delete the period (.) but then it says
«Error at line 21. Line Text: #If WinActive(«ahk_exe csgo.exe») Error: This
line does not contain a recognized action. The program will exit.» I’m just
having great difficulty getting this to work, I have never used anything
like this (scripts or AutoHotKey) If you could help me it would be greatly
appreciated!


Reply to this email directly or view it on GitHub
#1.

Thread Tools
Display
  • Linear Mode
  • Switch to Hybrid Mode
  • Switch to Threaded Mode

Yeah maybe I’ll try that, I was thinking about it but thought it might take him off /follow but it doesn’t. I kind of wanted something that I didn’t have to conciously do every couple minutes but I guess jumping a couple times every 5 minutes isn’t hard lol.

EDIT: Meh.
This seems to work just fine. Dunno what I did wrong last time o.O

Numpad0::ControlSend, , , ahk_id %idClone%

Numpad0 Up::ControlSend, , , ahk_id %idClone% [/code:1]

I have this problem with ahk. Currently I’m testing with two computers: a normal desktop pc and a laptop. I’m running two wow clients on both of them so I have four characters now. Main character is A which ofcourse runs on my primary computer. On the same computer is also other char which is B. Char C is fullscreen client on my laptop and D is minimized client. I’m using Synergy/Multibox (both of them seems to work exactly the same in WoW) to broadcast my keys from desktop pc to laptop. So A and C which are on fullscreen work just fine but B and D causes some problems.

I’ve been searching some scripts from this forum but no matter which one I use it does not work properly. For example I have Frost Armor binded to «1». When I hold 1 down on my keyboard B and D casts their frost armor instantly and keep casting it as long as the button is hold down. A and C in the other hand cast it only after the button is released, which is ofcourse how it should work. So the problem is that ahk keeps spamming the button up and down as long as I keep it pressed down. Any ideas?

The scripts I’ve tested this with:

1::
ControlSend, , <1 down>, ahk_id %idClone%

1 Up::
ControlSend, , <1 up>, ahk_id %idClone%
[/code:1]
[code:1]#IfWinActive, World of Warcraft

2::
;ControlSend,, <1 down>, ahk_id %idMain%
ControlSend,, <1 down>, ahk_id %idClone%
KeyWait, 2
;ControlSend,, <1 up>, ahk_id %idMain%
ControlSend,, <1 up>, ahk_id %idClone%
Return[/code:1]
[code:1]#IfWinActive, World of Warcraft

Понравилась статья? Поделить с друзьями:
  • Ошибка ahls хендай санта фе как исправить
  • Ошибка aoo на котле baxi
  • Ошибка aomx exe
  • Ошибка antipollution fault пежо 308 что обозначает
  • Ошибка ao1 beretta