Jump to content

RJShortcut on Windows Mobile 5(SDA)


Guest Casao

Recommended Posts

Hey,

I've been browsing the forums for a few days, and I've already found it incredible. I managed to create my own welcome screen thanks to the tutorial, and everything's going pretty well.

However, I'm have a bit of a problem with the screen - RJShortcut.

I know that it's written for 2003, but it seems like exactly what I want, so I'm hoping someone here can help me. When I load it up, it works fine, everything's cool, with the small exception of icons. They all display the default icon.

I'm linking to the Start Menu shortcut files, but when I tried linking directly to the IE executable, it still had no icon. I've pointed the iconfile identifier toward the shortcut, but it still won't work.

Is there any way to do this, short of putting seperate icons on the phone for each application on the title bar? Does this even work on WM5?

Link to comment
Share on other sites

Guest Casao
WM5 have different paths. Remove '\Storage' on any paths for icons etc

<{POST_SNAPBACK}>

None of them had \Storage in the paths.

I linked to the Start Menu shortcuts, and the shortcuts themselves worked, but the icons never did.

Here's the code I'm using, if it helps:

<plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="27">

<iconbar bgcolor="transparent" fgcolor="#E14C1B" y="0" x="0"/>

 	 </plugin>

   <plugin clsid="{F3750050-8E30-4c61-A864-4301F5D7C065}" height="52">

      <background b-border-width="0">

      </background>

      <format padding-left="6" padding-top="2" padding-bottom="2"/>	

      <shortcutbar icon-spacing="2" icon-size="large">

         <shortcut target="\Windows\Start Menu\Internet Explorer.lnk"/>

         <shortcut target="\Windows\Start Menu\Messaging.lnk"/>

         <shortcut target="\Windows\Start Menu\Settings.lnk"/>

         <shortcut target="\Windows\Start Menu\Task Manager.lnk"/>

         <shortcut target="\Windows\Start Menu\File Manager.lnk"/>

         <shortcut target="\Windows\Start Menu\Pictures_Video.lnk"/>

      </shortcutbar>


      <appname x="0" y="30"/>

      

   </plugin>

I've also tried it with small-sized icons and with usedefaulticon explicitly set to yes and no.

Link to comment
Share on other sites

Guest bjde0b

This has also been a problem for me. I have posted on this topic a couple of times along with others replying saying they are having the same problems. Here is what I have discovered. As long as it is a program that you have installed that has placed a lnk file in the start menu it will display an icon. The ones that do not have icons are the preinstalled software files. The reason I have found this to be true is because the lnk runs to the file that starts the program for the programs that you install. With the files already installed they are the start file and are linked to .dll's. I do not have any clue why this causes it not to display an icon but that is what I have found out and I hope somebody can figure this probelem out soon as well.

Link to comment
Share on other sites

  • 2 months later...
Guest hyedipin

Just installed RJshortcut, and have the same problem. The shortcuts work but not the icons.. I remember RJ allowed specifying icons manually, but it was removed on the latest version..

This is one hell of a plugin but does not work properly on WM5 ;)

Link to comment
Share on other sites

  • 4 weeks later...
This has also been a problem for me. I have posted on this topic a couple of times along with others replying saying they are having the same problems. Here is what I have discovered. As long as it is a program that you have installed that has placed a lnk file in the start menu it will display an icon. The ones that do not have icons are the preinstalled software files. The reason I have found this to be true is because the lnk runs to the file that starts the program for the programs that you install. With the files already installed they are the start file and are linked to .dll's. I do not have any clue why this causes it not to display an icon but that is what I have found out and I hope somebody can figure this probelem out soon as well.

But I tried to link to the .exe-file itself (not via the shortcut in the Start Menu folder), i.e. I linked to /Windows/tasks.exe, but the icon didn't show up. :)

But I have an idea of how we can solve this: If you have all the icons in a folder you can point the iconfile identifier toward the icons!

But then you need all the original icon files ... Does someone know somewhere you can download them? I tried to google it, but with no luck :)

Link to comment
Share on other sites

Can you please upload the icons you make? :) That would be nice!

But isn't there a easier way to get the icons? Mr_Gee's method seemed to take a lot of time ...

Link to comment
Share on other sites

Guest Mr_Gee

Small update,

the XML file also seems to like *.ICO files (these are normal Icon foles used by windows)

the only drawback was that they cannot be resized, so unless you have the correct size this is useless

The only thing I can see working is making your own icons and changing the transparent items to #000000 (black) and the black items to #000001 (black but with a bit of blue, still looks as black though)

This is untill there is an update of the program :)

-=edit =-

yup seems to be working:)

post-193294-1150149697_thumb.png

Edited by Mr_Gee
Link to comment
Share on other sites

  • 4 months later...

I have found a workaround, but I need some help. Many of the icons we need are embedded in .dll files, so I created separate links to the icons in the .dll file.

I created a new folder in My Documents called Icon Links (\My Documents\Icon Links). In it I created a new link file called CalendarIconLink.lnk that pointed to the calendar icon. The CalendarIconLink.lnk file was created in notepad with the following text:

23#"\windows\poutlook.exe calendar"?outres.dll,-10002

The outres.dll,-10002 is the actual calendar icon. When you follow the shortcut text with a ? and a file and index, that substitutes the specified icon.

I then pointed to that file in the iconfile part of the RJShortcut xml code:

This works for the calendar, and I figured out that outres.dll,-10000 will bring up the tasks icon, but I can't figure out the others. Specifically I want the call history icon, and i think it's in the tpcutil.dll file, but I don't know the specific address. I also can't get the iexplore.exe icon to work.

Maybe some of you can try this technique and continue....thanks!

Link to comment
Share on other sites

Hi,

I have a similar problem on my HTC Tytn: I have moved a few links from some folders to others. I probably did something wrong and now all the internal applications (calendar, contacts etc...) have lost their icons.

Does anyone know how to fix this ?

thanks,

papex

Link to comment
Share on other sites

I figured out that the extra step of creating another link isn't necessary. In the xml code for the homescreen you can specify the file where the icon is located and the index. I went into the registry to see what the "defaulticon" for the desired program was, then reference it in my xml with the iconfile and iconindex arguments. Here's what I have now:

<!-- RJShortcut -->

It works perfectly. I don't know why the icon isn't pulled out when referencing the .exe file, but using this method gets me where I want. The only exception was that the SDA Weather icon in its .exe file wasn't sized right, so I used Anywhere PE Viewer to extract the icon and resize it so it fit in the shortcut bar nicely. I created a new icon called WeatherSP21.bmp and saved it in the weather folder. I put 21 in the name of the icon because it ended up being 21x21 pixels that worked best.

The only other thing that didn't work for me is the color of the border for the shortcut bar always ended up being black. So, I control the borders in my default settings in the homescreen xml code and use a border width of 0 for the shortcut bar. The I add a top border for the control that's just below it. Again, I have to use the default setting in Settings/Home Screen/Color Scheme setting. The scheme is defined in the home screen xml.

I don't know why some icons don't show, but if you manually define them it works perfectly. The challenge is finding where their located, but browsing the registry helps. Use the ones I found above as a start. Hope this helps...

Hi,

I have a similar problem on my HTC Tytn: I have moved a few links from some folders to others. I probably did something wrong and now all the internal applications (calendar, contacts etc...) have lost their icons.

Does anyone know how to fix this ?

thanks,

papex

Link to comment
Share on other sites

I figured out that the extra step of creating another link isn't necessary. In the xml code for the homescreen you can specify the file where the icon is located and the index. I went into the registry to see what the "defaulticon" for the desired program was, then reference it in my xml with the iconfile and iconindex arguments. Here's what I have now:

thank you. I will try and let you the outcome

papex

Link to comment
Share on other sites

  • 2 months later...
Guest JasonShall

For files in the \Windows directory, outres.dll for example, how do I determine the proper index for a given icon. I tried copying the file to my desktop computer so I could open it with resource hacker but received an error when trying to copy the file.

Link to comment
Share on other sites

  • 5 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.