Hi,

Which three dot menu ? In the files app ?

You can use OCA.Files.fileActions.registerAction() to create new file
actions. See how the text editor does it:
https://github.com/owncloud/files_texteditor/blob/master/js/editor.js#L256
Don't use "setDefault" though.

Cheers,

Vincent

On 11/20/2015 09:32 AM, Richard Parsons wrote:
> Hello
> 
> I'm a new Owncloud app developer, but I've looked at the tutorial and so
> forth.
> 
> When writing an app, how do I get a new option avaliable in the "three dot"
> menu to run some code in my app?
> 
> Many thanks
> Richard
> 
> 
> 
> _______________________________________________
> Devel mailing list
> [email protected]
> http://mailman.owncloud.org/mailman/listinfo/devel
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to