Post Reply

Forums -> UltraMon™ -> Problems with ShortCuts
mbarnes   2008-03-06 11:41
Using 3.0 beta 2.1

I have a shortcut on my desktop.

It points to a .bat file (C:\cygwin\Cygwin.bat) It's supposed to open a Command Prompt window running the .bat file, which starts the bash shell.

If I enable "Custom Settings" on the Ultramon Window tab on the Properties dialog for this ShortCut, and then, select "on Monitor", thereafter the SHortCut starts up a command prompt and fails to run C:\cygwin\Cygwin.bat. In fact, *all* of the other properties of the original SHortCut are ignored. Font, Colors., etc. The DEFAULT Command Prompt properties are used instead.
mbarnes   2008-03-06 11:49
SOrry. Forgot to indicate I run Win XP Pro SP2 +
Christian Studer   2008-03-06 12:18
For me the batch file still gets executed, but you lose custom color settings etc.

I'll look into this for a later release, but I don't think that UltraMon will be able to preserve custom color/font settings.

I'm not sure why the batch file doesn't get executed on your system, maybe it's due to the specific batch file.

Here's the batch file I used for testing:

"%ProgramFiles%\UltraMon\UltraMon.exe" /ds

This opens a command prompt, then opens UltraMon's Display Settings dialog.

Christian Studer - www.realtimesoft.com
mbarnes   2008-03-07 01:51
Hi, Christian. Thanks for your response.


Sorry. I made a mistake. The previous Target (the batch file) *IS* being run. It's just that the other settings are no longer working: Options, Font, Layout, Colors. I forgot that the colors and font were being set by Windows and NOT by CygWin.


As I am sure you know, after I checked "use custom settings" on the "Ultramon - Window" Tab on the ShortCut's Properties Dialog, the Shortcut's Target gets changed to:

"C:\Program Files\UltraMon\UltraMonShortcuts.exe" /l C:\Documents and Settings\All Users\Application Data\Realtime Soft\UltraMon\ShellShortcuts\Cygwin.umshortcut /l C:\Documents and Settings\All Users\Application Data\Realtime Soft\UltraMon\ShellShortcuts\Cygwin.umshortcut

And the Options, Font, Layout, and Colors tabs are MISSING.



After I UN-CHECK "use custom settings", the Target gets changed back to:

C:\cygwin\Cygwin.bat

And everything works as before. The Tabs are back. The settings in those tabs are back.


I suspect all those settings are being saved by UltraMon in that .umshortcut file. Could the UltraMonShortcuts.exe program make use of this information to set the font, colors, etc?


Also, I noticed that the .umshortcut file is being saved for "All Users". Shouldn't that be only for the current user?


Thanks again,
---Mark
Christian Studer   2008-03-07 10:53
I don't know yet if UltraMon can access those settings, I'll look into this for a later release.

Setup needs access to the shortcut files during uninstall to restore the shortcuts to their original state, for this reason the files are stored under all users.

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ -> Problems with ShortCuts

Post Reply