Search found 4309 matches

by airsoftsoftwair
Thu Sep 10, 2020 7:34 pm
Forum: Newbie questions
Topic: CountJoysticks() reports one joystick to much
Replies: 2
Views: 107

Re: CountJoysticks() reports one joystick to much

That's more of a feature :) The problem is that lowlevel.library always seems to report the presence of a joystick no matter if one is connected or not and there is no real way for Hollywood to do some better diagnosis here.
by airsoftsoftwair
Thu Sep 10, 2020 7:29 pm
Forum: RapaGUI
Topic: New HTMLview Class for Android (Viewing PDFs)
Replies: 2
Views: 134

Re: New HTMLview Class for Android (Viewing PDFs)

I'm afraid that won't work because HTMLview can't view PDF. But you could probably show the PDF using Run()...
by airsoftsoftwair
Thu Sep 10, 2020 7:24 pm
Forum: Newbie questions
Topic: maxchrs setting is ignored
Replies: 2
Views: 88

Re: maxchrs setting is ignored

This is a reqtools.library limitation. It doesn't support a maximum string length when in numerical mode.
by airsoftsoftwair
Thu Sep 10, 2020 7:20 pm
Forum: Hollywood bugs
Topic: Getting the correct IP in Linux
Replies: 6
Views: 1212

Re: Getting the correct IP in Linux

Btw, as a workaround for getting the IP address without requiring an Internet connection you could use UDP. This is a connectionless protocol so it won't try to establish any connection before you try to send or receive something. So you could just do: CreateUDPObject(1, 80, "8.8.8.8", #UDPCLIENT) D...
by airsoftsoftwair
Thu Sep 10, 2020 7:19 pm
Forum: Newbie questions
Topic: Running script from UltraEdit on Windows
Replies: 7
Views: 159

Re: Running script from UltraEdit on Windows

Hmm, then this looks like an UltraEdit limitation. When using -forceflush Hollywood will flush all output to stdout after each new line so it's definitely possible to capture this and redirect it to an output window while the program is still running. But I'm not sure if UltraEdit supports this at a...
by airsoftsoftwair
Thu Sep 10, 2020 6:41 pm
Forum: Newbie questions
Topic: Running script from UltraEdit on Windows
Replies: 7
Views: 159

Re: Running script from UltraEdit on Windows

You also need to use Hollywood_Console.exe, not Hollywood.exe.
by airsoftsoftwair
Wed Sep 09, 2020 6:38 pm
Forum: Newbie questions
Topic: Running script from UltraEdit on Windows
Replies: 7
Views: 159

Re: Running script from UltraEdit on Windows

Try running Hollywood with the "-forceflush" console argument. This should solve the problem...
by airsoftsoftwair
Wed Sep 09, 2020 6:37 pm
Forum: Hollywood bugs
Topic: GetLocalIP() with #NETWORKSERVER
Replies: 6
Views: 1073

Re: GetLocalIP() with #NETWORKSERVER

Done now: - New: Added GetLocalInterfaces() to the network library; this will return a list of all interfaces that are currently available; it will return a table that contains "Name", "Address", and "Protocol" for each item; this allows you to conveniently determine a system's local IP address
by airsoftsoftwair
Wed Sep 09, 2020 6:37 pm
Forum: Hollywood bugs
Topic: Getting the correct IP in Linux
Replies: 6
Views: 1212

Re: Getting the correct IP in Linux

Code: Select all

- New: Added GetLocalInterfaces() to the network library; this will return a list of all interfaces that
  are currently available; it will return a table that contains "Name", "Address", and "Protocol" for each
  item; this allows you to conveniently determine a system's local IP address
by airsoftsoftwair
Mon Sep 07, 2020 10:20 pm
Forum: Hollywood bugs
Topic: GetLocalIP() with #NETWORKSERVER
Replies: 6
Views: 1073

Re: GetLocalIP() with #NETWORKSERVER

Interesting. So is there a way to get Hollywood to return the LocalIP address (assuming it's not known) without first making contact with the outside world (like using OpenConnection(1, "www.google.com", 80) does)? It's possible but can be a little inconvenient. See here for an approach: https://fo...