Jump to content

10 Dakika Beklenen Sayfa Anasayfaya Dönebilirmi?


zamanmakinesi
 Share

Recommended Posts

ö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 by zamanmakinesi
Link to comment
Share on other sites

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 by 0mh3r
Link to comment
Share on other sites

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 by 0mh3r
Link to comment
Share on other sites

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]

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...