Search found 237 matches

by jPV
Mon Apr 15, 2019 5:54 pm
Forum: General programming
Topic: How to know if a directory or Path is valid?
Replies: 5
Views: 328

Re: How to know if a directory or Path is valid?

You can check if the volume is valid with the HaveVolume() function. And if you then need to check for a deeper directory structure, you can use the Exists() function.
by jPV
Sat Apr 06, 2019 4:53 pm
Forum: MUI Royale
Topic: Using MUI's built-in images
Replies: 3
Views: 280

Re: Using MUI's built-in images

Oh, thanks! Documentation seems to be missing that: https://www.hollywood-mal.com/docs/html ... rmat_.html
by jPV
Sat Apr 06, 2019 12:13 pm
Forum: MUI Royale
Topic: Using MUI's built-in images
Replies: 3
Views: 280

Using MUI's built-in images

Can you use MUI's built-in images somehow with the text formatting codes? There's \33A[s] for Hollywood's brushes, but could I get pre-defined images inserted to text? Or convert the pre-defined images to brushes or something? At the moment I would like to use pre-defined arrow images in listviewcol...
by jPV
Tue Apr 02, 2019 5:28 pm
Forum: Showcase
Topic: RNORadio
Replies: 7
Views: 705

RNORadio

RNORadio is a GUI based internet radio player program for MP3 streams. The actual streaming and playback is based on the CgmRadio program, but RNORadio still works as a stand-alone program with no dependencies. The program is available for MorphOS. Features: - Two GUI options: MUI or custom skin(s)...
by jPV
Sat Mar 30, 2019 6:49 pm
Forum: Wishlist
Topic: Getting the "launch" dir
Replies: 4
Views: 438

Re: Getting the "launch" dir

Maybe, if it would give the full path always or something? Currently it is like this, if you compile this as "testprogram": ConsolePrint("Dir:", GetCurrentDirectory()) ConsolePrint("File:", GetFileArgument()) And then try to run it like this: System:> ram:testprogram MorphOS.readme Dir: Ram Disk: Fi...
by jPV
Sat Mar 30, 2019 10:07 am
Forum: Wishlist
Topic: Getting the "launch" dir
Replies: 4
Views: 438

Getting the "launch" dir

I have programs that take an input file as a command line argument, and if the file is given without a path (the input file is in the same dir with a Hollywood program, or you launch the Hollywood program from elsewhere like SYS:Applications/MyProgram filetobeopened.txt), Hollywood doesn't find the ...
by jPV
Mon Mar 18, 2019 5:09 pm
Forum: Newbie questions
Topic: Hollywood programs listed anywhere?
Replies: 5
Views: 587

Re: Hollywood programs listed anywhere?

Is there anywhere on this site (or elsewhere) that Hollywood developers can list their programs made with Hollywood? It would be great to be able to search through a long list of everything that has been created with Hollywood, or at least the programs that are complete, and their developers want t...
by jPV
Mon Mar 11, 2019 3:07 pm
Forum: Hollywood bugs
Topic: SendRexxCommand(): Issues with quotes in the command
Replies: 4
Views: 363

Re: SendRexxCommand(): Issues with quotes in the command

RXCmd might do some own magic there, maybe it encapsulates the line automatically.. and * is the escape character in the shell, so it's used when launched directly from the shell prompt... but if you write an ARexx script and try to use this from there, you'll have to do the same way like in Hollywo...
by jPV
Mon Mar 11, 2019 8:56 am
Forum: Hollywood bugs
Topic: SendRexxCommand(): Issues with quotes in the command
Replies: 4
Views: 363

Re: SendRexxCommand(): Issues with quotes in the command

And to get ' included in the texts (for example with "don't" words etc), convert ' characters to double ':

Code: Select all

str$=ReplaceStr(str$, "'", "''")
(before the previous line of course)
by jPV
Mon Mar 11, 2019 7:21 am
Forum: Hollywood bugs
Topic: SendRexxCommand(): Issues with quotes in the command
Replies: 4
Views: 363

Re: SendRexxCommand(): Issues with quotes in the command

I think it's ARexx itself that gets confused. Try putting the whole string inside other kinds of quotes (if you use " in the string, put it in ', or vice versa).

Try adding this before your debugprint line:

Code: Select all

str$="'" .. str$ .. "'"