Which icon gives best result for Servoy Windows Shortcut ?

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Which icon gives best result for Servoy Windows Shortcut ?

Postby Bernd.N » Tue Mar 24, 2015 11:28 pm

According to this thread, one has to set "servoy.branding.webstart.loadinglogo" to provide an own icon for the windows shortcut that Servoy creates when a user runs a smart client the first time:
viewtopic.php?f=5&t=17438&p=94260&hilit=icon#p94260

As Windows 7 shows the best results with 256x256 Icons, I asked a fiverr artist to create a 256x256-ICO-file for me. That file I provided into "servoy.branding.webstart.loadinglogo".
However that ICO-file Servoy did not take.
I then provided a 256x256-PNG-Icon, and that was somehow converted/downsized and did not show sharp.
(To force Java to create the shortcut new, it is necessary to go to Java Control Panel and delete the temporary Java Files there, a sole deletion of the shortcut on the desktop will not force Java/Servoy to create a new shortcut.)

So my question is, with what file type and resolution do I get the best result for the creation of the windows shortcut icon under the current Windows 7 OS?
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 477
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Which icon gives best result for Servoy Windows Shortcut

Postby Bernd.N » Tue Mar 24, 2015 11:31 pm

Hups, I just saw that was answered already by Harjo here:
viewtopic.php?f=5&t=19558

So I just send my users the proper icon now and ask them to change it manually on the shortcut, works too.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 477
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Which icon gives best result for Servoy Windows Shortcut

Postby Bernd.N » Wed Mar 25, 2015 10:18 am

Bernd.N wrote:So I just send my users the proper icon now and ask them to change it manually on the shortcut, works too.

Unfortunately, this seems not to work, as Java puts its own icon back to the shortcut as soon as I start the app again.

Did someone else find a better solution to present proper icons to the users?
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 477
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Which icon gives best result for Servoy Windows Shortcut

Postby Harjo » Wed Mar 25, 2015 1:35 pm

As I said in that post, there is not much you can do about it!

viewtopic.php?f=5&t=19558#p111794
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4271
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Which icon gives best result for Servoy Windows Shortcut

Postby HEKUCH » Thu Mar 26, 2015 8:20 pm

Hi,

We use this solution :
- on our applicationserver we have disabled the option to create Icons.
- we build a small EXE-louncher to start the application on windows-PC.
- in this EXE-Louncher you can embed your own Image

On "www.f2ko.de" you'l find a small tool to compile a exe from a windows-bat-file:

Content of bat-file:

@echo off
javaws http://srvservoy02:8080/servoy-client/MES.jnlp

best regards

Hendrick Kurland
DataBit GmbH
Swizerland
Hendrick Kurland

DataBit GmbH
CH-9217 Neukirch an der Thur
HEKUCH
 
Posts: 13
Joined: Thu May 05, 2011 8:02 am

Re: Which icon gives best result for Servoy Windows Shortcut

Postby Bernd.N » Thu Mar 26, 2015 11:45 pm

Thanks for sharing! :)
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 477
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Which icon gives best result for Servoy Windows Shortcut

Postby LXS » Tue Mar 31, 2015 9:16 am

Thanks Hendrick! I'll have a look on it! :)

Do you have also Mac customers?
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 101
Joined: Thu Mar 01, 2007 12:00 am

Re: Which icon gives best result for Servoy Windows Shortcut

Postby patrick » Mon Mar 06, 2017 11:32 am

Just had to do this on a Mac. In short, what I did was

- create a shell script (test.sh) with this code

Code: Select all
#!/bin/sh

javaws http://server:8080/servoy-client/solution.jnlp


- make it executable

Code: Select all
sudo chmod +x /pathto/folder/test.sh


- from that, you can create a .app to make it double clickable

either create a .app folder with the appropriate /Contents/MacOS content or simply use something like this: https://mathiasbynens.be/notes/shell-script-mac-apps
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3606
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 6 guests

cron