Jump to content

Treeliste .exe'den Icon Algılatmak [Çözüldü]


nightmare3519
 Share

Recommended Posts

[code]for i,file in pairs(dosyalar) do
if File.DoesExist(file) then
icon = TreeList.ExtractIcon("Plugin1", file , 0)

icon = TreeList.LoadIcon("Plugin1", "AutoPlay\\Images\\yk.png")
end
TreeList.AddRow("Plugin1", String.SplitPath(file).Filename.."|"..String.GetFormattedSize(File.GetSize(file), FMTSIZE_AUTOMATIC, true).."|"..File.GetVersionInfo(file).FileVersion, icon, 1, i)[/code]

bu koddaki

[quote]icon = TreeList.LoadIcon("Plugin1", "AutoPlay\\Images\\yk.png")[/quote]

satırı fazla.

Link to comment
Share on other sites

pardon abi ben o arasına "else" yazmyı unutmuşum

if File.DoesExist(file) then
icon = TreeList.ExtractIcon("Plugin1", file , 0)
[b][color="#0000FF"]else[/color][/b]
icon = TreeList.LoadIcon("Plugin1", "AutoPlay\\Images\\yk.png")
end

yani icon yoksa başka bir icon var onun yerine

Edited by nightmare3519
Link to comment
Share on other sites

[quote name='34ero' date='20 March 2012 - 16:52 ' timestamp='1332255148' post='1172536']
bu çalışmada uygulanabiliyormu?


http://freshdragon.blogspot.com/2011/12/treelist-plugini-ile-aio-ornegi.html
[/quote]

Evet zaten ondan aldım yapacağım AIO da kullanacağım Dragon® abimizden izinli olarak...

Link to comment
Share on other sites

[quote name='nightmare3519' date='20 March 2012 - 15:53 ' timestamp='1332258800' post='1172578']
Evet zaten ondan aldım yapacağım AIO da kullanacağım Dragon® abimizden izinli olarak...
[/quote]
çok iyi olur yazılımı en iyilerindendir

Link to comment
Share on other sites

  • 6 ay sonra...
  • 2 hafta sonra ...

[url="http://freshdragon.blogspot.com/2011/12/treelist-plugini-ile-aio-ornegi.html"]TreeList Plugini ile AIO Örneği [/url]
yeni iconda var :) [b]Tasarı Dosyası(.apz)[/b]
[url="http://freshdragon.blogspot.com/2011/12/treelist-plugini-ile-aio-ornegi.html?showComment=1352065166587#c7936124080198447708"]http://freshdragon.blogspot.com/2011/12/treelist-plugini-ile-aio-ornegi.html?showComment=1352065166587#c7936124080198447708[/url]

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