Search found 160 matches

by fingus
Fri Oct 07, 2011 10:34 am
Forum: General programming
Topic: Get actual Filename of the Program
Replies: 2
Views: 1785

Get actual Filename of the Program

Is it possible to check and get the actual Name of a Hollywood-programm being startet within the same Program?

If the user change the Name of the Program then this code doens´t work anymore and gives a hollywood-error:

Code: Select all

type, tt, deftools$ = GetIconProperties("myprogrammname.info")
by fingus
Fri Oct 07, 2011 10:32 am
Forum: General programming
Topic: How to prevent running multiple instances?
Replies: 3
Views: 2789

How to prevent running multiple instances?

How to prevent running multiple instances of one and the same hollywood-program? Is there something like "superglobal" variable, who is set by the first instance of a hollywood-programm and can be reached and detected by a second instance of the same hollywood-program? I don´t like the dirty way to ...
by fingus
Mon Sep 26, 2011 9:58 am
Forum: General programming
Topic: Savebrush PNG Alpha doesn't work!
Replies: 5
Views: 3825

Re: Savebrush PNG Alpha doesn't work!

oups, my fault! here are the images again: original with alpha working: http://www.scienide.de/n_sunny.png scaled and trimmed one with missing alpha (savebrush, see above): http://www.scienide.de/ico.png and the same in original size: http://www.scienide.de/buggy+alpha.png As you can see, something ...
by fingus
Fri Sep 23, 2011 10:24 pm
Forum: Showcase
Topic: Superhubert
Replies: 0
Views: 2000

Superhubert

Superhubert - the game- (german) A not so serious production for my co-worker as just for fun project, because he did a small fun film in our company before, so i had this idea for the game! ;-) I build this game in around 4 weeks on some hours in the evening to explore the power of hollywood. http:...
by fingus
Fri Sep 23, 2011 9:54 pm
Forum: General programming
Topic: Savebrush PNG Alpha doesn't work!
Replies: 5
Views: 3825

Re: Savebrush PNG Alpha doesn't work!

I can't reproduce this problem. Please provide a fully working (but small!) code snippet. Then I can see what's wrong there. Ok, do this: 1. Save the second PNG-Image from my first post named "n_sunny.png" and save it to ram: 2. Copy and execute this code: @BRUSH 1,"ram:n_sunny.png", {loadalpha = T...
by fingus
Mon Sep 19, 2011 11:48 pm
Forum: Hollywood bugs
Topic: GetIconProperties is crashing without tooltypes set
Replies: 1
Views: 1921

GetIconProperties is crashing without tooltypes set

Its crashing with a GR on startup while i tried to read some tooltypes with GetIconProperties that are not present in the .info-icon file!
by fingus
Mon Sep 19, 2011 11:43 pm
Forum: Wishlist
Topic: Dynamical Compilation and executable creation
Replies: 2
Views: 2607

Dynamical Compilation and executable creation

Is it possible just only to copy the parts used in a hollywood-project to the executable (the hollywood "player"), to keep the executable filesize as small as possible.
I know that theres something like a virtual machine in it and 1 MB for that isn't very big for such a hellkitchen ;-)
by fingus
Mon Sep 19, 2011 11:36 pm
Forum: General programming
Topic: Savebrush PNG Alpha doesn't work!
Replies: 5
Views: 3825

Savebrush PNG Alpha doesn't work!

CopyBrush(iconnr, 1000) trimbrush(1000) ScaleBrush(1000,40,#KEEPASPRAT) SaveBrush(1000, "ram:T/ico.png", IMGFMT_PNG) gives me this: http://blorkbuch.xpedicion.de/index.php?action=dlattach;topic=748.0;attach=665 Alpha is missing! source was this: http://blorkbuch.xpedicion.de/index.php?action=dlattac...
by fingus
Mon Sep 19, 2011 10:01 pm
Forum: General programming
Topic: Sendrexx and Ringhio
Replies: 2
Views: 2097

Re: Sendrexx and Ringhio

Second one is working, thanks for your hint!
by fingus
Fri Sep 16, 2011 9:03 pm
Forum: General programming
Topic: Sendrexx and Ringhio
Replies: 2
Views: 2097

Sendrexx and Ringhio

I got some problems using the Sendrexx-Command with Ringhio. This is the Example-Rexx-Script of Ringio located in Sys:Documentation/Ringhio/rx_testringhio.rexx /* Small script for testing Ringhio */ ;options results address RINGHIO ;'REGISTERAPP APP=TESTRINGHIO ICON="SYS:Documentation/Ringhio/rx_tes...