murathassoy Posted December 30, 2011 Share Posted December 30, 2011 (edited) [center][b]Merhaba Arkadaşlar ben Aio'da SystemTray da Sağtuş eklentisine İconlar eklemek istiyorum Resimde gösterdiğim gibi onlara nasıl icon ekleyebilirim... [img]http://i.imgur.com/69rzo.png[/img] Resimde 1,2,3 yazan yerlere icon eklemek icin ornek gösterdim... Ayrıca AutoPlay Media Studio7.5 De ve AutoPlay Media Studio 8 için uyumlu olması lazım...[/b][/center] Edited December 30, 2011 by murathassoy Quote Link to comment Share on other sites More sharing options...
pilgetir Posted December 30, 2011 Share Posted December 30, 2011 (edited) Bmp uzantılı resim dosyasını Project>Menubar>Image List kısmından ekleyin ve menü kodlarınıza aşağıdaki kodu ekleyin. [quote] [color=red][b]tblMenu[1].IconID = 1 [/b][/color][/quote] Edited December 30, 2011 by pilgetir Quote Link to comment Share on other sites More sharing options...
murathassoy Posted December 30, 2011 Author Share Posted December 30, 2011 [quote name='pilgetir' date='30 December 2011 - 13:23 ' timestamp='1325244234' post='1133759'] Bmp uzantılı resim dosyasını Project>Menubar>Image List kısmından ekleyin ve menü kodlarınıza aşağıdaki kodu ekleyin. [/quote] Verdiğin komut tamamda benim kullandığım ams 7.5 türkçe bi sorun çıkmasın Quote Link to comment Share on other sites More sharing options...
pilgetir Posted December 30, 2011 Share Posted December 30, 2011 (edited) [b]Bir sorun olmaz sonuçta kod yapısı aynı değişme yok, eğer türkçeye çeviren kişi kod yapısına zarar vermemişse tabi.[/b] [color=red][b]Edit: Sorun teamdan çözüldü.[/b][/color] Edited December 30, 2011 by pilgetir Quote Link to comment Share on other sites More sharing options...
murathassoy Posted December 30, 2011 Author Share Posted December 30, 2011 [b]Sorun Çözülmüştür... Burada kalsın ihtiyacı olan aRkadaşlar Faydalanır en azından [/b] Quote Link to comment Share on other sites More sharing options...
Mehmet Posted December 30, 2011 Share Posted December 30, 2011 (edited) Ayrıca standart menü isterseniz bu şekilde oluşturabilirsiniz önce project menüsünden Settings System Tray işaretledikten sonra projenizin boş bir yerinde sağtıklayıp veya tekrar project menüsünden Global functions'a aşağıdaki kodları yapıştırmanız yeterli [img]http://i.imgur.com/RDqKj.jpg[/img] [codebox] function g_OnSystemTrayMenu(X, Y) tblMenu = {}; tblMenu[1] ={}; tblMenu[1].Text = "&SİMGE DURUMUNA"; tblMenu[1].ID = 100; tblMenu[1].Checked = false; tblMenu[1].Enabled = true; tblMenu[2] ={}; tblMenu[2].Text = "&EKRANI KAPLA"; tblMenu[2].ID = 200; tblMenu[2].Checked = false; tblMenu[2].Enabled = true; tblMenu[3] ={}; tblMenu[3].Text = "&TNCTR GİT"; tblMenu[3].ID = 300; tblMenu[3].Checked = false; tblMenu[3].Enabled = true; tblMenu[4] ={}; tblMenu[4].Text = "&HAKKINDA"; tblMenu[4].ID = 400; tblMenu[4].Checked = false; tblMenu[4].Enabled = true; tblMenu[5] ={}; tblMenu[5].Text = "&ÇIKIŞ"; tblMenu[5].ID = 500; tblMenu[5].Checked = false; tblMenu[5].Enabled = true; result = Application.ShowPopupMenu(X, Y, tblMenu, TPM_RIGHTALIGN, TPM_BOTTOMALIGN, true, false); if result == 100 then Application.Minimize() end if result == 200 then Application.Restore() end if result == 300 then File.OpenURL("http://www.tnctr.com/"); end if result == 400 then Dialog.Message("HAKKINDA", "MURAT HASSOY") end if result == 500 then Window.Close(Application.GetWndHandle(), CLOSEWND_SENDMESSAGE); end end [/codebox] Edited December 30, 2011 by MeHMeTBeN Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 30, 2011 Share Posted December 30, 2011 [center][color="#000000"]Ben genelde bunu kullanıyorum.Hem resim de konuluyor. [img]http://i.imgur.com/PtIIB.png[/img] [attachment=712:Tray.1.0.0.0.zip][/color][/center] Quote Link to comment Share on other sites More sharing options...
yasesa Posted January 9, 2012 Share Posted January 9, 2012 [quote name='ReaLyMaN' date='30 December 2011 - 14:25 ' timestamp='1325255100' post='1133812'] [center][color="#000000"]Ben genelde bunu kullanıyorum.Hem resim de konuluyor. [img]http://i.imgur.com/PtIIB.png[/img] [attachment=712:Tray.1.0.0.0.zip][/color][/center] [/quote] ben burdaki örnekleri çalıştıramadım. aşağıdaki hata mesajı çıkıyor. Performing Pre-Build Checks... Checking audio settings... Checking scripts... Checking project settings... Checking object settings... Merging inherited pages... Assigning tab indexes... Collecting Plugins... Error: Plugin "Tray\Tray.lmd" is not licensed for re-distribution 1 Errors, 0 Warnings Build failed. Quote Link to comment Share on other sites More sharing options...
ATTACK_09 Posted January 9, 2012 Share Posted January 9, 2012 (edited) Tray plugini yüklü deil yada bi sorun var burada var bi bak: [code]http://www.tnctr.com/topic/191874-129-action-plugins/[/code] Edited January 9, 2012 by ATTACK_09 Quote Link to comment Share on other sites More sharing options...
NotToday Posted January 9, 2012 Share Posted January 9, 2012 Pluginde projenin içinde vermiştim. Quote Link to comment Share on other sites More sharing options...
yasesa Posted January 9, 2012 Share Posted January 9, 2012 [quote name='ReaLyMaN' date='09 January 2012 - 20:00 ' timestamp='1326139235' post='1138121'] Pluginde projenin içinde vermiştim. [/quote] vermiş olduğun projenin içindekide arkadaşın vermiş olduğu yerdeki pluginlerde çalışmadı. AutoPlay Media Studio 8 de sorun var sanırım. internette bulup tekrar indireyim. yada bildiğiniz bir site varsa link verin ordan indireyim. sanırım Error: Plugin "Tray\Tray.lmd" is [b]not licensed for re-distribution[/b] böyle bir sorunum var. Quote Link to comment Share on other sites More sharing options...
ATTACK_09 Posted January 9, 2012 Share Posted January 9, 2012 (edited) ams de sorun oldugunu sanmıyorum ama al buradan son sürümü indir http://www.tnctr.com/topic/51523-autoplay-media-studio-8070/page__st__40 Edited January 9, 2012 by ATTACK_09 Quote Link to comment Share on other sites More sharing options...
NotToday Posted January 9, 2012 Share Posted January 9, 2012 Ara sıra bende de aynı kıllığı yapıyor.Silip yükleyince düzeliyor.Üstelik Türkçe kullanmama rağmen.Anlayamadım problemi Quote Link to comment Share on other sites More sharing options...
yasesa Posted January 9, 2012 Share Posted January 9, 2012 [quote name='ReaLyMaN' date='09 January 2012 - 20:23 ' timestamp='1326140632' post='1138149'] Ara sıra bende de aynı kıllığı yapıyor.Silip yükleyince düzeliyor.Üstelik Türkçe kullanmama rağmen.Anlayamadım problemi [/quote] bende arkadaşın vermiş olduğu yerden türkçesini indirmiştim buseferde ing. deneyim busefer en alttakini indiriyorum gerçi oraya yazan arkadaş türkçemi ing. yazmamış ama sanırım ing. Quote Link to comment Share on other sites More sharing options...
ATTACK_09 Posted January 9, 2012 Share Posted January 9, 2012 Türkçe yamalar bazen sorun yaratıyor bende de yapmıştı bi ara tray ıconu kullanamıyodum Quote Link to comment Share on other sites More sharing options...
NotToday Posted January 9, 2012 Share Posted January 9, 2012 Türkçe çevirileri kullanma.Hem İngilizceni ilerletirsin.Türkçe çeviri yapılırken kod yapısı zarar görüyor kimi zaman.Garip garip hatalar oluşuyor. Quote Link to comment Share on other sites More sharing options...
yasesa Posted January 9, 2012 Share Posted January 9, 2012 silip ing. yükleyince çalıştı. bugün iki üçü saatimi buna harcadım ama birtürlü olmamıştı hatta olmuyor diye konudu açtım. bütün sorun proğramdanmiş. buda bana bir ders oldu. kusura bakmayın sizleride boşuna meşkul etmiş oldum. hayırlı akşamlar. [quote name='ReaLyMaN' date='30 December 2011 - 14:25 ' timestamp='1325255100' post='1133812'] [center][color="#000000"]Ben genelde bunu kullanıyorum.Hem resim de konuluyor. [img]http://i.imgur.com/PtIIB.png[/img] [attachment=712:Tray.1.0.0.0.zip][/color][/center] [/quote] ben bunu en sonunda çalıştırdım ve kullanıyorum. yalnız birşey istediğim gibi değil. [b]ben kapatmak istediğimde proğramın (yani çarpıya bastığımda) kapatması. Minimize yaptığım zamanda tray icon olarak saklaması.[/b] bu proğram kapatmak istediğimde bile yani çarpıya bastığımda bile tray icon olarak saklıyor proğramdan çıkmanın tek yolu tray icon üzerine sağ tıklayıp kapatmak.ozaman çıkıyor. bu küçük bir değişikliği kodlarla oynayarak yapamadım. en sonunda çözdüm hep bir değişiklik yapacakmişim gibi kendimi şartlandırdım ve sorunu o şekilde düzeltmeye çalıştım sanırım ndan dolayı yapamadım. halbuki Global ın içerisindeki [codebox]function QueryAllowProjectClose() MinimizeToTray(); return false end[/codebox] kodunu kaldırmam yeterliymiş. arkadaşlar bu tray iconla ilgili sonkez soru soracam. tray icon daki menüden praoğramın değişik sayfalarını nasıl açtıra biliriz. 5 sayfalı bir proğramım var. tray menüde syfa1 diye bir menü den sayfa biri açtıra bilirmiyiz. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted January 28, 2012 Share Posted January 28, 2012 [b]@Realy, Böyle Bir Şey İçin Niçin Plugin Kullanıyorsun Ki ?[/b] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.