Skip to content

Commit

Permalink
* Fixed expressions being executed twice in commands.
Browse files Browse the repository at this point in the history
Fixed errors in language files.
Updated revision of Polish translation by Vallorian.
  • Loading branch information
Pulover committed May 6, 2016
1 parent 7b75cf9 commit 87d8d28
Show file tree
Hide file tree
Showing 56 changed files with 645 additions and 642 deletions.
1 change: 1 addition & 0 deletions Documentation/About.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Thiago Talma for some improvements to the code, debugging and many suggestions.
* Changed behavior of *Repeat Until* option in Image/Pixel Search to allow max repeat number.
* Fixed global variables cleared after user-defined function calls inside expressions.
* Fixed local function variables not restored to global scope after call.
* Fixed expressions being executed twice in commands.
* Fixed identical function or object calls in expressions being executed only once.
* Fixed mixed rows data after closing a Macro tab.
* Fixed some fields of *Send Email*, *Download Files* and *Zip/Unzip Files* not working with variables.
Expand Down
2 changes: 1 addition & 1 deletion ExtractLangFiles.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Loop, Parse, Data, `n, `r
Loop, % Line0 - 2
{
i := A_Index + 2
PMC.Lang[A_Index] .= Label . Line%i% "`n"
PMC.Lang[A_Index] .= Label . Trim(Line%i%) "`n"
If InStr(Label, "Lang_")
nLang[A_Index] := Line%i%
}
Expand Down
16 changes: 9 additions & 7 deletions LIB/Playback.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@
For _each, _value in FieldsData
%_each% := _value
If !(ManualKey)
PlayCommand("Sleep", Action, Step, TimesR, DelayX, Target, Window, Pars, FlowControl
PlayCommand(cType5, "", "", "", DelayX, "", "", Pars, FlowControl
, PlaybackVars[LoopDepth][mLoopIndex], PbCoordModes, PbSendModes, RunningFunction)
If (TimesR > 1)
TimesX--
Expand All @@ -937,10 +937,14 @@
TimesX--
For _each, _value in FieldsData
%_each% := _value
If Type in Sleep,KeyWait,MsgBox
If (Action = "[" cType20 "]")
continue
If ((Type = cType13) && (Action = "[Text]"))
continue
If Type in %cType5%,%cType6%,%cType20%,%cType50%
continue
If !(ManualKey)
PlayCommand("Sleep", Action, Step, TimesR, DelayX, Target, Window, Pars, FlowControl
PlayCommand(cType5, "", "", "", DelayX, "", "", Pars, FlowControl
, PlaybackVars[LoopDepth][mLoopIndex], PbCoordModes, PbSendModes, RunningFunction)
}
If (ManualKey)
Expand Down Expand Up @@ -1093,8 +1097,6 @@ PlayCommand(Type, Action, Step, TimesX, DelayX, Target, Window, Pars, Flow, Cust
Sleep, (DelayX*SpeedDn)
Else If (FastKeyOn)
Sleep, (DelayX/SpeedUp)
Else If ((Type = cType13) && (Action = "[Text]"))
return
Else
Sleep, %DelayX%
}
Expand Down Expand Up @@ -2251,7 +2253,7 @@ IfStatement(ThisError, CustomVars, Action, Step, TimesX, DelayX, Type, Target, W
CheckVars(CustomVars, _value)
, Pars[_each] := _value
}
CheckVars(CustomVars, Step, TimesX, DelayX, Target, Window)
CheckVars(CustomVars, TimesX, DelayX)
If (CustomVars.HasKey(Pars[1]))
VarName := CustomVars[Pars[1]]
Else
Expand All @@ -2267,7 +2269,7 @@ IfStatement(ThisError, CustomVars, Action, Step, TimesX, DelayX, Type, Target, W
CheckVars(CustomVars, _value)
, Pars[_each] := _value
}
CheckVars(CustomVars, Step, TimesX, DelayX, Target, Window)
CheckVars(CustomVars, TimesX, DelayX)
If (CustomVars.HasKey(Pars[1]))
VarName := CustomVars[Pars[1]]
Else
Expand Down
6 changes: 3 additions & 3 deletions Lang/ar.lang
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
The อยู่ที่เลือกหรือชื่อไฟล์ไม่ถูกต้อง
d_Lang011 = تحذير
d_Lang012 = لا selected.`Continue السيطرة؟
Continue.
استمر؟
d_Lang013 = تصدير سيناريو
d_Lang014 = النصي المصدرة
d_Lang015 = تم تصدير الملف بنجاح!
Expand Down Expand Up @@ -866,8 +866,8 @@
d_Lang070 = برنامج دعم المصدر المفتوح
d_Lang071 = خطأ: غير صالح هوتكي المحددة.
d_Lang072 = العثور على الأوامر أو وظيفة
d_Lang073 =
d_Lang074 =
d_Lang073 = خطأ: غير صالح هوتكي المحددة.
d_Lang074 = البحث عن أمر أو وظيفة
d_Lang075 = مرحبا بكم في الخالق ماكرو Pulover ل
d_Lang076 = الرجاء اختيار التصميم المفضل لديك
d_Lang077 = ميثاق
Expand Down
4 changes: 2 additions & 2 deletions Lang/bg.lang
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
Избрания адрес или име на файла е невалиден.
d_Lang011 = Внимание
d_Lang012 = Няма контрол избран.
Искате ли да продължите?
Продължавам?
d_Lang013 = Износ Script
d_Lang014 = Script Експортираните
d_Lang015 = Файлът е успешно изнася!
Expand Down Expand Up @@ -878,7 +878,7 @@
d_Lang082 = Файлът не е намерен!
d_Lang083 = Резервно копие на файла не бе намерено. Бихте ли искали да го отворите?
d_Lang084 = Моля, запазете промените преди насрочване на задача.
d_Lang085 = Липсва "End Loop" изявление в Macro
d_Lang085 = Липсва "End Loop" изявление в Macro
d_Lang086 = Липсва "End If" изявление в Macro
d_Lang087 = Забележете, че промените, направени в сценария извън програмата няма да се отрази макроси по никакъв начин.
Тази функция е предназначена само като функция бърз износ. PMC не е проектиран да бъде редактор на AHK скрипт.
Expand Down
10 changes: 5 additions & 5 deletions Lang/ca.lang
Original file line number Diff line number Diff line change
Expand Up @@ -785,14 +785,14 @@
d_Lang005 = Desar Projecte
d_Lang006 = Error en desar / sobreescriure l'arxiu
d_Lang007 = Error
d_Lang008 = Error: No macro seleccionada
d_Lang008 = Error: No macro seleccionada
Comproveu almenys una macro a la llista ..
d_Lang009 = Error: No Seleccionat tecla d'accés directe.
d_Lang010 = Error:. Direcció invàlida
d_Lang010 = Error:. Direcció invàlida
La adreça seleccionada o el nom del fitxer no és vàlid.
d_Lang011 = Advertència
d_Lang012 = No hi ha control seleccionat.
Voleu continuar?
d_Lang012 = No hi ha control seleccionat.
Continuar?
d_Lang013 = Guió Exportació
d_Lang014 = Guió Exportats
d_Lang015 = L'arxiu s'ha exportat amb èxit!
Expand Down Expand Up @@ -878,7 +878,7 @@
d_Lang082 = El fitxer no s'ha trobat!
d_Lang083 = S'ha trobat un fitxer de còpia de seguretat. Vols obrir-lo?
d_Lang084 = Deseu els canvis abans de programar una tasca.
d_Lang085 = Falta "End Loop" declaració en la Macro
d_Lang085 = Falta "End Loop" declaració en la Macro
d_Lang086 = Falta "End If" declaració en la Macro
d_Lang087 = Recordeu que els canvis realitzats en el guió fora del programa no afectarà la seva MACROS de cap manera.
Aquesta característica només està pensada com una funció d'exportació ràpida. PMC no està dissenyat per a ser un editor de scripts AHK.
Expand Down
2 changes: 1 addition & 1 deletion Lang/cs.lang
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@
d_Lang082 = Soubor nebyl nalezen!
d_Lang083 = Záložní soubor nebyl nalezen. Chtěli byste jej otevřít?
d_Lang084 = Prosím uložte změny před plánování úkolu.
d_Lang085 = Chybějící "End Loop" prohlášení v Makro
d_Lang085 = Chybějící "End Loop" prohlášení v Makro
d_Lang086 = Chybějící "End If" prohlášení v Makro
d_Lang087 = Všimněte si, že změny provedené v skriptu mimo program nebude mít vliv na vaše makra v žádném případě.
Tato funkce je určena pouze k rychlému exportní funkce. PMC není navržen tak, aby editor AHK skript.
Expand Down
2 changes: 1 addition & 1 deletion Lang/cy.lang
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
The منتخب کردہ ایڈریس یا فائل کا نام غلط ہے.
d_Lang011 = Rhybudd
d_Lang012 = Dim selected.
Continue?
Parhau?
d_Lang013 = Allforio Sgript
d_Lang014 = Sgript allfudo
d_Lang015 = Mae'r ffeil yn cael ei allforio yn llwyddiannus!
Expand Down
4 changes: 2 additions & 2 deletions Lang/da.lang
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
Den valgte adresse eller filnavnet er ugyldigt.
d_Lang011 = Advarsel
d_Lang012 = Ingen kontrol valgt.
Fortsæt?
Blive ved?
d_Lang013 = Eksport Script
d_Lang014 = Script Eksporterede
d_Lang015 = Filen blev succesfuldt eksporteret!
Expand Down Expand Up @@ -878,7 +878,7 @@
d_Lang082 = Filen blev ikke fundet!
d_Lang083 = En backup-fil er fundet. Kunne du tænke dig at åbne den?
d_Lang084 = Gem dine ændringer før du planlægger en opgave.
d_Lang085 = Mangler "End Loop" erklæring i Makro
d_Lang085 = Mangler "End Loop" erklæring i Makro
d_Lang086 = Mangler "End If" erklæring i Makro
d_Lang087 = Bemærk at ændringer i scriptet uden for programmet ikke vil påvirke din MAKROER på nogen måde.
Denne funktion er kun ment som en hurtig eksport funktion. PMC er ikke designet til at være en AHK script editor.
Expand Down
Loading

0 comments on commit 87d8d28

Please sign in to comment.