Page 1 of 1
script causing slowness
Posted: 07 Jan 2021 18:45
by ClovisBlock
When I switch between folders using shortcuts added in the toolbar, accessing the desired page takes longer (about 5 seconds or more) than if I accessed it directly through the file tree, it didn't happen before.
If, during this process, I try to minimize or restore the application window, a message warns me that it is not possible to minimize or restore while a script is in progress. This started a few weeks ago.
Can someone help me?
(from Brazil)
Re: script causing slowness
Posted: 07 Jan 2021 20:47
by highend
And which button do you click exactly, what happens when you right click it (show screenshot)?
Re: script causing slowness
Posted: 08 Jan 2021 12:11
by ClovisBlock
Hi. I click in a shortcut to a folder that I've created. That short cut has this command "goto "C:\Users\User\Dropbox\Importações\2. OMNI\0. Retorno\"". After I clicked, the system is processing and I can't execute any commands in the application, even minimize or restore.
Re: script causing slowness
Posted: 08 Jan 2021 12:20
by ClovisBlock
For example, if I try to minimize the application, a message appears saying “You cannot minimize the application while a script is being executed”.
Re: script causing slowness
Posted: 08 Jan 2021 13:11
by highend
Right click that button, choose "Edit..." from the context menu
Click on the "Edit..." button on the right side of the "On left click:" line and show the screenshot please.
I can't see any reason why it is instant when you do it from the tree and takes seconds when you use a normal goto script command...
Re: script causing slowness
Posted: 08 Jan 2021 19:49
by ClovisBlock
Screenshot in the attachment. This window contains the same command line as the previous window.
Re: script causing slowness
Posted: 12 Jan 2021 17:59
by ClovisBlock
Someone?
Re: script causing slowness
Posted: 12 Jan 2021 19:04
by highend
Click on that path in the tree.
After its content has been displayed, execute this from the address bar and show the result:
Code: Select all
$start = now("msecs"); goto "C:\Users\User\Dropbox\Importações\2. OMNI\0. Retorno\"; e now("msecs") - $start;
Re: script causing slowness
Posted: 13 Jan 2021 12:04
by ClovisBlock
It returned 15, but the slowness continues.
Re: script causing slowness
Posted: 13 Jan 2021 12:12
by highend
Sorry, I don't get it. It took 15 ms for the command to execute
Record a video of what happens (clicking the tree item vs clicking the button) and ofc do not leave out the content of the pane...
Re: script causing slowness
Posted: 13 Jan 2021 12:34
by ClovisBlock
15ms means the time taken to display all files in the folder, correct? Looking more closely, I noticed that the delay in displaying the files in each folder with a shortcut depends on the number of files in the folder. For example, in a shortcut to a folder with 1042 files and folders, it takes much longer (+/- 03 seconds) than in a shortcut with 470 files / folders and, finally, in a shortcut with 24 folders it is very fast (<01 seconds ). When I use the shortcuts in Favorites, it also takes time, but when I click directly on the folders, access is instant. Is this relevant information?
I didn't record the video because I don't think it will show any relevant information and also because I don't have any apps installed for it.
(Sorry for the grammar, I am writing in Portuguese and translating into English)
Re: script causing slowness
Posted: 13 Jan 2021 12:43
by highend
It's the time it took to execute the command, not to display all items in the pane.
What you're saying sounds that you have setup additional columns that are displayed in "C:\Users\User\Dropbox\Importações\2. OMNI\0. Retorno\".
But this doesn't make sense because then you would have the same slowness when clicking the folder in the tree.
So again, record a video. Make sure that all columns are visible in the file pane.
There is e.g.:
http://blog.bahraniapps.com/gifcam/
To do such things. Freeware & portable.
Re: script causing slowness
Posted: 13 Jan 2021 12:58
by ClovisBlock
Okay. I'm going to record the video at lunch, I'm really busy right now.
Re: script causing slowness
Posted: 20 Jan 2021 17:09
by ClovisBlock
@hiend. I'm sorry for the delay in replying, I've been very busy. Look, we can call it a day, you just don't have any slowness when using shortcuts for the masses. Thank you very much, really, for the attention you paid, you were very attentive.