optional plugin inclusion

Feature requests for future versions of Hollywood can be voiced here
Post Reply
SamuraiCrow
Posts: 130
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

optional plugin inclusion

Post by SamuraiCrow » Tue Jul 12, 2016 3:12 pm

I was trying to think of a way to implement a keyfile setup similar to Hollywood's own but from within a script. In order to do this I think the most flexible way would be to allow the creation of a plugin that would be used if it is present but its absence trigger no error and allow default operations to be used instead by a conditional "include" directive, possibly as part of the same directive.

p-OS
Posts: 89
Joined: Tue Nov 02, 2010 12:56 am

Re: optional plugin inclusion

Post by p-OS » Tue Jul 12, 2016 7:01 pm

You want to have an executable , that is common to all users, but optionally load and execute some code, that is specific to single users ?
You might have a look at WriteFunction/ReadFunction. the advantage over plugin system is, taht code is fully written in Hollywood itself, and is platform independant.

SamuraiCrow
Posts: 130
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: optional plugin inclusion

Post by SamuraiCrow » Thu Jul 14, 2016 4:19 am

ReadTable and WriteTable used with my encryption plugin would work. Thanks.

Post Reply