%COMMANDER_PATH%\Tools\impomezia\colors\standard.ini
[Searches]
Text files_SearchFor=*.txt;*.bbs;*.cfg;*.ion;*.log;*.me;*.rus;*.scp
Text files_SearchIn=
Text files_SearchText=
Text files_SearchFlags=0|00000200||||||||22220|0000
When I launch sample.ahk.fx, it opens up in notepad2, as expected (Filter1)
when I launch sample.txt.fx, it opens up in notepad* (Filter2)
when I launch sample.bbs.fx, it opens up in notepad*
when I launch sample.cfg.fx, it opens up in notepad*
when I launch sample.ion.fx, it opens up in notepad*
*or the default software in windows' file association
Windows 7 32 Bit
Total Commander 8.0 B25
NiftyLink 1.03
Disclaimer: I admit I didn't read the entire thread and the entire document.
DBH wrote:32 bit (in case that would be of any interest now (see below)).
Thanks. I think this is an issue of the programming language that I'm using for this project. I've reported the problem to the developers of the language now, and it's good that I could give some information about the context in which it happened.
DBH wrote:Tried the update 1.03a and it works now!!
I'm glad that it works now for you! I'll soon release a new official version that contains the fix.
KC_ wrote:Disclaimer: I admit I didn't read the entire thread and the entire document.
Sorry, with the information that you posted, I can't say much. [Searches] are not suppored by he program. The default software in windows' file association is sometimes used, and sometime not. It depends. Please read the complete documentation, then you know what the program is expected to do and not to do.
KC_ wrote:Disclaimer: I admit I didn't read the entire thread and the entire document.
Sorry, with the information that you posted, I can't say much. [Searches] are not suppored by he program. The default software in windows' file association is sometimes used, and sometime not. It depends. Please read the complete documentation, then you know what the program is expected to do and not to do.
@KC_ on page 5 of this thread you can read an exchange between Juergen and me concerning a proposed feature, which would enable using internal associations with niftylinks. Could that feature alone fulfill your needs?
BTW, one thing that strikes me in your setup is that you keep searches and associations in two separate files, I keep both inside a single, redirected file. As far as I remember, in the past I had tried two separate files like yours but I ran into some conflicts, which I can't remember exactly.
2Juergen
Hi, I have a question regarding your NiftyLink addon. I couldn't find out so far how to solve the following problem.
We are working in an SVN environment here. We want to create links inside the SVN. So the SVN files are of course all saved on a server and have URLs. Eeach user has checked out a local copy - but has chosen a different base path. Example:
User A: "D:\SVN\" links to https://svnserver.local/stuff/
User B: "C:\Users\Users\Documents\Stuff" links to https://svnserver.local/stuff/
So the goal is to link to the appropriate local file for every user. Any ideas?
unfortunately, I know only little about SVN, and I've never used it myself. So I hope what I'm going to write now makes sense according to your situation.
I've tested the following scenario on our LAN:
User A has a local file "T:\Desktop\Demo.txt"
User B has a local file "U:\Eigene Dateien\Demo.txt"
Both users have NiftyLink locally installed.
In the local file "NiftyLink.ini" of user A, it reads:
If user A double-clicks at "Demo.txt.fx", then his local file "Demo.txt" is opened with the associated program. This works even without TC, using the Windows Explorer. Same for user B with his local file "Demo.txt".
I hope, this is applicable to your problem. If not, please let me know. Then there might be another solution, or I might be able to change the program so that it does what you want.
2Juergen
I'm not sure if it helps. I haven't tried using basic relatove links so far - at least not on multiple machines. Do you think they could work in the described scenario?
KC_ wrote:Disclaimer: I admit I didn't read the entire thread and the entire document.
Sorry, with the information that you posted, I can't say much. [Searches] are not suppored by he program. The default software in windows' file association is sometimes used, and sometime not. It depends. Please read the complete documentation, then you know what the program is expected to do and not to do.
@KC_ on page 5 of this thread you can read an exchange between Juergen and me concerning a proposed feature, which would enable using internal associations with niftylinks. Could that feature alone fulfill your needs?
BTW, one thing that strikes me in your setup is that you keep searches and associations in two separate files, I keep both inside a single, redirected file. As far as I remember, in the past I had tried two separate files like yours but I ran into some conflicts, which I can't remember exactly.
2sgp and 2Juergen
Pardon my late reply.
Yeah, I've broken down my wincmd.ini into probably 10 or more files, by redirection. It's easier to manipulate tc that way, and i switch through different "themes" or "setups" or "layouts" through a tiny helper app i cooked up through autohotkey.
As for the internal associations, NiftyLink doesn't seem to follow them if they were through saved searches. If the associations are written down explicitly though, then there is no problem. It's not a big thing on my part as I mostly use NiftyLink on exe files (I have a locked tab with all my "to process" files in it, and this is where i drop the NiftyLinks to my favorite programs as well).
NiftyLink is pretty cool. I'll have a look at page 5.
KC_ wrote:Yeah, I've broken down my wincmd.ini into probably 10 or more files, by redirection. It's easier to manipulate tc that way
I've broken down my wincmd.ini too. But I keep associations and searches into a single file. Post a self-contained test case of an internal association that fails with niftylink and I could tell you if it fails ith my setup too.
, and i switch through different "themes" or "setups" or "layouts" through a tiny helper app i cooked up through autohotkey.
(off topic) I would like to be able to switch the TC window font size based on the hostname. Is that something which your helper app could help with?
I've got problems installing a new version from exe file:
* Previously I installed Version 1.03 from exe-file
* Accidently I removed the "uninstall.exe" (or whatever files are needed for unimstallation)
* Now I want to update to Version 1.04
=> Update can not be performed: I'm requested to remove the previously installed version. This cannot be done, since the uninstaller is not present anymore ... So I'm stuck with previous version
Question:
How can I update NiftyLink anyway?
Request:
* Within Installer: Offer an option for simply overwriting existing version - without uninstalling previous version ...
Technically speaking, the setup file is a self-extracting ZIP archive, which you can open in Total Commander with [Ctrl]+[PgDown]. Then copy the content of the folder "53758734" to your existing NiftyLink directory, overwriting the old files. Since you didn't uninstall the old version, menu entries and file associations still exist.
I'll look into the installer for the next version.
Juergen wrote:Technically speaking, the setup file is a self-extracting ZIP archive, which you can open in Total Commander with [Ctrl]+[PgDown]. Then copy the content of the folder "53758734" to your existing NiftyLink directory, overwriting the old files. Since you didn't uninstall the old version, menu entries and file associations still exist.
When NiftyLinks were created in Total Commander on the command-line, and the link target contained a relative path, the path of the target panel in TC wasn't recognized correctly under certain conditions.
new
Now it's possible to specify more precisely, how a linked file is to be opened (automatically, as archive in TC, with a particular internally associated TC command, with system command, with a particular program):
If a file name in a NiftyLink is preceded by <newtab>, <other> or <newtabother>, then this file is now always treated as an archive.
A file is explicitly treated as an archive, and opened in the current tab of the current panel of TC, if its name in the link is preceded by <archive>.
If a file name in a link is preceded by <TC_foo>, then this file will be opened with the command "foo", with which it is associated internally in TC.
Hi Juergen, thanks for the new beta version. Maybe I gave some ideas, but you do all the hard work. I can't take any credit.
Some issues in 1.10 beta 1 (Win7 SP1 32-bit English):
I have internal associations for .zip archives. The niftylink create dialog disables field "with this command associated internally in TC" for .zip archives. Can you enable it?
If I manually create a <TC_open-with-existing-associated-program> for a .zip file link, and double-click the niftylink I get: "Niftylink error: invalid associated command in Total Commander"
The same two issues above occur also with .pdf files. So I'm inclined to think that NiftyLink gets confused with my setup, which uses redirection= (this has been discussed in this thread recently). In my setup, I keep sections [searches] and [associations] in a separate .ini file associations-searches.ini, and wincmd.ini redirects both sections with redirect=associations-searches.ini.
If I double-click a simple (no <> whatsoever) niftylink to a .pdf file, it opens with the system-associated program. It used to be - and that's the way I still want it - that the internally-associated (Open verb) program was started.