Custom "runicon.ico"

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Custom "runicon.ico"

Post by Grovkillen » Tue Aug 11, 2015 11:27 am

Hello and sorry if this is super clear (have not been able to find any information regarding this in the manual),

but... since of 14.1.04 we're able to exchange the default "runicon.ico" with a custom one. I'm not able to find any information about how to do this. I found the folder "oldicons" in the default install dir of MS but I have no idea how to set my custom icon.

I would like to be able to use my own application icon together with my own "runicon.ico".

Thus, is it possible to have a application specific "runicon.ico" or is this only global?
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Custom "runicon.ico"

Post by Marcus Tettmar » Tue Aug 11, 2015 1:45 pm

Just put your chosen mainicon.ico and runicon.ico files into the main Macro Scheduler 14 program folder.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Custom "runicon.ico"

Post by Grovkillen » Tue Aug 11, 2015 1:52 pm

Aha, okey... so I need to change this file for every complied script in order to have different runicon.ico? I'm not able to have it saved within the compile settings string as with the main icon for my compiled exe?

I hope you understand what I'm aiming for here. Thanks!
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Custom "runicon.ico"

Post by Grovkillen » Wed Nov 02, 2016 10:01 am

Hi!
I cannot get this to work at all... I still get the GearHead-icon even if I put a custom runicon.ico in the main installation folder for MS.

I really wished that in the compile exe settings window I would be able to place two icon path's (one for the main icon, like today, and one run icon).

Am I missing something?
Last edited by Grovkillen on Thu Nov 03, 2016 12:04 pm, edited 1 time in total.
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Custom "runicon.ico"

Post by Grovkillen » Wed Nov 02, 2016 10:17 am

And just to be clear. If I want a systray icon with a menu if clicked on, I need to:

Run the complied script as hidden
With no systray
Add a systray icon
Add a systray icon handler

In this way I will not get a (in my opinion nice touch) blinking/running icon but a static one instead?

I would like to have the default icon (which is blinking) and the possibility to add handlers to that icon.... Is this not possible?
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Re: Custom "runicon.ico"

Post by CyberCitizen » Thu Nov 03, 2016 3:05 am

Following This Post
FIREFIGHTER

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Custom "runicon.ico"

Post by Marcus Tettmar » Thu Nov 03, 2016 4:01 pm

You can't add handlers to the default icon.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Custom "runicon.ico"

Post by Grovkillen » Fri Nov 04, 2016 9:45 am

Will it be possible to have a custom main/run icon for AddTrayIcon> command? Or is that impossible?

PS. when I do a popup menu and click away it by clicking elsewhere (get the result "-1") the menu is still visible. Is there a way to do a HidePopupMenu> command?
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Custom "runicon.ico"

Post by Grovkillen » Wed Jun 28, 2023 7:03 am

Any feedback on this?
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Custom "runicon.ico"

Post by Marcus Tettmar » Wed Jul 05, 2023 2:56 pm

You can set the main icon when you compile to an executable. You can't change the actual Macro Scheduler one - when the script is running under Macro Scheduler it's only ever going to show the Macro Scheduler one. But if compiling you have the option of compiling in a custom icon. But no, you can't change it with AddTrayIcon.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts