How to add custom icon in the script

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
taufan
Posts: 48
Joined: 22 Mar 2020 02:33

How to add custom icon in the script

Post by taufan »

This is for Hamburger Menu.
How to add custom icon in this script?

Code: Select all

::Google Drive ;tab("new", "C:\Users\taufan\Google Drive") ;
Because when I add my ico file at the end of the script it doesn't work:

Code: Select all

::Google Drive ;tab("new", "C:\Users\taufan\Google Drive") ;C:\drive.ico ;
Any idea?
Many thanks for the answer.

This is my menu at this moment, i need to change that blue icon to Google Drive icon:
Clipboard-20241021.jpg
Clipboard-20241021.jpg (26.14 KiB) Viewed 573 times

highend
Posts: 14282
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to add custom icon in the script

Post by highend »

How about reading the help file?
Scripts
General forms: ::script; or ::caption;script; or ::caption;/icon;script;.
One of my scripts helped you out? Please donate via Paypal

taufan
Posts: 48
Joined: 22 Mar 2020 02:33

Re: How to add custom icon in the script

Post by taufan »

I did. But i still dont understand. This line also didnt work:

Code: Select all

::Google Drive ;C:\drive.ico ;tab("new", "C:\Users\taufan\Google Drive") ;

highend
Posts: 14282
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to add custom icon in the script

Post by highend »

Seriously?

::caption;/icon;script;
One of my scripts helped you out? Please donate via Paypal

Post Reply