It is currently April 20th, 2024, 4:26 am

FileView plugin 2.1

Plugins and Addons popular with the Community
User avatar
Brian
Developer
Posts: 2679
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: FileView plugin 1.1

Post by Brian »

Not sure if you would want to do a "!Refresh" with a FinishAction, but maybe a "!Redraw".

As for your last sentence................ no comment. :D

-Brian
User avatar
Virginityrocks
Posts: 478
Joined: February 26th, 2011, 10:22 pm

Re: FileView plugin 1.1

Post by Virginityrocks »

Whatever the action is. I think !Update or !UpdateMeter * would probably work better. So long as the names and icons are guaranteed to display.
Droptop Four
Dropdown menu bar & app launcher for Windows & Rainmeter
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Re: FileView plugin 1.1

Post by XANCI »

Is there any possibility to directly refer to a certain file (name given) instead of use Index?
User avatar
Brian
Developer
Posts: 2679
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: FileView plugin 1.1

Post by Brian »

Not really. The purpose of the plugin is to direct it to some folder and it will tell you its contents. If you already know the name of the file, then why use the plugin.

-Brian
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Re: FileView plugin 1.1

Post by XANCI »

Brian wrote:Not really. The purpose of the plugin is to direct it to some folder and it will tell you its contents. If you already know the name of the file, then why use the plugin.

-Brian
To get the file's icon in some launcher skin
User avatar
Brian
Developer
Posts: 2679
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: FileView plugin 1.1

Post by Brian »

What you could do is use the "WildcardSearch" option.

Something like this:

Code: Select all

[mIcon]
Measure=Plugin
Plugin=FileView
Path=C:\Path\To\Your\File\
ShowDotDot=0
WildcardSearch=FileName.ext
Index=1
Type=Icon
IconSize=Large
Obviously you would have to change the Path and WildcardSearch to the appropriate values.

-Brian
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Re: FileView plugin 1.1

Post by XANCI »

Brian wrote:What you could do is use the "WildcardSearch" option.

Something like this:

Code: Select all

[mIcon]
Measure=Plugin
Plugin=FileView
Path=C:\Path\To\Your\File\
ShowDotDot=0
WildcardSearch=FileName.ext
Index=1
Type=Icon
IconSize=Large
Obviously you would have to change the Path and WildcardSearch to the appropriate values.

-Brian
Didn't notice that :) thx
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Re: FileView plugin 1.1

Post by XANCI »

Code: Select all

[m1]
Measure=Plugin
Plugin=FileView
Path="E:\\Program Files (x86)\\foobar2000"
Count=2
WildcardSearch=foobar2000.exe
Index=2
Type=Icon
IconPath=#@#Icons\Icon1.ico
IconSize=Large
if change Path WildcardSearch and IconPath=#@#Icons\Icon2.ico using !SetOption, the second Icon (Icon2.ico) won't be created
User avatar
Brian
Developer
Posts: 2679
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: FileView plugin 1.1

Post by Brian »

Did you update the measure after doing the !SetOption bangs?

Remember, the plugin is command driven, so just changing an option will not cause the plugin to update.

-Brian
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Re: FileView plugin 1.1

Post by XANCI »

Brian wrote:Did you update the measure after doing the !SetOption bangs?

Remember, the plugin is command driven, so just changing an option will not cause the plugin to update.

-Brian
Yes I did, and the measures had already returned from Icon11 to Icon 20
1.jpg
2.jpg
You do not have the required permissions to view the files attached to this post.