#1 2007-09-27 05:35

Yogui
Member
Registered: 2007-09-27
Posts: 41

Files Area Does Not Clear

Hi!

1st I love your Soft, the preview feature is great! smile

I do a LOT... of mp3 renaming. Well 500 files a day or so.

Sometimes the items to rename don't clear from the list, still able to preview & rename etc but can clear the list.

Control + Del doesn't do anything. neither Select and then Delete.

If no one has this problem... may be that I use a small script from www.autohotkey.com to clear items, load rules etc.

Does not do anything but send the same keystrokes for the specific action.

Cheers, Yogui.
Still work in progress but I happy to share the AHK.

Offline

#2 2007-09-27 10:36

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Files Area Does Not Clear

Thanks, Yogui smile

Try latest development version: ReNamerBeta.zip

If it doesn't work with this, them something might be interfering with the shortcuts...

P.S. Try unpacking it to an empty folder, and try first without changing any settings.

Offline

#3 2007-09-28 04:43

Yogui
Member
Registered: 2007-09-27
Posts: 41

Re: Files Area Does Not Clear

Hi Denis,

Thanks for your reply.

I tried today with the beta today and still happeing. sad

I think it happens when my script creates rules (delete and replace for...) from new filename preview edition (pressing F2)

I'll try to slow down the keystrokes sending rate and increase press duration

I'll start with 50 ms, and 20ms press unless you kwon the minimum value that should work. Do you?

I'll let you know if I'm luck with it.

Cheers, Yogui.

Offline

#4 2007-10-02 10:01

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Files Area Does Not Clear

Did you find the cause yet? Are you sure its ReNamer's problem?

Can you write down the steps to reproduce the problem, and I will try them my-self?

Offline

#5 2007-10-03 05:03

Yogui
Member
Registered: 2007-09-27
Posts: 41

Re: Files Area Does Not Clear

Hi!

Thanks for being so quick to reply.

After some slowing down in my scrip did't get any results, then I found that:

1-Drop Files from Win Explorer
2-Preview any rule
3-Select an item and then manual edit with the mouse (NO {F2}, Click the name and wait a sec)
4-Escape
Now, Control+Del does not clear the files-Folders
hmm

I've try Beta as well

But When Try on V 4.65 Seems to work!

I hope you can find something. tongue

FYI:
I copy my code which allows me to create rules from a selected part of the item preview name {I select with the mouse not F2} At the moment I do Delete selected txt and replace for... (in which I enter the replacement string)

Cheers, yogui.
PD: Most of the Sleeps Just were added when trying to fix the problem but they made no diff,
PD2: This is part of the www.autohotkey.com code I use, is not a complete functional script

RENAMER_ADD_RULE_FROM_SELECTION:

WinWait, ReNamer ahk_class TForm_Main, , 2
If Errorlevel
    {
    MsgBox, 16,e-menu Time Out Error,Waiting Period Expired for the Label "%A_ThisMenuItem%".
    Return
    }

ClipSaved := ClipboardAll
Clipboard =

BlockInput On

IfWinNotActive, ReNamer ahk_class TForm_Main
    WinActivate, ReNamer ahk_class TForm_Main
WinWaitActive, ReNamer ahk_class TForm_Main
Send ^c

ClipWait, 2
If ErrorLevel
    {
    BlockInput Off
    MsgBox, The Attempt to Copy Text Onto the Clipboard Failed.
    Return
    }

RENAMER_FILE_NAME_SELECTION := Clipboard

Clipboard := ClipSaved
ClipSaved =

Sleep 400
WinWaitActive, ReNamer ahk_class TForm_Main
Send {Esc}
Sleep 400

WinWaitActive, ReNamer ahk_class TForm_Main

ControlFocus, TTntListView.UnicodeClass1, ReNamer ahk_class TForm_Main
Sleep 500                                            ;TIME TO FOCUS
IfWinNotActive, ReNamer ahk_class TForm_Main
    WinActivate, ReNamer ahk_class TForm_Main
WinWaitActive, ReNamer ahk_class TForm_Main
Send {Insert}

WinWait, Add Rule ahk_class TForm_AddRule, , 2
If Errorlevel
    {
    BlockInput Off
    MsgBox, 16,e-menu Time Out Error,Waiting Period Expired for the Label "%A_ThisMenuItem%".
    Return
    }
IfWinNotActive, Add Rule ahk_class TForm_AddRule
    WinActivate, Add Rule ahk_class TForm_AddRule
WinWaitActive, Add Rule ahk_class TForm_AddRule

ControlFocus, TListBox1, Add Rule ahk_class TForm_AddRule
WinWaitActive, Add Rule ahk_class TForm_AddRule

If A_ThisMenuItem = &Add Rule Replace Selected Text
    Send Replace
If A_ThisMenuItem = &Add Rule Remove Selected Text
    Send Remove

WinWaitActive, Add Rule ahk_class TForm_AddRule

If A_ThisMenuItem = &Add Rule Replace Selected Text
    ControlFocus, TTntEdit.UnicodeClass2, Add Rule ahk_class TForm_AddRule

If A_ThisMenuItem = &Add Rule Remove Selected Text
    ControlFocus, TTntEdit.UnicodeClass1, Add Rule ahk_class TForm_AddRule

WinWaitActive, Add Rule ahk_class TForm_AddRule
Send %RENAMER_FILE_NAME_SELECTION%

WinWaitActive, Add Rule ahk_class TForm_AddRule

If A_ThisMenuItem = &Add Rule Replace Selected Text
    {
    ControlFocus, TRadioButton2, Add Rule ahk_class TForm_AddRule
    WinWaitActive, Add Rule ahk_class TForm_AddRule
    ControlFocus, TTntEdit.UnicodeClass1, Add Rule ahk_class TForm_AddRule
    Send %RENAMER_FILE_NAME_SELECTION%
    WinWaitActive, Add Rule ahk_class TForm_AddRule
    ControlFocus, TTntEdit.UnicodeClass2, Add Rule ahk_class TForm_AddRule
    WinWaitActive, Add Rule ahk_class TForm_AddRule
    ControlFocus, TTntEdit.UnicodeClass1, Add Rule ahk_class TForm_AddRule
    BlockInput Off
    Return
    }

ControlFocus, TRadioButton1, Add Rule ahk_class TForm_AddRule

WinWaitActive, Add Rule ahk_class TForm_AddRule
ControlFocus, TBitBtn2, Add Rule ahk_class TForm_AddRule

WinWaitActive, Add Rule ahk_class TForm_AddRule
Send {Enter}

WinWaitClose, Add Rule ahk_class TForm_AddRule
Sleep 300

WinWaitActive, ReNamer ahk_class TForm_Main, , 0.5

IfWinNotActive, ReNamer ahk_class TForm_Main
    WinActivate, ReNamer ahk_class TForm_Main
WinWaitActive, ReNamer ahk_class TForm_Main

ControlFocus, TTntListView.UnicodeClass1, ReNamer ahk_class TForm_Main
Sleep 400
IfWinNotActive, ReNamer ahk_class TForm_Main
    WinActivate, ReNamer ahk_class TForm_Main
WinWaitActive, ReNamer ahk_class TForm_Main
Send {End}
Sleep 400

WinWaitActive, ReNamer ahk_class TForm_Main
ControlFocus, TVirtualStringTree1, ReNamer ahk_class TForm_Main

WinWaitActive, ReNamer ahk_class TForm_Main
BlockInput Off
Return

Last edited by Yogui (2007-10-03 05:07)

Offline

#6 2007-10-04 12:38

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Files Area Does Not Clear

It was actually a component bug. In version 5.00, I've updated table's component.

When you edit new name, I have to disable the table's context menu, to allow the default "editor" context menu to popup, and to disable all of the shortcut keys from the table. When you stop editing the new name, the original context menu is restored. But for some reason, in the latest version of the component, I do not get a "finished editing" notification when you initiate editing via "click through", thus, the original context menu for the table does not get restored. That's why none of the shortcut keys worked for the table (e.g. Del, Ctrl+Del, etc).

I've implemented a workaround, and this problem should not appear any more.

Try it from here: ReNamerBeta.zip

Offline

#7 2007-10-08 14:48

Yogui
Member
Registered: 2007-09-27
Posts: 41

Re: Files Area Does Not Clear

Thanks!!! Thats Great!:D

Lucky you found a problem and fix it, because I didn't have a clue how to fix my code, I was going to give up and go back to v4.65. sad

I actually mess it up a little but, now is back to normal.

Cheers, Yogui

Offline

#8 2007-10-10 00:29

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Files Area Does Not Clear

Well, I didn't really fix the problem, but the workaround seems to work fine! big_smile

As I said, the real problem is in the updated component. I hope authors will fix their problem...

Offline

#9 2007-10-10 21:35

Yogui
Member
Registered: 2007-09-27
Posts: 41

Re: Files Area Does Not Clear

Hi,

I've use it at least 20 or 50 times and works great. big_smile
My script takes about 200 ms to send all the keystrokes etc so it's good that also is capable to handle them. (some other programs aren't)

Thanks for the workaround. smile

Yogui.

Offline

#10 2008-03-01 18:55

eR@SeR
Senior Member
From: Земун, Србија
Registered: 2008-01-23
Posts: 354

Re: Files Area Does Not Clear

I tought about to post a topic about "Files Area Does Not Clear" because that error really bothers me. I saw that I am not only one user which this error happening, so this error is still occuring on ver 5.20. As I read from these comments, that error doesn't have connection with ReNamer itself, than some component used in ReNamer. When should we expect resolving this problem by author of that component?
         I'll try to describe the process of gaining this error to you, so if happens, please post a comment:
        - add 5,6 or more files to table window
        - you can add any rule or without rules
        - start selecting, double clicking, edit name (F2), analyze name... repeat these actions without any order
        - error should occur and you cannot delete, remove your files from table window

P.S. You remember that I wrote to you about this problem so I just want to see what other users have to add (to Denis).


TRUTH, FREEDOM, JUSTICE and FATHERLAND are the highest morale values which human is born, lives and dies for!

Offline

Board footer

Powered by FluxBB