Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Icon in TaskBar ???

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
akumakuja28
Master Cheater
Reputation: 16

Joined: 28 Jun 2015
Posts: 432

PostPosted: Tue Mar 21, 2017 3:23 pm    Post subject: Icon in TaskBar ??? Reply with quote

Code:
 
 local int = getInternet()
 local ICO = int.getURL("http://cdn.appstorm.net/mac.appstorm.net/files/2012/07/icon4.png")
 local IM = createStringStream(ICO)
 int.Destroy()

 local Pic = createPicture()
 Pic.loadFromStream(IM)
 local Bit = Pic.getBitmap()

 getApplication().Icon = Bit




Why does this Not update in the Taskbar? Updates In CE and In the Taskmgr Under the Grouping.

_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 338

Joined: 09 May 2003
Posts: 19894
Location: The netherlands

PostPosted: Tue Mar 21, 2017 4:16 pm    Post subject: Reply with quote

it works for me.

Perhaps your windows is caching the icon ? Or it's set to get the icon from the exe, disregarding the application icon



hugepic.png
 Description:
 Filesize:  340.87 KB
 Viewed:  5143 Time(s)

hugepic.png



_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
akumakuja28
Master Cheater
Reputation: 16

Joined: 28 Jun 2015
Posts: 432

PostPosted: Tue Mar 21, 2017 4:27 pm    Post subject: Reply with quote

Damn, DB tht font size.


Im on Win10. Maybe that is causing the problem. And yet another reason to regret upgrading.

_________________
Back to top
View user's profile Send private message
Jane
Expert Cheater
Reputation: 0

Joined: 21 Feb 2016
Posts: 107

PostPosted: Tue Mar 21, 2017 4:30 pm    Post subject: Reply with quote

edit: oops just noticed you said taskbar, yep your right didn't update for me either (on w10 as well)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 338

Joined: 09 May 2003
Posts: 19894
Location: The netherlands

PostPosted: Tue Mar 21, 2017 5:27 pm    Post subject: Reply with quote

yay, Win OSX , gotta love it lol

As for the font, I use it to find DPI/translation issues. (and you do get used to it eventually)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
akumakuja28
Master Cheater
Reputation: 16

Joined: 28 Jun 2015
Posts: 432

PostPosted: Tue Mar 21, 2017 6:00 pm    Post subject: Reply with quote

Dark Byte wrote:
yay, Win OSX , gotta love it lol

As for the font, I use it to find DPI/translation issues. (and you do get used to it eventually)


Lol reminds me of win95 days. At least you have a reason.


http://stackoverflow.com/questions/33270020/wrong-icon-on-task-bar
After a quick read they speculate Win10 is loading from a different resource.



Taskbar>Settings>Combine Taskbar Buttons.
After Changing Setting. Icons are Allowed to load in taskbar. Default "Always Hide Labels" seems to have the only issue.



TaskBar.png
 Description:
 Filesize:  85.32 KB
 Viewed:  5094 Time(s)

TaskBar.png



_________________
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 75

Joined: 29 Oct 2010
Posts: 3659

PostPosted: Tue Mar 21, 2017 6:05 pm    Post subject: Reply with quote

Mario icons?
Back to top
View user's profile Send private message
Jane
Expert Cheater
Reputation: 0

Joined: 21 Feb 2016
Posts: 107

PostPosted: Tue Mar 21, 2017 6:32 pm    Post subject: Reply with quote

@akumakuja28 Mind if I ask how you got your Lua editor to have page control, I'm guessing modifying CEs pascal source?
Back to top
View user's profile Send private message
akumakuja28
Master Cheater
Reputation: 16

Joined: 28 Jun 2015
Posts: 432

PostPosted: Tue Mar 21, 2017 6:33 pm    Post subject: Reply with quote

++METHOS wrote:
Mario icons?


dont judge me methos.'


usernotfound check your inbox.

_________________
Back to top
View user's profile Send private message
Corroder
Master Cheater
Reputation: 8

Joined: 10 Apr 2015
Posts: 414

PostPosted: Tue Mar 21, 2017 6:51 pm    Post subject: Reply with quote

It's work for win 7 :

Code:
local int = getInternet()
local ICO = int.getURL("http://cdn.appstorm.net/mac.appstorm.net/files/2012/07/icon4.png")
local IM = createStringStream(ICO)
int.Destroy()

--local Pic = createPicture()
--Pic.loadFromStream(IM)
--local Bit = Pic.getBitmap()

--getApplication().Icon = Bit

function attachIcon(frm,tblFile)
  local p = createPicture()
  p.loadFromStream(tblFile)
  local b = p.getBitmap()
  frm.Icon = b
  getApplication().Icon = b
  frm.ShowInTaskBar='stAlways'
  os.execute('REG ADD "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" /V TaskbarGlomLevel /T REG_DWORD /D 0 /F')
  os.execute('taskkill /f /im explorer.exe')
  os.execute('start explorer.exe')
end

attachIcon(UDF1,IM)
UDF1.show()


this :

Code:
....TaskbarGlomLevel /T REG_DWORD /D 1 /F    -- will set taskbar setting to : 'Combine when taskbar is full'
// change 1 to 0  -- will restore taskbar setting to default'



Capture.JPG
 Description:
 Filesize:  19.23 KB
 Viewed:  5067 Time(s)

Capture.JPG


Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 75

Joined: 29 Oct 2010
Posts: 3659

PostPosted: Tue Mar 21, 2017 7:29 pm    Post subject: Reply with quote

akumakuja28 wrote:
++METHOS wrote:
Mario icons?
dont judge me methos.
-No judgement, my friend. I am an old-school gamer. Very Happy
Back to top
View user's profile Send private message
akumakuja28
Master Cheater
Reputation: 16

Joined: 28 Jun 2015
Posts: 432

PostPosted: Tue Mar 21, 2017 7:53 pm    Post subject: Reply with quote

@ Methos I grew up in the 90's. Nintendo was on top of thr game at tht time.
Super Mario 64 and Legend of Zelda OOT is the reason I write tables and use cheat engine today. I blew them games wide open for the time on the gameshark. Wish i could remember the site I posted to so many years ago.



Anyway back to topic. CE trainers display the CE icon also. I wonder what resource Win10 is loading for the taskbar.



TrainerToo.png
 Description:
 Filesize:  71.2 KB
 Viewed:  5048 Time(s)

TrainerToo.png



_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites