Re_Load Posted May 29, 2019 Share Posted May 29, 2019 I want script make like this : gg.searchNumber("[number]") If there is no search result : os.exit() if present some results in the result list : search other number to refine list so I can prevent app from crash. Link to comment Share on other sites More sharing options...
CmP Posted May 29, 2019 Share Posted May 29, 2019 getResultsCount function from the API can be used to get count of found results. Example of usage: -- some search print('Found ' .. gg.getResultsCount() .. ' result(s)') Link to comment Share on other sites More sharing options...
Question
Re_Load
I want script make like this :
gg.searchNumber("[number]")
If there is no search result : os.exit()
if present some results in the result list : search other number to refine list
so I can prevent app from crash.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.