Presentation Screenshots Download Support Development Forum    
   

Welcome to the Community Forum.

Here you can discuss with other users or with the author, suggest new features, report bugs, ask for filters creation or correction, etc. Select the forum you wish to read or post below :

Forum
Forum > Filters repository > Guitar Pro Filter Help

Pages : [1] Add a reply
User info Guitar Pro Filter Help
Azgirio
Avatar
Aug 10 2010, 5:29 am
Hi. I've been trying to setup filters for guitar pro files. What I want to happen is have every file ending in a guitar pro extension (.gp3, .gp4, .gp5) go to the folder I've designated as my guitar pro file folder. I have the correct folder selected, and each filter has what I think to be the correct file name. (*.gp3) etc.

It does not seem to be working and the downloads default to my Downloads folder. Any help is appreciated, thanks.
Post #1
Edit
Cyan
Avatar
Aug 10 2010, 1:34 pm
Hi :)

I assume you correctly set up ASF and Firefox.
Basic rules:
1- ASF setting must be on "set by filters" if you choose to not show the file explorer.
2- Firefox must ask you "What should Firefox do with this file?" when saving this file-type (See the ASF's help tab for this information).
3- When saving, do not check "Always perform this action for this file-type" or else the previous statement will become wrong.
4- Verify your filter's order. They are verified from TOP to BOTTOM, if a matching filter is encountered before your desired one, it will not work.


Do you have a specific domain, or do you want to download them from many different website ?

I understand that you made 3 different filters, each one with a file extension.
You can combine them to create only 1 filter.
What I suggest to you :

Easy one :
Filters Domain
All    
= Regexp.
File name
All    
= Regexp.
Local folder


The "?" replace "1 needed character, anyone is ok".

But, it can trigger whenever it find a ".gp<something>" in the filename, it could be any files, not only Guitar Pro files.
You can prevent this by specifying exactly the numbers you want (3, 4 and 5) and obligatorily situated at the end of the filename (so it looks only on the file extension).
To do that, you have to use the regular expression (Do not forget to check the regexp box on filename) :

Filters Domain
All    
= Regexp.
File name
All    
= Regexp.
Local folder


.* = anything, followed by
\. = a dot, followed by
gp = the searched string, it's looking for gp or GP, followed by
[3-5] = 1 number only, from 3 to 5, followed by
$ = end of filename only, no other letter.



A suggestion to create and check if the filters are working :
- Go to ASF preferences and choose "show option while saving".
- Download a file and on the saving dialog, click on "+ Add or edit a filter" (I'll change this name later)
- now, you can see every matching filters, if they work they are highlighted green. If you don't have any green filters, edit your desired filter until the color is set to green.
Post #2
Edit
Azgirio
Avatar
Aug 10 2010, 6:49 pm
Thanks a lot Cyan, just got it working. My filters were fine, it was just settings within Firefox and ASF I had to change. I also changed my filter to just .*\.gp[3-5]$ which is working much better. Thanks a lot.
Post #3
Edit
Cyan
Avatar
Aug 10 2010, 8:15 pm
No problem ^^
I'm happy you got it working.


If you come back here :
Did you had problem setting the good settings by yourself?
Maybe it's not explained well enough, or ASF doesn't configure firefox automatically with the correct options after the installation ? (I though I took particular attention to do that correctly)

I think I should add more help inside ASF. I will create a "first install" help, explaining the needed settings.

Edit : Done in rev90
Post #4
Edit / Delete
Pages : [1] Add a reply

Return to top