Search found 81 matches

by emeck
Sun May 07, 2017 9:02 am
Forum: RapaGUI
Topic: Catalogs in RapaGui
Replies: 10
Views: 6313

Re: Catalogs in RapaGui

Possibly you have some special characters like german "ä" "ö" or french accents in your xml-file?? No special characters. I tried only with english as default and english catalog too. The catalog table with the strings works when the string variables are called inside the HW script for each corresp...
by emeck
Thu May 04, 2017 11:18 pm
Forum: RapaGUI
Topic: Catalogs in RapaGui
Replies: 10
Views: 6313

Re: Catalogs in RapaGui

Just check out the documentation: http://www.hollywood-mal.com/docs/html/hollywood/CatalogFormatNote.html I'm also having trouble with this. My catalog strings work when used in the hws script but nos when used in the xml file. I get this message: Error parsing XML: not well-formed (invalid token) ...
by emeck
Tue May 02, 2017 11:07 pm
Forum: Newbie questions
Topic: OpenCatalog
Replies: 6
Views: 4363

Re: OpenCatalog

You need to use a "Catalogs" subdirectory, e.g. "Catalogs/français/convi.catalog" or "Catalogs/french/convi.catalog". Did you do that? Ok, I thought that was only for non Amiga systems, as written in the guide. I was using the LOCALE:catalogs drawers. It works now using the current drawer. Thanks! ...
by emeck
Mon May 01, 2017 4:38 pm
Forum: Newbie questions
Topic: OpenCatalog
Replies: 6
Views: 4363

OpenCatalog

Hello, I want to learn how to localize my programs. So I have a script with this code: convi_cat$={} OpenCatalog("convi.catalog") convi_cat$[0]=GetCatalogString(0, "File") convi_cat$[1]=GetCatalogString(1, "About...") convi_cat$[2]=GetCatalogString(2, "About RapaGUI...") For k= 0 To 2 debugprint(con...
by emeck
Fri Mar 31, 2017 2:05 pm
Forum: Newbie questions
Topic: capture cli output
Replies: 8
Views: 2293

capture cli output

Hello, I want to run a cli program from a Hollywood app, and to capture any output from the ran cli program. What I'm doing now is use a temporary file in T:, like this this: Local today$ Execute("date > T:today") todayfile=OpenFile(Nil, "T:today") today$=ReadLine(todayfile) CloseFile(todayfile) Del...
by emeck
Tue Mar 21, 2017 2:38 pm
Forum: General questions
Topic: Fade out music
Replies: 3
Views: 2984

Re: Fade out music

You need to assign an ID for the MP3 in the sound dialog, e.g. "MYMUSIC". Then you can access this music by using the %@MYMUSIC wildcard, e.g. like this: ... Note the Wait() call. If you don't use a short delay, the fade will be so fast that it won't be noticeable and the music will just stop right...
by emeck
Sun Mar 19, 2017 11:23 pm
Forum: General questions
Topic: Fade out music
Replies: 3
Views: 2984

Re: Fade out music

Forgot to mention this is with Designer 4 and HW 6.1 on MorphOS 3.9
by emeck
Sun Mar 19, 2017 10:17 pm
Forum: General questions
Topic: Fade out music
Replies: 3
Views: 2984

Fade out music

Hello, I have a Designer project with an mp3 as background music, loaded in the first page with id 1. I want to fade out the music in the last page, were I have this loop as code in the page: For i=64 To 0 Step -1 SetVolume(1,i) Next but when displaying the last page I get the message "Could not fin...
by emeck
Sat Apr 23, 2016 11:47 pm
Forum: Newbie questions
Topic: Open and Close a window
Replies: 10
Views: 5917

Re: Open and Close a window

@Juan Carlos I want open and close a external window from a program for example a window with a picture and after close this window no closing the main program. How do you it? Take a look at version 0.2 of my simple script for icon2png here: http://forums.hollywood-mal.com/viewtopic.php?f=11&t=1342#...
by emeck
Sat Apr 23, 2016 11:39 pm
Forum: Tutorials
Topic: A simple script for a tutorial
Replies: 3
Views: 3590

Re: A simple script for a tutorial

Ok, I've make some progress with my simple script and have been using it for a couple of weeks and seems to work as expected. So here is version 0.2 if anyone is interested. Doing it has helped me a lot to start learning Hollywood! I'll add latter some explanations of what I did. Comments, suggestio...