OPENATTRIBUTES documented?
Moderators: Hacker, petermad, Stefan2, white
OPENATTRIBUTES documented?
Hi,
OPENATTRIBUTES does not seem to be documented completely anywhere? E.g. I'd like to see an example on how to automatically add a comment "OK" to all selected files but can't figure it out neither from help nor from history.txt (which I shouldn't have to read).
TIA
Roman
OPENATTRIBUTES does not seem to be documented completely anywhere? E.g. I'd like to see an example on how to automatically add a comment "OK" to all selected files but can't figure it out neither from help nor from history.txt (which I shouldn't have to read).
TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: OPENATTRIBUTES documented?
In the Help serach for OPENATTRIBUTES - https://tcmd.madsenworld.dk/openattributes.png
You need to save a Setting (F2) that add's the comment. If you name the setting for example: AddcommentOK - you can use:
You can also find it in the Help via: Operation -> Menus -> Menu Files -> Change attributes
You need to save a Setting (F2) that add's the comment. If you name the setting for example: AddcommentOK - you can use:
Code: Select all
OPENATTRIBUITES= AddcommentOK
Last edited by petermad on 2023-07-28, 12:04 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: OPENATTRIBUTES documented?
Hi,
- "Change Attributes..." - Create template
- Position cursor on a file or folder, press and hold the Ctrl key and position cursor on the "Files" menu,
then release the Ctrl key. - Click on Menu "Files" > "Change Attributes..." >
Change plugin attributes:
-
Code: Select all
Plugin: Property: Value: tc comment OK
- F2 Load/save settings > Save settings: Comment-OK_for_Files&Folders > OK, OK
- The TC comment "OK" was created for file under cursor (descript.ion).
Option: Delete the hidden file "descript.ion" if comment is not needed. - See: wincmd.ini - section [attrplugin]
Code: Select all
Comment-OK_for_Files&Folders=tc.comment := OK
- Position cursor on a file or folder, press and hold the Ctrl key and position cursor on the "Files" menu,
- Button (copy/paste onto your buttonbar)
Code: Select all
TOTALCMD#BAR#DATA OPENATTRIBUTES=Comment-OK_for_Files&Folders wcmicon2.dll,28 OPENATTRIBUTES=Comment-OK_for_Files&Folders|https://www.ghisler.ch/board/viewtopic.php?t=79725 -1
- Mark files and/or folders and click the button
- IMPORTANT note: Any existing comments will be completely overwritten with the text: OK (!).
Re: OPENATTRIBUTES documented?
petermad, tuska,
Thank you both very much. So these:
Thanks again. Still I think the Help could use some examples.
Roman
Thank you both very much. So these:
"Plugin_settings" from Command Browser don't refer to specific plugin settings, but to saved change attribute dialog settings, I see. I was trying to use something likeOPENATTRIBUTES <parameters> Change Attributes dialog: +f (subfolders), +a/-a +r/-r +h/-h +s/-s +L/+L2 +c +dDate +tTime Plugin_settings
Code: Select all
OPENATTRIBUTES= tc.comment:=OK
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: OPENATTRIBUTES documented?
Another reason to list all commands on one or two pages like the INI settings viewtopic.php?t=79563
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: OPENATTRIBUTES documented?
What is the purpose of holding the CTRL key?tuska wrote: 2023-07-28, 12:02 UTC
- Position cursor on a file or folder, press and hold the Ctrl key and position cursor on the "Files" menu,
then release the Ctrl key.
Re: OPENATTRIBUTES documented?
I use ...
Code: Select all
SingleClickStart=1
In this case, it is sufficient to point to a file or a folder and press the left or right mouse buttonF1 - Help wrote:A single click starts programs and opens files (Win98 WEB style)
to perform an action, e.g. opening a file with a single click.
It is also sufficient, for example, to position the mouse pointer on a single file WITHOUT MARKING it
and then perform an action.
When I move the mouse, the mouse pointer moves over the files in a window and the focus on the files is constantly changed.
If I drag the position indicator upwards to reach a menu item or a button the cursor would move upwards and stop on ".."
in the active window.
To be sure that an action is carried out for a certain file I must therefore
a) either position the cursor on a file, then press the Ctrl-key and hold it down until it is outside the active window
- OR -
b) position the cursor on a file, then move the mouse pointer horizontally to the left or right outside the active window
and then move it upwards to the menu item or a button.
This method (a press on the Ctrl key) thus ensures that the action is carried out for the desired file.
Otherwise, it could happen that when you drag the mouse pointer upwards and then out of the active TC window
the wrong file is selected and the action is thus applied to the wrong file.
Re: OPENATTRIBUTES documented?
2tuska
Thanks for detailed explanation. I've never used single click to start, even more, it was the first thing i've disabled when it was introduced in win98, when all the icons were underlined. That's why I didn't see the reason to hold the CTRL, with this option disabled it has no function in that case.
Thanks for detailed explanation. I've never used single click to start, even more, it was the first thing i've disabled when it was introduced in win98, when all the icons were underlined. That's why I didn't see the reason to hold the CTRL, with this option disabled it has no function in that case.
Re: OPENATTRIBUTES documented?
Yes, I agree with that.solid wrote: 2023-09-07, 09:53 UTC 2tuska
I've never used single click to start, even more, it was the first thing i've disabled when it was introduced in win98,
when all the icons were underlined.
That's why I didn't see the reason to hold the CTRL, with this option disabled it has no function in that case.
I should perhaps have represented this point as an option [Ctrl key].
There are different options for SingleClickStart=.
- For SingleClickStart=1, 2, I think it is recommended to use the Ctrl key.
- For the other options, i.e. 0, 5, 6 the use of the Ctrl key is not necessary.