FranklinAudio in Standalone?
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Mon Jul 8 16:09:22 EDT 2013
Hi Klaus,
shouldn´t it be tFolder instead of tFile in line 2 of your script?
Regards,
Matthias
Am 08.07.2013 um 21:55 schrieb Klaus major-k <klaus at major-k.de>:
> Hi Scott,
>
> Am 08.07.2013 um 18:49 schrieb Scott Rossi <scott at tactilemedia.com>:
>
>> Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like?
>
> I put ALL externals (also revdb.xxx and all other db drivers, no subfolder!) into a folder "Externals".
> Then I do this on startup:
>
> on startup
> put the effective filename of stack "The MAIN stack" into tFile
> set itemdel to "/"
> put "Externals" into item -1 of tFolder
> put the folder into oldfolder
> set the folder to tFolder
> if the platform = "MacOS" then
> put the folders into tEx
> filter tEX with "*.bundle"
> else
> put the files into tEx
> filter tEx with "*,dll"
> end if
>
> repeat for each line i in tEx
> put tFolder & "/" & i & CR after tEXList
> end repeat
>
> delete char -1 of tEXList
> set the externals of stack "The MAIN stack" to tEXList
> start using stack "The MAIN stack"
> set the folder to oldfolder
> end startup
>
>> Thanks & Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX Design
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list