Link target Parameters

Post your problems, feedback or anything else about Wallpaper Cycler that doesn't fit in one of the other forums.

Moderators: Marc G, Johan G

Link target Parameters

Postby ewaldorph » Fri Mar 02, 2012 8:53 pm

I have been successful in running an application from a layout object by using the Link Target property. However I have been unsuccessful in passing a parameter to the application. In short, I want to click on the wallpaper displayed and open it in a viewing program.

Entering '<path> application.exe' in the Link Target property works fine.

I want to pass the path of the current image. I have tried entering the following variable in the Link Target Params property: "%s"; %s; -P "%s". None of them expanded to the current path and filename of the wallpaper.

I have even tried appending the variable to the Link Target property, to no avail.

How do I accomplish this?
ewaldorph
 
Posts: 2
Joined: Fri Mar 02, 2012 8:43 pm

Re: Link target Parameters

Postby Marc G » Thu Mar 08, 2012 11:19 pm

That's not possible right now.
No parsing is done on the Link Target Params setting.
Marc Gregoire,
NuonSoft
[ Microsoft MVP VC++ since 2007 ]
User avatar
Marc G
NuonSoft Staff
 
Posts: 818
Joined: Thu Nov 07, 2002 8:19 pm
Location: Belgium

Re: Link target Parameters

Postby ewaldorph » Wed Mar 14, 2012 5:17 am

Hi, Mark!

Thanks for the reply. Let me suggest this function for the future.

What I'd like to do is click on a wallpaper image and open it in a photo viewer, editor, or manager.
ewaldorph
 
Posts: 2
Joined: Fri Mar 02, 2012 8:43 pm

Re: Link target Parameters

Postby Marc G » Wed Mar 14, 2012 6:25 pm

It's on the todo, but unfortunately, I cannot give a date for the next release.
Marc Gregoire,
NuonSoft
[ Microsoft MVP VC++ since 2007 ]
User avatar
Marc G
NuonSoft Staff
 
Posts: 818
Joined: Thu Nov 07, 2002 8:19 pm
Location: Belgium


Return to WPC - General

Who is online

Users browsing this forum: No registered users and 2 guests

cron