badboy01 Posted December 3, 2011 Share Posted December 3, 2011 Ams de Bir Butona Tıklagınız Zaman Acılan Dialog Penceresinde 2 Tane Buton oluşturup O butonlardan Dosya çalıstırabilrmiyiz forumda cok aradım ancak bulamadım Yapan arkadaslar vardır. Yardım ederseniz sevinirim Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 (edited) [center][color="#000000"]Neresine takıldın ki ? Dialoğu aç [quote]DialogEx.Show("Dialog1", true, nil, nil);[/quote] Diyaloğu kapat [quote]DialogEx.Close(0);[/quote] Yazılımı aç [quote]File.Run("AutoPlay\\Docs\\MyProg.exe", "", "", SW_SHOWNORMAL, false);[/quote] [/color][/center] Edited December 3, 2011 by ReaLyMaN Quote Link to comment Share on other sites More sharing options...
Ejdad Posted December 3, 2011 Share Posted December 3, 2011 (edited) Konunu Bölmüş gibi oluyorum ama kusura bakma; konu açmaya değmez benim sorunum....Arkadaşlar Page 1 ve page 2 adlı sayfa var page 2 deki veriyi buton aracılıgıyla page1 deki paragrapha taşıyacam ama nasıl ? Edited December 3, 2011 by Ejdad Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 [quote name='ReaLyMaN' date='03 December 2011 - 22:01 ' timestamp='1322942512' post='1123495'] [center][color="#000000"]Neresine takıldın ki ? Dialoğu aç Diyaloğu kapat Yazılımı aç [/color][/center] [/quote] Verdigin kodları Butonun Script Bolumune mi yapıstırıcaz orasını anlayamadm bnm amacım Butona tıkladıgımızda kucuk bi sayfa acılıcak içinde 2 tane buton olcak Birinde W7 Lisans Diğerinde Xp Lisans ve tıkladıgımızda Programları çalıstırıcak Açık Soylemek gerekirse Neyi nereye yapıstırıcagımı pek bilmiyorum Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 (edited) [center][color="#000000"]Butona onclicke [quote]al()[/quote] Globale yaz [quote]function al() sText = Paragraph.GetText("Paragraph1");-----Alınacak paragraf Paragraph.SetText("Paragraph2", sText);------Verinin gnderileceği paragraf end[/quote][/color][/center] @badboy01 Evet clicke yaz ama dialog açman lazım Edited December 3, 2011 by ReaLyMaN Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 [quote name='ReaLyMaN' date='03 December 2011 - 22:10 ' timestamp='1322943031' post='1123504'] . [/quote] Sorunda orda Dialog Açamıyorum ve açtıktan sonra içine buton nasıl ekliycem :/ Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 Normal sayfaya eklediğin gibi buton ekleyebilirsin Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 [quote name='ReaLyMaN' date='03 December 2011 - 22:13 ' timestamp='1322943197' post='1123509'] Normal sayfaya eklediğin gibi buton ekleyebilirsin [/quote] ya dediklerini anlayamıyorum yada beni yanlıs anladın Dialog Oluşturuyorm ancak Tamam ve İptal gibi dügmeler war oda AMS nin standart düğmeleri onları editleyemiyormuyuz Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 (edited) Böyle ekle dioloğu [spoiler][img]http://i.imgur.com/zqp6c.png[/img][/spoiler] Bunu demek istiyorsun sanırım [spoiler][img]http://i.imgur.com/I8eII.png[/img][/spoiler] Edited December 3, 2011 by ReaLyMaN Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted December 3, 2011 Share Posted December 3, 2011 [b]Bence Sen Şöyle Birşey Yap. Tek Button Kullan. İşletim Sistemini Otomatik Algılasın. Ona Göre Aktivasyon Programını Çalıştırsın.[/b] [codebox] sSistem = System.GetOSName(); if sSistem == "Windows 7" then File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false); elseif sSistem == "Windows XP" then File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false); end [/codebox] [b]İlla Diğer Türlü Yapıcam Diyorsan Dialog ile Değil de DialogEx İle Yapabilirsin.[/b] Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 hmmm sorun bnm programda ozmn sizinki farklı bnmki Auto Play Media Studio 7.0 :/ Sizin sürümü nerden indirebilrm Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 Sitede arayarak bulabilirsin.7 biraz eski sanki Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 [quote name='Baba_' date='03 December 2011 - 22:20 ' timestamp='1322943623' post='1123516'] [b]Bence Sen Şöyle Birşey Yap. Tek Button Kullan. İşletim Sistemini Otomatik Algılasın. Ona Göre Aktivasyon Programını Çalıştırsın.[/b] [codebox] sSistem = System.GetOSName(); if sSistem == "Windows 7" then File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false); elseif sSistem == "Windows XP" then File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false); end [/codebox] [b]İlla Diğer Türlü Yapıcam Diyorsan Dialog ile Değil de DialogEx İle Yapabilirsin.[/b] [/quote] İşletim Sistemini Otomatik algılamada sorun cıkmasın Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 Hata yapması imkansız Quote Link to comment Share on other sites More sharing options...
Ejdad Posted December 3, 2011 Share Posted December 3, 2011 [quote name='Ejdad' date='03 December 2011 - 22:03 ' timestamp='1322942614' post='1123497'] Konunu Bölmüş gibi oluyorum ama kusura bakma; konu açmaya değmez benim sorunum....Arkadaşlar Page 1 ve page 2 adlı sayfa var page 2 deki veriyi buton aracılıgıyla page1 deki paragrapha taşıyacam ama nasıl ? [/quote] Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 denedim çalışmadı yoksa bnm sistem aktif diye mi oyle Kodlar Bu sSistem = System.GetOSName(); if sSistem == "Windows 7" then File.Run("AutoPlay\\Docs\\Windows Loader.exe", "", "", SW_SHOWNORMAL, false); elseif sSistem == "Windows XP" then File.Run("AutoPlay\\Docs\\xp-lisans-test.exe", "", "", SW_SHOWNORMAL, false); end Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 (edited) @ Ejdad Yukarıda verdim 5. ileti @ badboy01 bunu dene bir [quote]sSistem = System.GetOSName(); if sSistem == "Windows 7" then File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false); else if sSistem == "Windows XP" then File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false); end end[/quote] Edited December 3, 2011 by ReaLyMaN Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 evet Ama Baba_ nın verdiği kodlarla daha kolay gibi geldi ancak çalıştırmadımmı yoksa sistem ztn aktif diye fln mı çalısmadı :/ Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted December 3, 2011 Share Posted December 3, 2011 [b]@RealyMan Verdiğin Kod Hatalı. Hem Else Yazıyorsun, Hem de Ardına Bi Daha Koşullandırma Yapıyorsun.[/b] [b]@BadBoy Verdiğim Kodların Çalışması Gerek.Sistem Aktifse Bile Çalışması Gerek.[/b] Quote Link to comment Share on other sites More sharing options...
badboy01 Posted December 3, 2011 Author Share Posted December 3, 2011 (edited) [quote name='Baba_' date='03 December 2011 - 22:40 ' timestamp='1322944802' post='1123537'] [b]@RealyMan Verdiğin Kod Hatalı. Hem Else Yazıyorsun, Hem de Ardına Bi Daha Koşullandırma Yapıyorsun.[/b] [b]@BadBoy Verdiğim Kodların Çalışması Gerek.Sistem Aktifse Bile Çalışması Gerek.[/b] [/quote] hocam verdigin kodları kendim oluşturdugum Windows Lisanslama Adlı bir butonun Script> OnClik kısmına yapıstırıyorum (Kendi Program isimlerime uyarlayarak tabi ) yinede çalışmıyor Edited December 3, 2011 by badboy01 Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 3, 2011 Share Posted December 3, 2011 (edited) @Baba_ uyarı için teşekkürler.Bende de çalışmadı kod Yazdığım kodun doğrusu;(Bende çalışıyor) [quote]sSistem = System.GetOSName(); if sSistem == "Windows Xp" then File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false); else File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false); end[/quote] Edited December 3, 2011 by ReaLyMaN Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted December 3, 2011 Share Posted December 3, 2011 [b]İşletim Sistemin Windows 7 veya Windows XP Dışında Birşey Mi Yoksa [/b] Quote Link to comment Share on other sites More sharing options...
KintaRo Posted December 3, 2011 Share Posted December 3, 2011 Eğer AMS 7.X sürümü kullanıyorsanız windows 7 üzerinde System.GetOS() komutunu çalıştırdığınızda "" yani boş veri döner. Quote Link to comment Share on other sites More sharing options...
pilgetir Posted December 4, 2011 Share Posted December 4, 2011 [quote name='KintaRo' date='04 December 2011 - 00:05 ' timestamp='1322949929' post='1123604'] Eğer AMS 7.X sürümü kullanıyorsanız windows 7 üzerinde System.GetOS() komutunu çalıştırdığınızda "" yani boş veri döner. [/quote]KintaRo bazen bende deniyorum da 8de de bazen win7 boş geliyor. Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 4, 2011 Share Posted December 4, 2011 Ben kaç defa denedim bende problem çıkartmadı.ams 8 kullanıyorum. 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.