| View previous topic :: View next topic |
| Author |
Message |
keepstill Newbie cheater
Reputation: 0
Joined: 22 May 2020 Posts: 17
|
Posted: Tue Jul 21, 2020 8:59 am Post subject: Question about url opening methods |
|
|
Hi everyone, I tried almost all url open methods. Some users say to me that the url does not opens. I'm looking for a code that can work for everyone.
Why is this happening and which method should I choose?
I have tried these before:
| Code: | os.execute("start myurl")
os.execute('open myurl')
shellExecute('myurl')
io.popen("start myurl") |
Regards.
|
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1532
|
Posted: Tue Jul 21, 2020 9:07 am Post subject: |
|
|
| Code: | | shellExecute("https://forum.cheatengine.org/viewtopic.php?t=614851") |
_________________
|
|
| Back to top |
|
 |
keepstill Newbie cheater
Reputation: 0
Joined: 22 May 2020 Posts: 17
|
Posted: Tue Jul 21, 2020 10:39 am Post subject: |
|
|
| Aylin wrote: | | Code: | | shellExecute("https://forum.cheatengine.org/viewtopic.php?t=614851") |
|
Thanks aylin. I tried this at first. But sometimes I got feedback that it didn't work.. What could be causing this?
|
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1532
|
Posted: Tue Jul 21, 2020 10:55 am Post subject: |
|
|
| keepstill wrote: | | What could be causing this? |
1) The user is not pressing the link button correctly.
2) The user may not have set a "Default Browser".
If step 2 applies, try redirecting to the common browser in Windows.
Internet Explorer!
Try the code below;
| Code: | | shellExecute("iexplore.exe", "https://forum.cheatengine.org/viewtopic.php?t=614851") |
3) I have not received an error complaint with this code (shellExecute) before.
You have to make sure that the "Button" or "Label" activating the code is working correctly.
| Code: | UDF1.CEButton1.OnClick=function()
shellExecute("iexplore.exe", "https://forum.cheatengine.org/viewtopic.php?t=614851")
end |
_________________
|
|
| Back to top |
|
 |
keepstill Newbie cheater
Reputation: 0
Joined: 22 May 2020 Posts: 17
|
Posted: Tue Jul 21, 2020 11:56 am Post subject: |
|
|
| Aylin wrote: | | keepstill wrote: | | What could be causing this? |
1) The user is not pressing the link button correctly.
2) The user may not have set a "Default Browser".
If step 2 applies, try redirecting to the common browser in Windows.
Internet Explorer!
Try the code below;
| Code: | | shellExecute("iexplore.exe", "https://forum.cheatengine.org/viewtopic.php?t=614851") |
3) I have not received an error complaint with this code (shellExecute) before.
You have to make sure that the "Button" or "Label" activating the code is working correctly.
| Code: | UDF1.CEButton1.OnClick=function()
shellExecute("iexplore.exe", "https://forum.cheatengine.org/viewtopic.php?t=614851")
end |
|
I got it completely. I am appreciated.
So how can I check browser doesn't open. Using if else can really help me a lot here.
|
|
| Back to top |
|
 |
|