Jump to content
  • 0

Help lua script


KINGRAYje

Question

Hi .friends I have created lua script and it's working . But after searches and editing results it's it's pop show . I want to minimize it . Which command use for minimize ??

gg.toast("king")

::START::
menu=gg.choice({'ONE','TWO','EXIT'})
if menu == 1 then goto FUN end
if menu == 2 then goto F2 end
if menu == 3 then goto E1 end
if menu == nill then goto START end

::FUN::
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("123456;0:10",gg.TYPE_DWORD)
gg.refineNumber("123456",gg.TYPE_DWORD,false,gg.TYPE_DWORD)
gg.getResults(100)
gg.editAll("200000",gg.TYPE_DWORD)
gg.clearReaults()
gg.toast("hamidraza")
goto START

::F2::
gg.toast('$$$')
goto START


::E1::
print("king")
print("love")
os.exit()

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Quote

Hi .friends I have created lua script and it's working . But after searches and editing results it's it's pop show . I want to minimize it . Which command use for minimize ??

i didnot understand your problem .

explain it again .

Link to comment
Share on other sites

13 hours ago, KINGRAYje said:

Hi .friends I have created lua script and it's working . But after searches and editing results it's it's pop show . I want to minimize it . Which command use for minimize ??

gg.toast("king")

::START::
menu=gg.choice({'ONE','TWO','EXIT'})
if menu == 1 then goto FUN end
if menu == 2 then goto F2 end
if menu == 3 then goto E1 end
if menu == nill then goto START end

::FUN::
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("123456;0:10",gg.TYPE_DWORD)
gg.refineNumber("123456",gg.TYPE_DWORD,false,gg.TYPE_DWORD)
gg.getResults(100)
gg.editAll("200000",gg.TYPE_DWORD)
gg.clearReaults()
gg.toast("hamidraza")
goto START

::F2::
gg.toast('$$$')
goto START


::E1::
print("king")
print("love")
os.exit()

See

Performing an action by clicking on the GG icon:-

function doAction() local ret = gg.alert('Here some action', 'OK', 'Cancel', 'Exit') if ret == 3 then os.exit() end -- exit from the script end gg.setVisible(false) while true do if gg.isVisible() then gg.setVisible(false) doAction() end gg.sleep(100) end

 

In Examples Of Lua Scripts

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.