| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Nov 19, 2009 8:00 pm Post subject: |
|
|
| HugoV wrote: | | TOR user wrote: | | RegEx would be also a great addition for powering Search & Replace. | That is already supported as far as I know, see the RE checkbox in the screenshot above. |
My bad (' '). Sorry for stating that without doing further research.
(' ') Perl is quite different from the syntax I got used... |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Thu Nov 19, 2009 8:19 pm Post subject: |
|
|
| Quote: | t could only have been better if no need to search for all the files but instead drag the parent folder filtering with *.mp3.
I mean, it would be really nice to be able to choose between adding a folder only (default behaviour), or also include files and /or subfolders inside it, making use of filters |
You can do this without gui as:
| Code: | dir /S /B | find ".mp3" >out
Mrs.ahk out |
_________________
 |
|
| Back to top |
|
 |
BoffinbraiN
Joined: 16 Nov 2009 Posts: 107
|
Posted: Fri Nov 20, 2009 12:53 am Post subject: |
|
|
It still amazes me when people develop such complex applications in AHK. AHK is great for key hooks and anything I/O-related, but I hope they give other languages like C++ and Java a try too.
People on this thread might be interested in AF5 Rename Your Files http://www.fauland.com/af5.htm - it's saved me hours of time in total. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Fri Nov 20, 2009 9:05 pm Post subject: |
|
|
| Quote: | | It still amazes me when people develop such complex applications in AHK. AHK is great for key hooks and anything I/O-related, but I hope they give other languages like C++ and Java a try too. |
There is nothing to be amazed about. Its just a personal taste in question. The complexity is also personal thing. IMO, MRS is not that complex.
The benefit of mainstream languages is codebase, rich frameworks, and in this case (c++ java) compiler. The benefit of non-mainstream languages like AHK are fun, being able to program again (there are low number of frameworks so you have to do it yourself, programming in mentioned languages today is 95% design, 5% coding) and (in this case) absence of compiler (I prefer dynamic languages with integrated automation features).
I agree with you, however. AHK is not suitable for more complex projects.
I personally do it because my opinion is that automation as basic language feature is must today. If you think about it, thats what you need in all aspects of life - automatic management.
BTW, AF5 sucks big time. You should give MRS a try
----------------
I am probably rewritting script in 2.0. Some of the things I am thinking are:
1. Creation of MRS framework so you can write MRS scripts.
2. Gui removal. With framework in place you can create your kind of interface (console, gui, web, whatever...) _________________
 |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Fri Nov 20, 2009 9:40 pm Post subject: |
|
|
| Quote: | | BTW, AF5 sucks big time. You should give MRS a try |
FYI: A really good renamer is RenameMaster, maybe you can get some ideas from it.
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Sat Nov 21, 2009 12:51 pm Post subject: |
|
|
Rename master is nice altho I don't see any thing it does it can't be done with MRS. It doesn't support plugins too so you are stucked with defaults.
I totally don't like GUI driven approach. Domain specific language is the way to go for me.
Anyway, thanks for providing link to this progy. Perhaps linking it in Utilities forum would be useful. _________________
 |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 841 Location: Berlin
|
Posted: Sat Nov 21, 2009 1:34 pm Post subject: |
|
|
You are right. Yours is way better
One thing it does have though: it shows/warns for collisions.
And I guess the GUI options are good for newbs who are not that good with RegEx.
I'll add it to the Utilities forum (and link to your program)
 _________________
My AHK stuff on ahk.net / on DropBox (mirror) / @home (if online) |
|
| Back to top |
|
 |
BoffinbraiN
Joined: 16 Nov 2009 Posts: 107
|
Posted: Sat Nov 21, 2009 4:40 pm Post subject: |
|
|
| n-l-i-d wrote: | | Quote: | | BTW, AF5 sucks big time. You should give MRS a try |
FYI: A really good renamer is RenameMaster, maybe you can get some ideas from it. |
I only needed to add a date and a counter to files, and it was the first I came across, but yes, both of these apps are much more awesome, should I need something more complex. Cheers for that! |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Sun Nov 22, 2009 9:19 pm Post subject: |
|
|
| Quote: | | You are right. Yours is way better |
I told you so
The only thing it has is unlimited number of steps you can add, but, that will change in MRS 2.0. _________________
 |
|
| Back to top |
|
 |
poetbox
Joined: 07 Jan 2007 Posts: 94
|
Posted: Thu Dec 03, 2009 3:15 am Post subject: |
|
|
How to add this funtion,that it,if instring(FILENAME,"MarkME"),then add "MArk" at the begining of the filename?
IT's only to add a prefix to certain files that have some wanted String!
eg,
HEres file:
FileA,Filebasfsdfs,FileC23sMArkME,FileEqweqwe,FileFMarkme,
Renname FileC23sMArkME to "Mark_[the old name]" |
|
| Back to top |
|
 |
Smurth
Joined: 13 Dec 2006 Posts: 104
|
Posted: Thu Dec 03, 2009 5:37 am Post subject: |
|
|
@majkinetor: Nice work, as usual...
...and AFX (aka Aphex Twin) is the only ambience I can listen to, when programming  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Thu Dec 03, 2009 4:11 pm Post subject: |
|
|
| Quote: | | ...and AFX (aka Aphex Twin) is the only ambience I can listen to, when programming |
Here is some more for you then:
- Yagya - The Rythm of Snow
- Monolake - Hong Kong
- Anders Ilar - Everdom
Enjoy  _________________
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Thu Dec 03, 2009 4:15 pm Post subject: |
|
|
| Quote: | | How to add this funtion,that it,if instring(FILENAME,"MarkME"),then add "MArk" at the begining of the filename? |
You need to write new Mask plugin. More info in tutorial. Save this in plugins folder as Prefix.ahk and u can use it.
| Code: | Prefix:
if InStr(#fn, #1)
#Res := #2 #fn
else #Res := #fn
return
Prefix_GetFields:
#Res = *
return
|
| Code: |
Usage:
... [=MyPlugin.MarkME.MArk] ... |
You could use different syntax (non dot one), for instance
| Code: | | [=MyPlugin MarkMe -> Mark] |
and you need #3 for that one.... _________________
 |
|
| Back to top |
|
 |
poetbox
Joined: 07 Jan 2007 Posts: 94
|
Posted: Tue Dec 08, 2009 3:07 am Post subject: |
|
|
| majkinetor wrote: | | Quote: | | How to add this funtion,that it,if instring(FILENAME,"MarkME"),then add "MArk" at the begining of the filename? |
You need to write new Mask plugin. More info in tutorial. Save this in plugins folder as Prefix.ahk and u can use it.
| Code: | Prefix:
if InStr(#fn, #1)
#Res := #2 #fn
else #Res := #fn
return
Prefix_GetFields:
#Res = *
return
|
| Code: |
Usage:
... [=MyPlugin.MarkME.MArk] ... |
You could use different syntax (non dot one), for instance
| Code: | | [=MyPlugin MarkMe -> Mark] |
and you need #3 for that one.... |
Great. It's my favorite!
Thank you very much!
Since you'v done,why not add it to the uploaded downloading files?  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Tue Dec 08, 2009 3:09 pm Post subject: |
|
|
U r welcome.
Anyway, if any of you guys have some suggestions now is the right time. _________________
 |
|
| Back to top |
|
 |
|