MakeDirectory

Feature requests for future versions of Hollywood can be voiced here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

MakeDirectory

Post by djrikki »

MakeDirectory($drawername, [icon])

MakeDirectory with the given name and optionally create an icon for it (AmigaOS only plus other relevant platforms).
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Re: MakeDirectory

Post by Juan Carlos »

It works? with this easy instruction, incredible.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: MakeDirectory

Post by djrikki »

Nope, MakeDirectory has only one argument... I was suggesting Andreas add a 2nd argument. This is the Wishlist section of the forum yes? :roll:
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
Juan Carlos
Posts: 887
Joined: Mon Sep 06, 2010 1:02 pm

Re: MakeDirectory

Post by Juan Carlos »

yes, it is a good idea to add to Hollywood.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: MakeDirectory

Post by airsoftsoftwair »

That's too simplistic. You can just do that using:

Code: Select all

Function p_MakeDirectory(d$, icon)
  MakeDirectory(d$)
  If icon = True Then CopyFile("ENV:Sys/def_drawer.info", ....)
EndFunction
No need to extend Hollywood for this.
Post Reply