Jump to content

Yenile, Yeni Klasör Açma vs. Gibi Işlemler Nasıl?


nevzat34
 Share

Recommended Posts

Mrb arkadaşlar egemynet'in masaüstü çalışmasında ( http://www.tnctr.com/topic/134319-masaustu-calythmasy/ ) başlat menüsü, yenile, yeni klasör açma gibi işlemleri nasıl yapabiliriz? Bunun dışında N-lite ile cd ye entegre edilemiyor başka bi yöntemi var mı? Edited by nevzat34
Link to comment
Share on other sites

  • 2 hafta sonra ...

[quote name='Kral__' date='05 November 2011 - 14:51 ' timestamp='1320497504' post='1107128']
arkadaş sağ tıklayınca yenile,yeni klasör gibi özelliklerin gelmesini istemiyormu tmm dediğin plugin ile yapılabilir
[/quote]

[b]Nasıl Yapılacakmış ? Bi İzah Etsene.[/b]

Link to comment
Share on other sites

[b][font="Arial"][color="#FF0000"]Global :[/color][/font][/b]


[spoiler]function Tray()

tblMenu = {};
tblMenu[1] ={};
tblMenu[1].Text = "Yenile";
tblMenu[1].ID = 100;
tblMenu[1].IconID = 11;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;

tblMenu[2] ={};
tblMenu[2].Text = "Yapıştır";
tblMenu[2].ID = 101;
tblMenu[2].IconID = 11;
tblMenu[2].Checked = false;
tblMenu[2].Enabled = true;

tblMenu[3] ={};
tblMenu[3].Text = "Kes";
tblMenu[3].ID = 102;
tblMenu[3].IconID = 11;
tblMenu[3].Checked = false;
tblMenu[3].Enabled = true;

tblMenu[4] ={};
tblMenu[4].Text = "Kopyala";
tblMenu[4].ID = 103;
tblMenu[4].IconID = 11;
tblMenu[4].Checked = false;
tblMenu[4].Enabled = true;

tblMenu[5] ={};
tblMenu[5].Text = "Başlat Menüsü";
tblMenu[5].ID = 104;
tblMenu[5].IconID = 11;
tblMenu[5].Checked = false;
tblMenu[5].Enabled = true;

ptMouse = System.GetMousePosition(false, nil);

nRes = Application.ShowPopupMenu(ptMouse.X, ptMouse.Y, tblMenu, TPM_RIGHTALIGN, TPM_TOPALIGN, true, false);

if(nRes == 100)then


elseif(nRes == 101)then


elseif(nRes == 102)then


elseif(nRes == 103)then


elseif(nRes == 104)then

end
end

[/spoiler]
[color="#FF0000"][b][font="Arial"]Right Click[/font][/b][/color]

Tray()

Kodlar Bunlar Ben Bunu Kullanıyorum

Link to comment
Share on other sites

[quote]tblMenu[1].Text = "Yenile";
tblMenu[1].ID = 100;[/quote]

yazmış altınada

[quote]if(nRes == 100)then[/quote]

yazmış. budaID = 100 olanın kodunu buraya yazacaksın demek oluyor.

Page.ClickObject("Button1")

dersen yenileye basınca button1'e tıklar.

Link to comment
Share on other sites

  • 2 hafta sonra ...

[quote name='Kral__' date='05 November 2011 - 14:20 ' timestamp='1320502832' post='1107173']
[b][font="Arial"][color="#FF0000"]Global :[/color][/font][/b]


[spoiler]function Tray()

tblMenu = {};
tblMenu[1] ={};
tblMenu[1].Text = "Yenile";
tblMenu[1].ID = 100;
tblMenu[1].IconID = 11;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;

tblMenu[2] ={};
tblMenu[2].Text = "Yapıştır";
tblMenu[2].ID = 101;
tblMenu[2].IconID = 11;
tblMenu[2].Checked = false;
tblMenu[2].Enabled = true;

tblMenu[3] ={};
tblMenu[3].Text = "Kes";
tblMenu[3].ID = 102;
tblMenu[3].IconID = 11;
tblMenu[3].Checked = false;
tblMenu[3].Enabled = true;

tblMenu[4] ={};
tblMenu[4].Text = "Kopyala";
tblMenu[4].ID = 103;
tblMenu[4].IconID = 11;
tblMenu[4].Checked = false;
tblMenu[4].Enabled = true;

tblMenu[5] ={};
tblMenu[5].Text = "Başlat Menüsü";
tblMenu[5].ID = 104;
tblMenu[5].IconID = 11;
tblMenu[5].Checked = false;
tblMenu[5].Enabled = true;

ptMouse = System.GetMousePosition(false, nil);

nRes = Application.ShowPopupMenu(ptMouse.X, ptMouse.Y, tblMenu, TPM_RIGHTALIGN, TPM_TOPALIGN, true, false);

if(nRes == 100)then


elseif(nRes == 101)then


elseif(nRes == 102)then


elseif(nRes == 103)then


elseif(nRes == 104)then

end
end

[/spoiler]
[color="#FF0000"][b][font="Arial"]Right Click[/font][/b][/color]

Tray()

Kodlar Bunlar Ben Bunu Kullanıyorum
[/quote]


Bu kodları Ana Menü Script bölümüne kopyalıyorum Olmuyor.

Link to comment
Share on other sites

[center]Kırmızı yer traydaki ıdsini yaz altınada kodunu yapıştı.

[spoiler]
[quote]function Tray()

tblMenu = {};
tblMenu[1] ={};
tblMenu[1].Text = "Yenile";
tblMenu[1].[color="#FF0000"]ID = 100;[/color]
tblMenu[1].IconID = 11;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;

tblMenu[2] ={};
tblMenu[2].Text = "Yapıştır";
tblMenu[2].[color="#FF0000"]ID = 101;[/color]
tblMenu[2].IconID = 11;
tblMenu[2].Checked = false;
tblMenu[2].Enabled = true;

tblMenu[3] ={};
tblMenu[3].Text = "Kes";
tblMenu[3].[color="#FF0000"]ID = 102;[/color]
tblMenu[3].IconID = 11;
tblMenu[3].Checked = false;
tblMenu[3].Enabled = true;

tblMenu[4] ={};
tblMenu[4].Text = "Kopyala";
tblMenu[4].[color="#FF0000"]ID = 103;[/color]
tblMenu[4].IconID = 11;
tblMenu[4].Checked = false;
tblMenu[4].Enabled = true;

tblMenu[5] ={};
tblMenu[5].Text = "Başlat Menüsü";
tblMenu[5].[color="#FF0000"]ID = 104;[/color]
tblMenu[5].IconID = 11;
tblMenu[5].Checked = false;
tblMenu[5].Enabled = true;

ptMouse = System.GetMousePosition(false, nil);

nRes = Application.ShowPopupMenu(ptMouse.X, ptMouse.Y, tblMenu, TPM_RIGHTALIGN, TPM_TOPALIGN, true, false);
if(nRes == [color="#FF0000"]100[/color])then
[color="#FF0000"][b]Kod[/b][/color]
elseif(nRes == [color="#FF0000"]101[/color])then
[color="#FF0000"][b]Kod[/b][/color]
elseif(nRes == [color="#FF0000"]102[/color])then
[color="#FF0000"][b]Kod[/b][/color]
elseif(nRes == [color="#FF0000"]103[/color])then
[color="#FF0000"][b]Kod[/b][/color]
elseif(nRes == [color="#FF0000"]104[/color])then
end
end[/quote][/spoiler][/center]

Link to comment
Share on other sites

Burda Yenilenin IDsi 100 Kırmızıyla belirtmiştim zaten

[quote]tblMenu = {};
tblMenu[1] ={};
tblMenu[1].[color="#FF0000"]Text = "Yenile"[/color];
tblMenu[1].[color="#FF0000"]ID = 100;[/color]
tblMenu[1].IconID = 11;
tblMenu[1].Checked = false;
tblMenu[1].Enabled = true;[/quote]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...