Jump to content

İnternet Cafe Desktop + Autoplay Media


PaRaDoXPoYRaZ
 Share

Recommended Posts

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

[quote name='PaRaDoXPoYRaZ' date='12 February 2012 - 10:56 ' timestamp='1329037014' post='1153827']
Ben beceremedim sanırsam :S 1 kere tıklıyorum açılıyor 2 kere tıklarsam 2. kere tıkladınız diye hata veriyor :wacko:
[/quote]

iki kere tıkladınız demesnin nedeni alttaki koddur.o kodu silip file.run koduyla yaptırmak istediğiniz işlemi yazın.
[code]Dialog.Message("", "2. kere tıkladınız.")[/code]

Link to comment
Share on other sites

[quote name='Kral__' date='12 February 2012 - 09:49 ' timestamp='1329040167' post='1153847']
:D :D hocam başınız belada :D :D kardeşim sen hocanın verdiğini denedin mi ?
[/quote]

Hocam uzun anlatayım açıklayıcı olsun :rolleyes:

Şimdi Müşteri giriyor içeri masaya oturuyor. Desktoptaki Facebook İkonuna tık tık yapıyor iki tane sayfa açılıyor yada çocuk gta ya tık tık yapıyor 2 tane gta açılıyor ve oyunlar karışıyor. Eger hata verirse oyun alt tarafa iniyor çocuk bir daha bir daha açmaya çalışıyor. Burdaki amacım 2 kere tıkladıgında 1 tane açılsın ancak hatada vermesin. umarım derdimi anlatabilmişimdir :whistle:

Link to comment
Share on other sites

ya aslında internet cafe oldugu için müşteri hesap kestirince cafe programı herşeyi kapatıyor. ben bunun kapanmasını istemiyorum. nasıl anlatayım mesela avast antivirüsü kapatamıyor. görev yöneticisinden bile kapatamıyoruz hata veriyor bildiginiz gibi. ama eset 3 antivirüsü kapatıyor cafe programı avastı kapatamıyor. böyle bi cafe programı o yüzden kapatmaya karşı bi koruma kodu felan olsa süper olur yani tek sıkıntım bu aslında :((

Link to comment
Share on other sites

nSayi = Label.GetText("Image20");
nKot = "1"

if nSayi == nKot then
File.Run("AutoPlay\\kısayol\\desktop\\Google.CoM.url", "", "")
Label.SetText("Image20", "2");
else
result = Dialog.Message("Uyarı", "Program zaten açık.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end

şeklinde yaptım. oldu ama kullanamicam çünki dialog mesajı çıkıyo ve oyun sayfa her ne açıldıysa altta kalıyor :=))

Link to comment
Share on other sites

e tek tıklasın :D :D

nSayi = Label.GetText("Image20");
nKot = "1"
nCok = "2"

if nSayi == nKot then
File.Run("AutoPlay\\kısayol\\desktop\\Google.CoM.url", "", "")
Label.SetText("Image20", "2");
elseif nSayi == nCok then
Label.SetText("Image20", "3");
else
result = Dialog.Message("Uyarı", "Program zaten açık.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end

bide bunu dene ;)

veya bunu dene

nSayi = Label.GetText("Image20");
nKot = "1"

if nSayi == nKot then
File.Run("AutoPlay\\kısayol\\desktop\\Google.CoM.url", "", "")
Label.SetText("Image20", "2");
Application.Sleep(2000);
else
result = Dialog.Message("Uyarı", "Program zaten açık.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end

Edited by Kral__
Link to comment
Share on other sites

hop bi saniye bi yerde yanlış yapıyoruz :S
nSayi = Label.GetText("Image20");-------------- bendekiler label degilki image
nKot = "1"
nCok = "2"

if nSayi == nKot then
File.Run("AutoPlay\\kısayol\\desktop\\Google.CoM.url", "", "")
Label.SetText("Image20", "2");
elseif nSayi == nCok then
Label.SetText("Image20", "3");
else
result = Dialog.Message("Uyarı", "Program zaten açık.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
_________________________________________________________________________________
bendeki komutlar şöyle geçiyor
(image On clik)
Image.SetOpacity("Image20", 20);

ikonlardaki tek komut bu. ben buton olarak yapmadım image olarak yaptım sorun burdan kaynaklanıyor olabilirmi acaba?

Edited by PaRaDoXPoYRaZ
Link to comment
Share on other sites

[quote name='KintaRo' date='11 February 2012 - 16:54 ' timestamp='1328972091' post='1153541']
Alın size güzel bir örnek hazırladım.

Global Functions:

[codebox]function hareket(nesne)
nHareket = 20;
nBekleme = 10;
tBoyut = Image.GetProperties(nesne)
for i=1,nHareket do
Image.SetProperties(nesne, {Width = tBoyut.Width-i, Height = tBoyut.Width-i, X = Image.GetProperties(nesne).X+(i-10)})
Application.Sleep(nBekleme)
end

for i=1,nHareket do
Image.SetProperties(nesne, {Width = (tBoyut.Width-nHareket)+i, Height = (tBoyut.Width-nHareket)+i, X = Image.GetProperties(nesne).X-(i-10)})
Application.Sleep(nBekleme)
end
end[/codebox]

Her Image'in on enter:

[code]hareket(this)[/code]

Proje Dosyası:

[code]http://www.mediafire.com/?p5stg1yf96xudub[/code]
[/quote]


hocam buton hareket edecek şekilde nasıl yapabiliriz

Edited by m3hm3t1991
Link to comment
Share on other sites

Kral Hocam olayı çözüm
nSayi = Label.GetText("Image20");
nKot = "1"
nCok = "2"

if nSayi == nCok then
File.Run("AutoPlay\\kısayol\\desktop\\Google.CoM.url", "", "", SW_SHOWNORMAL)
Label.SetText("Image20", "2");
elseif nSayi == nCok then
Label.SetText("Image20", "3");
else
Application.Sleep(9999999999999999999999999999999999999999);
end

evet kod bu ayarladım herşey süper fakat arada bi projeyi donduruyor bu kod. :S

proje kitleniyor hiç birşeye tıklayamıyorum ama flash animasyonlar harket ediyor. acaba hangi kod hatalı olabilir?

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