to do this in code something like this? get database folder if mac add structure name look for plugins folder if not in existence create it copy plugin from component plugin folder if windows look for plugins folder create if needed copy from inside component plugin folder
I'm not sure how to get component plain folder in 4D folder look for component (folder) and open? what if the user changes the name of the component??? THanks On Fri, 17 Nov 2017 09:43:49 +1100, Wayne Stewart via 4D_Tech wrote: > Chip, > > Yep, that should do the trick > > > Regards, > > Wayne > > > [image: --] > Wayne Stewart > [image: http://]about.me/waynestewart > <http://about.me/waynestewart> > > > On 17 November 2017 at 09:35, Chip Scheide via 4D_Tech <[email protected] >> wrote: > >> I have a plugin - Keisuke's Get Folder Size - which is installed >> (plugin folder) of a database which is itself a component. >> >> I have tested the use of the plug, directly from inside the component, >> and it works as expected. >> However, I am finally testing a lot of new code from a host database >> (which uses the component). >> >> In the host database, I am calling a method from the component which >> uses Keisuke's plugin. I am getting an error from the host database >> 'the method does not exist. >> >> Do I need to copy the plugin from the component's plugin folder to the >> host's? >> Thanks >> Chip >> --------------- >> Gas is for washing parts >> Alcohol is for drinkin' >> Nitromethane is for racing >> ********************************************************************** >> 4D Internet Users Group (4D iNUG) >> FAQ: http://lists.4d.com/faqnug.html >> Archive: http://lists.4d.com/archives.html >> Options: http://lists.4d.com/mailman/options/4d_tech >> Unsub: mailto:[email protected] >> ********************************************************************** > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

