Desktop Icon and hiding BAT window

Project:Virtual Combat Cards Project
Version:0.95.1
Component:User interface
Category:feature request
Priority:normal
Assigned:Nebulorum
Status:closed
Description

This is really a minor request, but could you include an Icon with the next upgrade for a desktop shortcut?

I really like the silver die that's displayed in the task bar next to the name.

Also is there any way to keep the Command Prompt screen from showing? I know it updates what was done last in the program but I'd prefer a way to hide it if possible.

Thanks! :)

AttachmentSize
untitled.JPG3.56 KB

#1

I could do some changes to the installation process to do this. The icon will require some conversion from PNG (volunteers?, the icon can be found here: d20metal.png). I have avoided creating platform specific installations as much as I can, since I try to focus my time on other features.

However you can easily create a short cut on Windows, as follows:

  1. Go on the desktop and click the right but and choose New > Shortcut
  2. Change the name to whatever you want;
  3. Right click on the short cut and select Properties;
  4. On the Target: place the following: java -jar vccrun.jar
  5. On the Start in: put the directory VCC is installed in;
  6. On the Run: option select Minimized
  7. Click Ok

On my system this produced a handy Short cut to VCC. If anyone know how to do this automatically (in java or via script let me know). Once the icon gets converted you can select it from a file.

I'm attacking of a picture of my properties (in my case VCC is installed in C:\Home\Private\VCC.

AttachmentSize
vcc-shortcutp.JPG32.99 KB

#2

Ahh, so the command screen is there because it is platform independent? or is it the Icon that cannot be displayed because it is platform independent?

Now a couple of things,

1) A shortcut can be created easier by simply right-clicking on the vcc.bat file and select create shortcut. Then you can move the short cut where-ever you want it. That's a lot faster.

Unless you've installed java somewhere else this should work. and if you have java installed somewhere else then you probably know enough to figure this out for your self.

2) Selecting minimized doesn't make the command screed disappear from the task bar... it just minimizes it and I can do that without all fuss above.

3) What would you like the PNG file to be? :) (hmm I'm guessing an .ico aka Icon file?)

#3

I made an Ico file but I can't attach it here, so if you have email I can send it through that.

Not sure if you are able to get my email address (since I had to input it to register) if not, let me know of a way to safely send our emails to each other respectively. :)

#4

lol, ok, so I'm not sure where I must go for a contact page... if I try to go to the link provided in the email I got it gives me an access denied error and I cannot attach zip files here. only, and I quote: "jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp."

:)

#5

Sorry for that. I authorized adding zip and ico, just to make it easier.

I would be great to figure out a way to create the shortcut in Scrip or java. Can you research that?

#6

hmm... nope... still wont let me upload Zip or Ico...

lol, I don't know a whole lot about Java, however, from what I did research; if you want to stay platform independent (which I would recommend) there is no real way to make it happen. Just include a README file and explain how the user can create one themselves. :)

#7

Testing sending of a zip.

AttachmentSize
a.zip22 bytes

#8

I don't know... still gives me this message:

'The selected file d20metal.zip can not be attached to this post, because it is only possible to attach files with the following extensions: jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp.'

???

#9

My bad. I had changed it for one group and not the general users. I tested with an alter ego and it worked. If that fails mail me (I sent you an email).

#10

yaayyy!!! haha!!

AttachmentSize
d20metal.zip11.21 KB

#11

Title:Desktop Icon and Cmd Screen.» Desktop Icon and hiding BAT window
Assigned to:Anonymous» Nebulorum

I have found a sample script that seems to do the trick. I'm attaching the script and you Icon. Give it a try:

  1. Unzip the content of the attached zip in the current VCC directory (same place as VCC.bat);
  2. Run shortcut.vbs, you will have two popup (double clicking on it should do the trick);
  3. The Shortcut should be on the desktop with the proper icon. It will be called VCC.lnk and will overwrite one with the same name.

Let me know if it works and I'll add them to Version 1.0.

AttachmentSize
shortcut.zip12.62 KB

#12

Tested and works fine. Definitely add it to version 1.

Thanks Yahayata for making the icon!

Looks great guys!

#13

Status:active» fixed

Added to version 1.0 code base.

#14

Awesome awesome! :)

#15

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.