script causing slowness
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
script causing slowness
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)
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)
-
highend
- Posts: 14994
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: script causing slowness
And which button do you click exactly, what happens when you right click it (show screenshot)?
One of my scripts helped you out? Please donate via Paypal
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
Re: script causing slowness
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.
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
Re: script causing slowness
For example, if I try to minimize the application, a message appears saying “You cannot minimize the application while a script is being executed”.
-
highend
- Posts: 14994
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: script causing slowness
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...
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...
One of my scripts helped you out? Please donate via Paypal
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
Re: script causing slowness
Screenshot in the attachment. This window contains the same command line as the previous window.
To see the attached files, you need to log into the forum.
-
highend
- Posts: 14994
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: script causing slowness
Click on that path in the tree.
After its content has been displayed, execute this from the address bar and show the result:
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;
One of my scripts helped you out? Please donate via Paypal
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
Re: script causing slowness
It returned 15, but the slowness continues.
-
highend
- Posts: 14994
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: script causing slowness
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...
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...
One of my scripts helped you out? Please donate via Paypal
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
Re: script causing slowness
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)
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)
-
highend
- Posts: 14994
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: script causing slowness
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.
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.
One of my scripts helped you out? Please donate via Paypal
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
Re: script causing slowness
Okay. I'm going to record the video at lunch, I'm really busy right now.
-
ClovisBlock
- Posts: 9
- Joined: 07 Apr 2018 18:16
Re: script causing slowness
@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.
XYplorer Beta Club