Display your text in the status bar and change the custom button icon

Discuss and share scripts and script files...
Post Reply
zakoul
Posts: 134
Joined: 11 Dec 2019 10:44

Display your text in the status bar and change the custom button icon

Post by zakoul »

There is a button with this script:

Code: Select all

	if (copier() == "") {
	copier("TeraCopy|%ProgramW6432%\TeraCopy\TeraCopy.exe");
	msg "TeraCopy", , , "Copy Handler";
	}
	else {
	copier("");
	msg "XYcopy", , , "Copy Handler";
	}
How can I output information to the status bar instead of "msg" ?
Last edited by zakoul on 26 Apr 2024 08:31, edited 3 times in total.

jupe
Posts: 2813
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Display your text in the status bar

Post by jupe »

status

zakoul
Posts: 134
Joined: 11 Dec 2019 10:44

Re: Display your text in the status bar

Post by zakoul »

jupe wrote: 26 Apr 2024 08:13status
Thank you!

zakoul
Posts: 134
Joined: 11 Dec 2019 10:44

Re: Display your text in the status bar

Post by zakoul »

One more question: Is it possible to somehow change the icon of the user button in the script depending on the state of "copier()" ?
If copier() = "" then button icon = xycopy.ico, else button icon = teracopy.ico

jupe
Posts: 2813
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Display your text in the status bar

Post by jupe »

ctbicon

BTW these cmd names are pretty self explanatory if you look.

zakoul
Posts: 134
Joined: 11 Dec 2019 10:44

Re: Display your text in the status bar

Post by zakoul »

jupe wrote: 26 Apr 2024 08:29 ctbicon

BTW these cmd names are pretty self explanatory if you look.
Thank you!

Post Reply