fishpen0 fishpen0

Easy button

Easy button

I am very picky

i am looking for a very realistic and possible 3D appearing easy button. Obviously when clicked it will say "that was easy" just the same as the store bought one. and it will look as if it were pressed in. there should also be a customizable right click sound also. It should have at least 2 size options and also have the option to link it to a folder/file.
15,171 views 43 replies
Reply #26 Top
vStyler on DA too.   
Reply #27 Top
Sure works o.k. for me
Thanks to everyone for the group effort!
"That was easy!"  
Reply #28 Top
post it in as many places as you'd like. I thank you for your commendable service. There is just one issue where the right click does not make the button push down, but I don't mind, so don't bother fixing it unless you want to. I thank you al for your hard work at making this idea a reality.
Reply #30 Top
There is just one issue where the right click does not make the button push down


That was never mentioned just a right click sound.

how do i pick which folder/ file it links to?


drag & drop on the button.
Reply #31 Top
cool, thanks. And you really don't need to do anything about the right click.
Reply #32 Top
Sounds good.. need to check it out.
Reply #33 Top
Uploaded to deviantart & submitted both to objects and widgets gallery. I'll remove the sendspace link when it's out of moderation.
Reply #34 Top
still working great! Fun!
Reply #35 Top
Love it. Thanks all.   
Reply #37 Top
I have downloaded this and was looking it over, found a few things that you might want to "update".

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,b)
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 Top
Sounds good to me...

Yep sure is nice here in FL today
Reply #39 Top
I have a question.. do you want it to make the CLICK sound or the "THAT WAS EASY" when the button is pressed? The "REAL" one we have in the office just says "THAT WAS EASY".

???
Reply #40 Top
RomanDA thanks for that. I had it originally set like that running from the button not the base but, wrote the code quick in the base...nice catch thanks.

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.
Reply #41 Top
all sounds good to me...

You got it under control.
Reply #42 Top
Without being too fancy this script simulates almost a square resize! There's like a split second lag but, I thought I'd pass this along.

Sub Object_OnDrag(x,y,newX,newY)
newh = newY + ObTop 'Take the newY plus the top offset to get the width
neww = newX + ObLeft 'Take the newX plus the left offset to get the height
If neww > Min_width And neww <= Max_width And newh > Min_height And newh
DesktopX.Object(MasterObj).width = neww
DesktopX.Object(MasterObj).height = newh
Else
DesktopX.Object(MasterObj).width = Min_width
DesktopX.Object(MasterObj).height = Min_height
End If
Call MoveMe 'move the resizer so its always in the right spot
End Sub
Reply #43 Top
Nice scripts, nice graphics. I like the ability to choose my own sound files. Resizing was a very nice touch. Except for the dragging issue DA pointed out, the finished product works great. Excellent work, everyone.