[JW Lua] Reading the path/filename of the current plugin

Jan Angermüller jan at angermueller.com
Sat Jan 31 17:45:32 CET 2015


Great to hear from you, Jari !
Yes, those methods would be fine.
Jan

Am 31.01.2015 um 17:36 schrieb Jari Williamsson:
> Jan,
>
> Great suggestion, I'll add such a feature! Would methods like 
> FCString::SetRunningLuaFolderPath() and 
> FCString::SetRunningLuaFilePath() suit your purposes?
>
> Best regards,
>
> Jari Williamsson
>
>
> On 2015-01-31 14:57, Jan Angermüller wrote:
>> Jari,
>>
>> it's possible to read the general Finale plug-in path with FCString.
>> But is it also possible to read the plug-in path of the current JW Lua
>> script ?
>> And maybe even its filename ?
>> I.e.
>> c:\program files\Finale 2012\Plug-ins    (general Finale plug-in path)
>> compared to
>> c:\program files\Finale 2012\Plug-ins\jw lua scripts\ (lua script path)
>> c:\program files\Finale 2012\Plug-ins\jw lua scripts\copylayers.lua (lua
>> script)
>>
>> I am asking because I want to read/save ini-files for the plug-ins.
>> And - if possible - those should be found in the same directory as the
>> plug-in script.
>>
>> Best regards,
>> Jan
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>>
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>


-- 
Jan Angermüller
Jevenstedter Str. 80
22547 Hamburg
Tel. 040 - 28 94 84 82
www.angermueller.com





More information about the JWLua mailing list