Page 1 of 1

Tag based portable file associations

Posted: 07 Mar 2012 03:14
by textpattern
I like POM feature very much. I think it is more powerful with tags management feature.

Now, POM can only handle path based pattern, i.e.
d:\*.py>sublime text 2.exe
*.jpg>acdsee.exe.

Why not have a tag based pattern? So I can tag some files first and run them with special programs. i.e.
tags:pycharm>pycharm.exe
tags:wing>wing.exe
d:\*.py>sublime text 2.exe

In this example, normal py file opened with sublime text 2. Py files tagged "pycharm" open with pycharm. Py files tagged "wing" open with Wing IDE . It is more flexible than path based pattern.

The execute order is as the POM layout order. For multiple tags, a file tagged "pycharm and wing" will open with pycharm mainly. If there are no tags meet the pattern, just fall down to path pattern.

I also hope search template can go with POM. If some files meets with search condition, they will open with special programs. i.e.

?lbl:red>abc.exe.
It means files with red label open with abc.exe.

Re: Tag based portable file associations

Posted: 07 Mar 2012 09:18
by admin
Wow, you got fast into the XY mind frame! Brilliant idea! I put it on my list.