!DoubleClick Thread last updated on 2006-09-08 01:29:57

Posted by member 7223 on 2003-04-04 06:11:13

Tired of that module that only recognize single clicks...
Just use this:

*Timer DoubleClick 250 '!VarSet Click 0'



; !DoubleClick
; IN:
; - %{\1} = Action_VarName
; OUT:
; - !VarRun "%{Action_VarName}[Lft|Dbl]"
; - %{Click} modified



*Script Bang !DoubleClick
*Script Exec !VarAdd Click 1
*Script Exec !TimerStart DoubleClick
*Script EXec !IfEq Click "2" '|VarRun %{\1}Dbl' else '|VarRun %{\1}Lft'
*Script ~Bang



Example:

*Desktop lbutton !DoubleClick Desktop

*Script Start !VarSet Click 0
*Script Start !VarSet DesktopLft !none
*Script Start !VarSet DesktopDbl "$FileManager$"

Posted by member 15023 on 2003-04-04 06:13:53 link

Wow smurth, you da man.

Posted by member 7223 on 2003-04-04 06:32:37 link

...of course, on double-click, both lft and dbl actions are execute.

Posted by member 333 on 2003-04-04 07:02:04 link

nice. I'm sure I'll find some use for this.

btw, I love the concept of this forum-category :)

Posted by member 343017 on 2006-09-07 18:22:12 link

Sorry for my super noob question, but programming is not quite my forte.
So 2 questions, where do I put this code? And will this emulate explorer type icon clicking on the desktop? Like one click = select, double click = open. I downloaded a few themes to try and decipher the code but they all had double click open but no one click select. (in explorer one click allows you to change and view the FULL name, helpfull when the full anme doesnt show on the icon in non selected mode)

Thanks

Posted by member 343017 on 2006-09-07 20:38:56 link

So in my search for a desktop to my liking I followed a tutorial for Xdesktop. The dll's wouldn't download so I googled and found them then my problem was I had two set of icons. Playing around in the config files I managed to delete the set that is usual for the Austerity theme, but then suddenly my computer became extremely slow and the icons would seemingly duplicate themselves each time I moved them etc... Finally I had to reinstall the original theme. Any links to a better usage of Xdesktop or a more viable solution would be welcome... in the meantime I shall keep on digging hehe

Posted by member 7223 on 2006-09-07 23:51:11 link

This topic is outdated ; use SuperClick, instead:
http://www.litestep.net/?section=7&catId=6&action=details&id=139

Posted by member 343017 on 2006-09-08 01:29:57 link

Nevermind my question... Took me a few hours of randomnly deleting and adding code but I figured it out somehow =)