Easy button
I am very picky
Wednesday, March 7, 2007 by fishpen0 | Discussion: Widget talk
Reply #22 Friday, March 9, 2007 5:54 PM
Reply #23 Friday, March 9, 2007 10:44 PM
Get it at sendspace
Drop file or folder on the button to create the shortcut. Sound file(s) are attached but not embedded. By default I pointed these to hard drive eg. c:\easybutton.mp3. Select sound file you wish to use in widget under preference tab in properties.
Reply #24 Friday, March 9, 2007 10:48 PM
Super Job on the codeing btw

Reply #25 Friday, March 9, 2007 10:53 PM
vStyler, if you have a dA account let me know because I'll link to it in addition to your Wincustomize site.
Reply #27 Friday, March 9, 2007 11:12 PM
Thanks to everyone for the group effort!
"That was easy!"
Reply #28 Saturday, March 10, 2007 2:28 PM
Reply #30 Saturday, March 10, 2007 3:04 PM
That was never mentioned just a right click sound.
drag & drop on the button.
Reply #31 Saturday, March 10, 2007 4:14 PM
Reply #33 Saturday, March 10, 2007 6:31 PM
Reply #37 Sunday, March 11, 2007 11:32 AM
One of the issues was with the button being pressed when you dragged it. To solve this you use a little different call to the buttons.
Old:
Sub Object_OnLButtonUpEx(x,y,
DesktopX.Object("easy.button.base").SetTimer 100,10
'Calls the sound effect from base object
On Error Resume Next
Set Sh = CreateObject("WScript.Shell")
Sh.Run (Chr(34)& FilePath & Chr(34))
Set Sh = Nothing
end sub
New:
Function Object_OnLButtonUpEx(obj,x,y,dragged) '<== Shortcut Buttons (right click)
If Not dragged Then
DesktopX.Object("easy.button.base").SetTimer 100,10
'Calls the sound effect from base object
On Error Resume Next
Set Sh = CreateObject("WScript.Shell")
Sh.Run (Chr(34)& FilePath & Chr(34))
Set Sh = Nothing
end if
end function
This stops the button from being activated when you are dragging things around.
Also, I have a little different way of doing sounds, I will have to work on this a little and show you what i did. It embeds the sound into the widget and this way you dont need to tell it where they are etc.
I will work on that a little later, im sitting at the pool at the hotel in Tampa, and its too nice to be on the laptop.. LOL.. (80's and sunny)
Hope no one minds me making suggestions on this.
Reply #38 Sunday, March 11, 2007 11:43 AM
Yep sure is nice here in FL today

Reply #39 Sunday, March 11, 2007 1:18 PM
???
Reply #40 Sunday, March 11, 2007 3:58 PM
The reason for not embedding was more of a personal preference to allow people to customize the sounds for example mine makes a fart at the moment.
I'm also thinking about cleaning up the resize script to make it more square.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #21 Friday, March 9, 2007 5:37 PM