It is currently May 21st, 2024, 11:13 am

Copy image to specified directory:

Get help with creating, editing & fixing problems with skins
Lallatwittle
Posts: 8
Joined: April 17th, 2012, 2:36 am

Copy image to specified directory:

Post by Lallatwittle »

Hi all, I'm hoping someone can help me. I have a collage set up on my desktop of several picture directories cycling as slideshows. I am looking for a way to program certain ones to copy on double click to a specified directory. I've gotten this far:


[Metadata]
Name=GalleryView
Config=Picture show
Description=show your photos
Version=1.0.0
License=Author=h_plus^labels

;End of added Metadata

[Variables]
ImagePath=D:\My Documents\My Pictures\Character Portraits\Artists
subF=1
fFilter=*.jpg;*.jpeg;*.png;*.bmp

[O]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#ImagePath#
FileFilter=#fFilter#
Subfolders=#subF#

[Pic]
MeasureName=O
Meter=IMAGE
X=5
Y=5
W=400
H=400
PreserveAspectRatio=1
LeftMouseUpAction=!Execute [explorer.exe "[O]"]
MiddleMouseUpAction=!Refresh
LeftMouseDoubleClickAction=

Can someone please help me do the last bit? Thanks much!!!!
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Copy image to specified directory:

Post by dragonmage »

You could use Nircmd to do that.
Lallatwittle
Posts: 8
Joined: April 17th, 2012, 2:36 am

Re: Copy image to specified directory:

Post by Lallatwittle »

Thanks, I appreciate the response!
One more question. I have my image image boundaries set to much smaller than most of what it would jump through but occasionally there is a smaller image that gets stretched way too big. Is there a way for me to tell it to keep the smaller size if it's too small for the set bounds? Thanks again!!
Lallatwittle
Posts: 8
Joined: April 17th, 2012, 2:36 am

Re: Copy image to specified directory:

Post by Lallatwittle »

No, I already have PreserveAspectRatio=1 set. The problem I'm having though is if an image is say 300x300 and my dimensions are set to 400x400 that the image stretches to 400x400 rather than staying at 300 so the lines get all pixelated and ugly.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Copy image to specified directory:

Post by dragonmage »

Something like PreserveAspectRatio
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Copy image to specified directory:

Post by dragonmage »

Yeah that's a little trickier. There is probably a way to handle that using Lua but I'll have to let someone else help you with that.
Lallatwittle
Posts: 8
Joined: April 17th, 2012, 2:36 am

Re: Copy image to specified directory:

Post by Lallatwittle »

Thanks anyway Dragonmage. If I can't figure it out, it's not a big deal by any means. I appreciate your help! Thank you very much.
User avatar
Mordasius
Posts: 1173
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Copy image to specified directory:

Post by Mordasius »

dragonmage wrote:There is probably a way to handle that using Lua but I'll have to let someone else help you with that.
~Faradey~ did something like this using LUA in his Kotoko Suite. See http://rainmeter.net/forum/viewtopic.php?f=5&t=11472&p=65580
Lallatwittle
Posts: 8
Joined: April 17th, 2012, 2:36 am

Re: Copy image to specified directory:

Post by Lallatwittle »

Thanks! Yeah, that's what I'm looking for!