extrating 16*16 icons Thread last updated on 2003-02-22 11:32:10

Posted by member 5406 on 2003-02-14 15:16:37

I want to use an icon as a shortcut.
My problem is that I can only extract 32*32 icons. How do I extract the small icons?
Here the line from step.rc:
*Shortcut "Internet explorer" 4 161 .extract=$browser$,0 .none .none #7 $browser$

Posted by member 1949 on 2003-02-14 16:51:05 link

another way is to use a image .png file for transparency
grab a screenshot and edit in your paint program and use
shorcut2.dll also

Posted by member 5406 on 2003-02-14 17:08:08 link

I know but I would like to extracte the icon from the program so that I just have to change the $browser$-variable to get a new shortcut-icon.

Posted by member 5406 on 2003-02-16 10:24:54 link

I think I've come to the conclusion that this can't be done, and that all the apps I want icons from simply don't have small icons. What I'm looking for now is a shortcut module that allows me to control the width and height of my shortcuts. Can anyone help me on that?

Posted by member 1949 on 2003-02-16 22:01:16 link

shortcut2 can do this
what is your goal to achive?

Posted by member 5406 on 2003-02-17 08:18:22 link

how do you define widht and height with shortcut2? The documentation says that the syntax for at shortcut is:
*Shortcut [CAPTION] [X] [Y] [NORMAL.BMP] [HOVER.BMP] [CLICK.BMP] #[GROUP][FLAGS] [HOVER.WAV] [CLICK.WAV] [ACTION]

Posted by member 7 on 2003-02-17 08:32:04 link

it uses width and height of normal.bmp/png

Posted by member 44 on 2003-02-17 09:05:59 link

a little of topic, but it would actually be pretty cool for multiple resolutions if one could set the width and height and some sizing margins. i know i can do this with label, but i don´t think that´s a smart solution for decorative elements.

Posted by member 5406 on 2003-02-17 10:21:04 link

ilmcuts: yes, but that is not what I want. I'm extracting a 32*32 icon from the program but want it to be resized to 16*16. Shortcut2.dll can't do that for me so I was wondering if anybody knew a shortcut module out there that would allow me to control the width and height of the shortcut image.

Posted by member 3800 on 2003-02-18 13:38:43 link

kinda a different problem, here's my line from the step:
*Shortcut "Opera" 0 200 .extract=$Browser$,0 .none .none #7 $Browser$
and it produces no icon or action
the browser is set in the evars.rc and I can tell where the shortcut is suppose to be (no popup when I right click the area).
Thanks,
-Tesh

Posted by member 60 on 2003-02-18 14:00:41 link

needs quotes
*Shortcut "Opera" 0 200 .extract="$Browser$,0" .none .none #7 "$Browser$"

Posted by member 3800 on 2003-02-19 00:51:05 link

yup that did it

Posted by member 1413 on 2003-02-21 10:03:06 link

What's the ",0" after the $browser$ evar in the .extract syntax for?
"$Browser$,0"

Posted by member 5406 on 2003-02-21 12:32:18 link

icon #0

Posted by member 24 on 2003-02-21 12:40:14 link

offa: I'd just suck it up, fire up photoshop and resize to 16x16 yes, its a pain, but sometimes kludgework is best.

Posted by member 44 on 2003-02-21 13:00:10 link

disregard my post. just found that stim.dll does exactly what i´ve asked for :)

Posted by member 5406 on 2003-02-22 11:32:10 link

acq: that's also what i've done now. It took a little time, but I'm probably not going to change the shortcuts for some time, so it's ok. It would just be better and easier the other way round