| View previous topic :: View next topic |
| Author |
Message |
DBH Junior Member

Joined: 01 Aug 2007 Posts: 53
|
Posted: Sat Apr 21, 2012 7:27 am Post subject: |
|
|
| Juergen wrote: | | DBH wrote: | | Quote: | | If so, what version of MS Word? What is your operating system (unfortunately, I didn't have any possibility to test my program on a 64 bit system)? | It's Windows Vista with Office 2003. |
32 bit or 64 bit? |
sorry: 32 bit (in case that would be of any interest now (see below)).
Tried the update 1.03a and it works now!!
Thank you very much!
All the best and keep up the good work!
DBH |
|
| Back to top |
|
 |
KC_ Junior Member


Joined: 06 Mar 2012 Posts: 50
|
Posted: Sun Apr 22, 2012 1:09 am Post subject: |
|
|
I have an issue with internal associations (saved searches). Here are parts of my configuration files:
MY WINCMD FILE
%COMMANDER_PATH%\wincmd.ini
[Associations]
RedirectSection=%COMMANDER_PATH%\wincmd_myassociations.ini
[Searches]
RedirectSection=%COMMANDER_PATH%\Tools\impomezia\colors\standard.ini
MY ASSOCIATIONS FILE
%COMMANDER_PATH%\wincmd_myassociations.ini
[Associations]
[color=green]Filter1=*.ahk
Filter1_Open=""%COMMANDER_PATH%\..\Notepad2\Notepad2.exe" "%1""
Filter2=>Text files
Filter2_Open=""%COMMANDER_PATH%\..\Notepad2\Notepad2.exe" "%1""[/color]
MY SEARCHES FILE
%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. _________________ # 251045
Total Commander 8.01
Always have your stuff when you need it with @Dropbox. Sign up for free! http://db.tt/BzEGWZAV
Use the above link to sign up and we BOTH get extra space ^_^ |
|
| Back to top |
|
 |
Juergen Power Member

Joined: 02 May 2003 Posts: 504 Location: Berlin (Germany)
|
Posted: Sun Apr 22, 2012 12:32 pm Post subject: |
|
|
| 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.
Regards, Juergen _________________ My add-ons and plugins for TC: NiftyLink, mbox, Sequences |
|
| Back to top |
|
 |
sgp Senior Member

Joined: 31 Jan 2005 Posts: 306
|
Posted: Sun Apr 22, 2012 2:09 pm Post subject: |
|
|
| Juergen wrote: |
| 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. |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Mon Apr 23, 2012 12:49 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
Juergen Power Member

Joined: 02 May 2003 Posts: 504 Location: Berlin (Germany)
|
Posted: Mon Apr 23, 2012 6:41 am Post subject: |
|
|
Hi Lefteous,
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:
| Code: | [Shortcuts]
myplace = T:\Desktop\%1 |
In the local file "NiftyLink.ini" of user B, it reads:
| Code: | [Shortcuts]
myplace = U:\Eigene Dateien\%1 |
On the shared drive S: on the server, to which all users have access, there is one NiftyLink "Demo.txt.fx" with the following content:
| Code: | [NiftyLink]
Target="myplace:Demo.txt" |
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.
Regards, Juergen _________________ My add-ons and plugins for TC: NiftyLink, mbox, Sequences |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Tue Apr 24, 2012 9:03 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
KC_ Junior Member


Joined: 06 Mar 2012 Posts: 50
|
Posted: Fri Apr 27, 2012 6:54 am Post subject: |
|
|
| sgp wrote: | | Juergen wrote: |
| 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.
Thanks for your replies. _________________ # 251045
Total Commander 8.01
Always have your stuff when you need it with @Dropbox. Sign up for free! http://db.tt/BzEGWZAV
Use the above link to sign up and we BOTH get extra space ^_^ |
|
| Back to top |
|
 |
sgp Senior Member

Joined: 31 Jan 2005 Posts: 306
|
Posted: Sat Apr 28, 2012 1:49 am Post subject: |
|
|
| 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. | Quote: | | , 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? |
|
| Back to top |
|
 |
Juergen Power Member

Joined: 02 May 2003 Posts: 504 Location: Berlin (Germany)
|
Posted: Tue May 01, 2012 10:42 am Post subject: |
|
|
New version 1.04 released (d/l link is in the first post of this thread).
fixed
- Certain files were not opened with the program, with which they are associated in the operating system.
changed
2Lefteous:
I wrote you a mail, since it's much easier for me to discuss this stuff in German.
Regards, Juergen _________________ My add-ons and plugins for TC: NiftyLink, mbox, Sequences |
|
| Back to top |
|
 |
hoppfrosch Junior Member


Joined: 19 Oct 2004 Posts: 67
|
Posted: Wed May 02, 2012 11:06 pm Post subject: Problem installing new version |
|
|
Hi there,
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 ...
---
Hoppfrosch |
|
| Back to top |
|
 |
Juergen Power Member

Joined: 02 May 2003 Posts: 504 Location: Berlin (Germany)
|
Posted: Wed May 02, 2012 11:49 pm Post subject: |
|
|
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.
Regards, Juergen _________________ My add-ons and plugins for TC: NiftyLink, mbox, Sequences |
|
| Back to top |
|
 |
hoppfrosch Junior Member


Joined: 19 Oct 2004 Posts: 67
|
Posted: Thu May 03, 2012 10:36 pm Post subject: |
|
|
| 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. |
Thanks - perfect for solving my problem! |
|
| Back to top |
|
 |
Juergen Power Member

Joined: 02 May 2003 Posts: 504 Location: Berlin (Germany)
|
Posted: Mon May 07, 2012 10:36 am Post subject: |
|
|
New version 1.10 beta 1 released (only for testing): http://luethje.eu/prog/niftylink110.zip
fixed
- 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.
Image: http://luethje.eu/temp/niftylink110.png
The new features are based on one more excellent suggestion by sgp. Thanks again!
If you find any bugs, please report them!
Regards, Juergen _________________ My add-ons and plugins for TC: NiftyLink, mbox, Sequences |
|
| Back to top |
|
 |
sgp Senior Member

Joined: 31 Jan 2005 Posts: 306
|
Posted: Sat May 12, 2012 3:31 pm Post subject: |
|
|
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.
Thanks for all your work! |
|
| Back to top |
|
 |
|
|
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
|
|