This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[WFX] VirtualPanel: Temporary panel for TC
Goto page Previous  1, 2, 3 ... 46, 47, 48
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7894
Location: Russian Federation

PostPosted: Mon Sep 25, 2017 1:59 am    Post subject: Reply with quote

Well, second positional argument of <export command is a folder, not file. So in your case file path is interpreted as folder path and nothing is found.
And, you have to use braces if you want to filter name with spaces. So this command should work:
Code:
<export -f "C:\temp\export.vps" \ {">Export Test"}

_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
nsp
Power Member
Power Member


Joined: 04 Dec 2005
Posts: 1129
Location: Lyon (FRANCE)

PostPosted: Mon Sep 25, 2017 10:04 am    Post subject: Reply with quote

MVV wrote:
Well, second positional argument of <export command is a folder, not file. So in your case file path is interpreted as folder path and nothing is found.
And, you have to use braces if you want to filter name with spaces. So this command should work:
Code:
<export -f "C:\temp\export.vps" \ {">Export Test"}

Many thanks....
I've by mistake cut my VpFolder without replacing it.
It is working like a charm...
Code:
<export -f "C:\temp\export.vps" . {">Export Test"}
I was just thinking that the curly brackets are useful only to support multiple masks.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7894
Location: Russian Federation

PostPosted: Mon Sep 25, 2017 12:42 pm    Post subject: Reply with quote

Quote:
I was just thinking that the curly brackets are useful only to support multiple masks.

Well, curly braces work as quote replacement, especially when you have to keep quotes in argument like in this case.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
thomasw
Junior Member
Junior Member


Joined: 25 Jun 2007
Posts: 19

PostPosted: Sat Nov 11, 2017 3:01 pm    Post subject: Reply with quote

Hi all,

when I add a file to '\\\VirtualPanel\' renaming this file in the virtual panel does not work because the real file is not renamed!

What I am doing wrong?

Thanks!
Thomas
Back to top
View user's profile Send private message Send e-mail
nsp
Power Member
Power Member


Joined: 04 Dec 2005
Posts: 1129
Location: Lyon (FRANCE)

PostPosted: Sun Nov 12, 2017 2:46 am    Post subject: Reply with quote

thomasw wrote:
Hi all,

when I add a file to '\\\VirtualPanel\' renaming this file in the virtual panel does not work because the real file is not renamed!

What I am doing wrong?

Thanks!
Thomas
This is the correct behavior, you just rename "the link" you did on virtual panel without touching original file.
For single operation, you can click on properties and rename it from the property dialog.
For batch renaming, this will need some scripting with VP.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
thomasw
Junior Member
Junior Member


Joined: 25 Jun 2007
Posts: 19

PostPosted: Sun Nov 12, 2017 4:14 am    Post subject: Reply with quote

Hi nsp,

merci for your quick response!

I forgot to explain in detail:
I did not rename the file while copying it to the virtual panel. I did rename it using the properties dialog of the right mouse button.

My expectation is/was that the original file is also renamed when the file is renamed in the virtual panel using this dialog. But it looks like this is not implemented.

Best regards
Thomas
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7894
Location: Russian Federation

PostPosted: Mon Nov 13, 2017 1:03 am    Post subject: Reply with quote

VP holds links to files by default, and can also hold links to folders (these have usual folder icon w/o red border) that reflect physical folder contents and allows to modify it directly.

When you open "file" (which is a file link actually) properties from VP, original Windows properties dialog is opened, and you rename the physical file, so the link becomes incorrect because it holds old file name.

When you rename "file" in VP within TC, usually only the link is being renamed, as nsp said (however if you rename file in a physical folder link, it is renamed together with the physical file).

You can use the sample bar file for renaming physical file, it has "V*P Rename object with target..." command for this task.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
thomasw
Junior Member
Junior Member


Joined: 25 Jun 2007
Posts: 19

PostPosted: Mon Nov 13, 2017 1:34 am    Post subject: Reply with quote

THANKS!
I think you mean the sample bar on page 1 of this thread?
I will try to test it
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7894
Location: Russian Federation

PostPosted: Mon Nov 13, 2017 3:05 am    Post subject: Reply with quote

Yes, I talk about that sample BAR from first post, it contain some useful examples of calling VP functions from buttonbar.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
thomasw
Junior Member
Junior Member


Joined: 25 Jun 2007
Posts: 19

PostPosted: Mon Nov 13, 2017 11:18 am    Post subject: Reply with quote

Hello MVV,

button bar and panel works fine so far...

But is it possible to use Virtual Panel togehter with different TC configurations in parallel? Having different content of the panel in each TC configuration?

THANKS!
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7894
Location: Russian Federation

PostPosted: Mon Nov 13, 2017 1:27 pm    Post subject: Reply with quote

If your configurations use different wincmd.ini and fsplugin.ini files, it should already work so.

If your different TC configurations use the same wincmd.ini and installation folder, you can install VP multiple times, just make some copies of VirtualPanel.wfx* and create an empty VirtualPanel.ini file for each of them. Then open different VP instances in different TC instances. You can also use envvars in path to VP state file (but you will need to have an envvar with different values in different TC instances).
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
thomasw
Junior Member
Junior Member


Joined: 25 Jun 2007
Posts: 19

PostPosted: Tue Nov 14, 2017 2:53 pm    Post subject: Reply with quote

After using different fsplugin.ini files it works now!

THANKS!

Very Happy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3 ... 46, 47, 48
Page 48 of 48

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group