Search found 167 matches

by p-OS
Sun Feb 10, 2019 10:16 pm
Forum: Announcements
Topic: Hollywood 8: Supremacy out now!
Replies: 65
Views: 77044

Re: Hollywood 8: Supremacy out now!

"System notifications are now supported"

Is this a Android only feature or available on the other platforms as well ?
by p-OS
Sun Jan 06, 2019 10:28 pm
Forum: Newbie questions
Topic: Actual Book on Hollywood 7?
Replies: 6
Views: 6212

Re: Actual Book on Hollywood 7?

:)
I never liked, that I have to download extract it from Linux tar.bzip as it is quite slow to navigate through that archive type on a G4...
(and on Windows this type is not supported at all by default)
by p-OS
Sun Jan 06, 2019 3:19 am
Forum: Wishlist
Topic: Metamethod for reading any item
Replies: 3
Views: 3313

Re: Metamethod for reading any item

Hi, if you have an even simpler solution (working with the current Hollywood version), please share your ideas ! My suggestion was the simpler version of what i actually implemented for my purposes: mytab={ x=3, y=7, z=9 } --> mytab={ oldmytab={ {"x", 3 }, {"y", 7 }, {"z&quo...
by p-OS
Sat Jan 05, 2019 4:01 am
Forum: Wishlist
Topic: Metamethod for reading any item
Replies: 3
Views: 3313

Re: Metamethod for reading any item

Well, __index and __newindex only work for non-existing entries in a table. You want them to work for every access (also for existing table entries), Right ? There is a workaround: Put a table around your existing table, with index and newindex defined. Example: you have: mytab={1,2,3} make instead:...
by p-OS
Mon Dec 31, 2018 12:21 am
Forum: General programming
Topic: Android Svreenshot Utility - what's wrong with my code
Replies: 2
Views: 2850

Android Svreenshot Utility - what's wrong with my code

I wrote a tiny screengrabber Utility for Android 8.1 When running I don't get any error Messages, but also no result: mydesktop.png is not created… I wonder what might be wrong with my code ? @FILE 1,"dummy.jpg",{link=True} @DISPLAY {hidden=True} Wait(500) mybrush=GrabDesktop(Nil) SaveBrus...
by p-OS
Thu Dec 06, 2018 9:30 pm
Forum: Newbie questions
Topic: I find function Volume exists
Replies: 6
Views: 4445

Re: I find function Volume exists

Ok, tried under Win, there it worked...the requester asking is a Amiga typical feature (and in most cases a useful one)
by p-OS
Wed Dec 05, 2018 11:51 pm
Forum: Newbie questions
Topic: I find function Volume exists
Replies: 6
Views: 4445

Re: I find function Volume exists

Exists() not only works with files, but also with directories and volumes or devices...
by p-OS
Fri Nov 23, 2018 1:29 am
Forum: General programming
Topic: Accessing numerically indexd table inside a numerically indexed table
Replies: 2
Views: 2816

Re: Accessing numerically indexd table inside a numerically indexed table

Code: Select all

buts = { { 0,  0,  100,  50},
            {100,  0, 80,  50},
            {180,  0, 100, 50} }

 For k = 0 To 2
          DebugPrint (buts[k][0] .. " " .. buts[k][1] .. " " .. buts[k][2] .. " " .. buts[k][3]) 
 Next
by p-OS
Sat Jun 09, 2018 5:04 pm
Forum: Newbie questions
Topic: it is possible to send raw data (tcp)
Replies: 7
Views: 5976

Re: it is possible to send raw data (tcp)

A common way für sending data over the net avoiding problems with specific chars is to encode (und after receiving decode) as base64. Hollywood also has a function for that in string library
by p-OS
Sat Jun 09, 2018 11:47 am
Forum: Newbie questions
Topic: it is possible to send raw data (tcp)
Replies: 7
Views: 5976

Re: it is possible to send raw data (tcp)

From the documentation: In many programming languages a zero character defines the end of the string. Not so in Hollywood. Hollywood allows you to use as many zero characters as you want in your strings. All functions of the string library are zero character safe. For example, this code would return...