Which is what you have to do to add a plugin to Devolution. Someone turned me 
on to this:

eg. I have in the Custom 1 script:

on mouseUp
   -- Your custom code goes here:
   put revenvironmentuserpluginspath() & "/" into tPluginsPath
   put tPluginsPath & "Navigator.rev" into tFilePath
   go stack tFilePath
   go stack (the defaultStack)
end mouseUp


On Mar 29, 2021, at 4:40 PM, Mark Wieder via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

On 3/29/21 4:06 PM, matthias rebbe via use-livecode wrote:
Dear all,
is there a way to get the path to the 'My Livecode' or the 'Plugins' folder?
Searched now for more than 40 minutes and did not find anything about it?
Is there maybe a hidden variable / property available for this?

Not well documented, but...

put revEnvironmentUserPluginsPath()

--
Mark Wieder
ahsoftw...@gmail.com<mailto:ahsoftw...@gmail.com>

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to