http://www.engine001.com/
Have some "interfaces" only to store variables can be more organized in some cases,
"interfaces" can have names and localizations inside other "interfaces"...
Here a script useful to change the values of the "variables" in a "interface" of a easy way:
Code: Select all
/*
FUNCTION
Copy content of "variables" of a "interface" in the "engine 001"
(number of targets in the variable "loop_count" here)
(explore the script and configure the two "Send {Tab 2}")
After of modification in file ".ini" created with copied content, paste content in the targets
*/
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Persistent
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
loop_count = 2
SetTimer, Button_Pressed, 1
return
Button_Pressed:
;COPY
if GetKeyState("F1", "P")
{
msgbox, 257, Copy all?
ifmsgbox ok
{
loop %loop_count%
{
count += 1
Send {Control Down}
Sleep 50
Send {a}
Sleep 50
Send {c}
Sleep 50
Send {Control Up}
Sleep 50
ClipSaved := Clipboard
IniWrite, %ClipSaved%, Copy_Paste_Content.ini, 1, %count%
Send {Tab 2} ;NUMBER OF "Tab" DEFINED WITH THE LOCATION OF THE VARIABLES IN THE SITUATION OF THE USER
Sleep 50
}
count = 0
msgbox, Ready!
Run, %A_WorkingDir%\Copy_Paste_Content.ini
}
}
;PASTE
if GetKeyState("F2", "P")
{
msgbox, 257, Paste all?
ifmsgbox ok
{
loop %loop_count%
{
count += 1
IniRead, ClipSaved, Copy_Paste_Content.ini, 1, %count%, EMPTY
Sleep 50
Clipboard := ClipSaved
Sleep 50
Send {Control Down}
Sleep 50
Send {a}
Sleep 50
Send {v}
Sleep 50
Send {Control Up}
Sleep 50
Send {Tab 2} ;NUMBER OF "Tab" DEFINED WITH THE LOCATION OF THE VARIABLES IN THE SITUATION OF THE USER
Sleep 50
}
count = 0
msgbox, Ready!
}
}
Return
F1::
F2::
Return
Key(F1) to start to copy the values
Key(F2) to start to paste the modified values
The copied coletive of values of the variables can be modified of a form more easy(some times of a form totaly automataic)
while in a external text outside of the engine in some cases...
Good to cases that is need modific various part of text like in translations of language for example
