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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>

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

Reply via email to