zamanmakinesi Posted March 10, 2012 Share Posted March 10, 2012 (edited) öncelikle projemin apz si http://www.mediafire.com/?5rr14r6fjoy3qwv benim yapmak istediğim iki şey var bunlardan 1.si web object nesnesinde 10 dakika bekledikten sonra eğer nene kullanılamıyorsa slideshow nesnesine geri dönmesi 2.si projenin ontop çalışarak taksbarı kapatıp windowsa hiçbirşekilde müdahale edilmemesini sağlamak mümkünse expolorer exe yi kapatarak kiosk exeyi yerinde çalıştırmak yardımcı olabilecek arkadaşlar varsa sevinirim buarada kintaro arkadaşa teşekkürle rrs modülünü kullandım Edited March 13, 2012 by zamanmakinesi Quote Link to comment Share on other sites More sharing options...
0mh3r Posted March 11, 2012 Share Posted March 11, 2012 (edited) ikinci sorunun cevabı On Show [quote]Page.StartTimer(1000);[/quote] On Timer [code]instances_of_file = 0; file_to_check_for = "iexplore.exe"; processes = System.EnumerateProcesses(); for j, file_path in pairs(processes) do file = String.SplitPath(file_path); if (String.Lower(file.Filename..file.Extension)) == file_to_check_for then System.TerminateProcess(j); end end instances_of_file = 0; file_to_check_for = "taskmgr.exe"; processes = System.EnumerateProcesses(); for j, file_path in pairs(processes) do file = String.SplitPath(file_path); if (String.Lower(file.Filename..file.Extension)) == file_to_check_for then System.TerminateProcess(j); end end[/code] Edited March 11, 2012 by 0mh3r Quote Link to comment Share on other sites More sharing options...
zamanmakinesi Posted March 17, 2012 Author Share Posted March 17, 2012 verdiğin kodu çalıtıramadım yani işlemedi Quote Link to comment Share on other sites More sharing options...
MasterWoo Posted March 17, 2012 Share Posted March 17, 2012 Örnek vermiştir kendine göre düzenle onu sen Quote Link to comment Share on other sites More sharing options...
0mh3r Posted March 17, 2012 Share Posted March 17, 2012 (edited) kapatmak istediyin yada açılmasını istemediyin programın adını instances_of_file = 0; file_to_check_for = "[color="#FF0000"]iexplore.exe[/color]"; processes = System.EnumerateProcesses(); for j, file_path in pairs(processes) do file = String.SplitPath(file_path); if (String.Lower(file.Filename..file.Extension)) == file_to_check_for then System.TerminateProcess(j); end Buraya yaz Edited March 17, 2012 by 0mh3r Quote Link to comment Share on other sites More sharing options...
zamanmakinesi Posted March 17, 2012 Author Share Posted March 17, 2012 bunu bişekilde halederim de birşey merakediyorum mesela doğum gününe veya asker şafağı na gerisayım yaptıra bilmek mümkünmü örnek şafak 5 ocak 2013 program geri sayacak şukadar dakka şukadar saniye şukadar gün kaldı diye Quote Link to comment Share on other sites More sharing options...
0mh3r Posted March 17, 2012 Share Posted March 17, 2012 Bu örneyi kendine göre düzenleye birlirsin [code]-- Set the number of times allowed times_allowed = 30; -- Retrieve the number of times run and convert the value to a number times_run = Application.LoadValue("My Application", "Has Been Run"); times_run = String.ToNumber(times_run); -- Calculate the number of allowed run times remaining times_remaining = (times_allowed - times_run) -- Check if this is the first time the application has been run -- Save the new number of times run value if times_run == 0 then Application.SaveValue("My Application", "Has Been Run", "1"); else Application.SaveValue("My Application", "Has Been Run", (times_run + 1)); end -- Check if the application has been run more times than allowed if times_run > times_allowed then Dialog.Message("Trial Period Over", "This software has expired"); Application.Exit(); else Dialog.Message("Trial Period", "You can run this program "..times_remaining.." more times."); end [/code] 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.