Find and share HowTos to various installations / configurations!
-
kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Extend Gedi
Post
by kilianvp »
I want add Functions to Gedi Menu (right click)
I can see show but if i click it nothing happens
(scripts\\gedi\\test_ext.ctl)
My code:
Code: Select all
#uses "CtrlPv2Admin"
main()
{
pvConnect("openExplorer", "show");
}
openExplorer(string filename)
{
DebugN(filename);
system("start cmd /c calc.exe");
}
>>> Here a Screencapture https://youtu.be/GUfjmnY7utU
-
mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Extend Gedi
Post
by mkoller »
pvConnect() can ONLY be used from inside scripts/gedi/projectView.ctl
(the _ext.ctl scripts are used to add actions to the gedi menu/toolbars)
-
Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Extend Gedi
Post
by Gertjan van Schijndel »
The 'pvConnect' can also be used in the configured version control script.
By adding these lines to your config file you can make your gedi project view extension working:
Code: Select all
[ui_extend]
versionControl = "test_ext"
-
kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Extend Gedi
Post
by kilianvp »
Gertjan van Schijndel wrote:
The 'pvConnect' can also be used in the configured version control script.
By adding these lines to your config file you can make your gedi project view extension working:
Code: Select all
[ui_extend]
versionControl = "test_ext"
works perfect thx
-
kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Extend Gedi
Post
by kilianvp »
Here a demo Video what i made:
https://youtu.be/G203-Vwj7BY