It is currently May 5th, 2024, 11:11 am

How to create a image meter linked to a web url?

Get help with creating, editing & fixing problems with skins
User avatar
kami
Posts: 39
Joined: July 3rd, 2010, 10:47 am
Location: Canosa di Puglia, Italy

How to create a image meter linked to a web url?

Post by kami »

I want to create on my desktop three icons linked to websites: Google's homepage, Facebook, and Blogger.
I started creating three Image Meters and i put the path of my icons for images.
Till this point there isn't any problem.

I just can't set up the action when you click on the icon:
I created url files from browser and i tried to put the paths between the square brackets (as it's shown in the code below)

Code: Select all

LeftMouseDownAction=!execute[ path of my url file ]
...but it didn't work...

How can i solve this problem?
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: How to create a image meter linked to a web url?

Post by jsmorley »

kami wrote:I want to create on my desktop three icons linked to websites: Google's homepage, Facebook, and Blogger.
I started creating three Image Meters and i put the path of my icons for images.
Till this point there isn't any problem.

I just can't set up the action when you click on the icon:
I created url files from browser and i tried to put the paths between the square brackets (as it's shown in the code below)

Code: Select all

LeftMouseDownAction=!execute[ path of my url file ]
...but it didn't work...

How can i solve this problem?
Try LeftMouseUpAction=!Execute ["path of my url file"]

Two things. The space between !Execute and the "[" is required. Quotes are required around the call to the executable / lnk file.

Also note I suggest MouseUp intead of MouseDown in almost all cases, as it allows the target to be both clickable and draggable. With MouseDown you lose the ability to drag the skin using that meter.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: How to create a image meter linked to a web url?

Post by poiru »

Try:

Code: Select all

LeftMouseUpAction=!Execute ["http://www.google.com"]
EDIT: Too slow :(
User avatar
kami
Posts: 39
Joined: July 3rd, 2010, 10:47 am
Location: Canosa di Puglia, Italy

Re: How to create a image meter linked to a web url?

Post by kami »

To: jsmorley

It works perfect!
Thanks a lot!