ZTzTopiaa Posted April 20, 2019 Share Posted April 20, 2019 Hey guys i want undo value use script no manual. Link to comment Share on other sites More sharing options...
Administrators Enyby Posted April 20, 2019 Administrators Share Posted April 20, 2019 Save old value to variable, before change. After that, when you need undo - restore it, from variable. [added 1 minute later] You can try use undo button during script record and see how this implemented in recorded script. Exactly I described above. Link to comment Share on other sites More sharing options...
ZTzTopiaa Posted April 20, 2019 Author Share Posted April 20, 2019 Quote Quote Quote Quote goto axz ::axz:: goblok = ({'Haxz','Undo'}) if goblok == 1 then goto hax end if goblok == 2 then goto undo end ::undo:: if revert ~= nil then gg.setValues(revert) end goto axz ::hax:: gg.searchNumber('100',gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) revert = gg.getResults(600) gg.editAll('1',gg.TYPE_DWORD) end goto axz This is i mean but thx you @Enyby Link to comment Share on other sites More sharing options...
Question
ZTzTopiaa
Hey guys i want undo value use script no manual.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.