Shortcut problem with extended parameters Thread last updated on 2004-07-21 16:48:52

Posted by member 111670 on 2004-07-20 02:07:55

Hi !

My problem is that: I use Mozilla for IRC, Browsing and for Mail.

The Mozilla is can started in mode "mail", and "irc" with plus parameter.

See that:

Email "c:\Program Files\mozilla.org\Mozilla\mozilla.exe"

*bPopup "My Folder" !New !bMyPopup
....
*bPopup "Email" !Execute ["$Email$" -mail]
...

This popup is working good. But I have some shortcut images in the screen for mail, irc, gfx, etc.

When I try these lines, nothing is happened.

SC4Name "Mail Client/IRC"
SC4LClick "$Email$"
SC4RClick "$IRC$"

*Shortcut "$SC4Name$" $X6$ $BarY+4$ icons\mail1.png icons\mail2.png icons\mail3.png #0O$SCFlag$ ["$SC4LClick$",-mail]["$SC4RClick$"]

Why ?

What I do wrong ?

Thanx for every help:
FT


Posted by member 134480 on 2004-07-20 23:18:26 link

Did you try putting the args inside the quotes?
i.e.:
*bPopup "Email" !Execute ["$Email$ -mail"]

Posted by member 12798 on 2004-07-21 00:20:54 link

maybe it's just a typo, but you have a comma in your *shortcut line.
other than that, what module are you using for the shortcuts?

Posted by member 111670 on 2004-07-21 02:43:54 link

I build my desktop from the austerity theme.
See the code from austh.:

IF BarIconsOn
*Shortcut "$SC1Name$" $IconsX$ $BarY$ icons\browser1.png icons\browser2.png icons\browser3.png #0O$SCFlag$ ["$SC1LClick$"]["$SC1RClick$"]
*Shortcut "$SC2Name$" 44r $BarY$ icons\txt1.png icons\txt2.png icons\txt3.png #0O$SCFlag$ ["$SC2LClick$"]["$SC2RClick$"]
*Shortcut "$SC3Name$" 44r $BarY$ icons\fileman1.png icons\fileman2.png icons\fileman3.png #0O$SCFlag$ ["$SC3LClick$"]["$SC3RClick$"]
;*Shortcut "$SC4Name$" 44r $BarY$ icons\settings1.png icons\settings2.png icons\settings3.png #0O$SCFlag$ ["$SC4LClick$"][$SC4RClick$]
...

The problem is another. The bPopup is working. The ShortCut is not.

Posted by member 134480 on 2004-07-21 16:48:52 link

Oops, next time I'll read your post, lol.