Search found 115 matches

by p-OS
Sun Jan 06, 2019 3:19 am
Forum: Wishlist
Topic: Metamethod for reading any item
Replies: 3
Views: 709

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" , 9} } } My private solutio...
by p-OS
Sat Jan 05, 2019 4:01 am
Forum: Wishlist
Topic: Metamethod for reading any item
Replies: 3
Views: 709

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: 698

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) SaveBrush(mybrush,...
by p-OS
Thu Dec 06, 2018 9:30 pm
Forum: Newbie questions
Topic: I find function Volume exists
Replies: 6
Views: 934

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: 934

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: 652

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: 1475

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: 1475

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...
by p-OS
Tue May 29, 2018 1:03 pm
Forum: Off topic
Topic: I love how the new forum version looks on my phone!
Replies: 2
Views: 1593

Re: I love how the new forum version looks on my phone!

O don't like how it looks now on my Computers. Always have to open e menu now to choose from "Quick"-Links...

And Edge seems to have Problems with the "Keep-me-logged-in" feature...
by p-OS
Mon Apr 09, 2018 11:21 pm
Forum: APK Compiler
Topic: I can't create keystore
Replies: 2
Views: 1721

Re: I can't create keystore

You want to create File in a Directory you don't have rigth to Access. On Win 7 / 10 this is Everything within Program Files or Program files (x86) . Use another Directory or start the tool creating the store as admin