cm_SwitchInternalAssociations

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

yanch
Junior Member
Junior Member
Posts: 30
Joined: 2015-06-06, 21:17 UTC

Re: cm_SwitchInternalAssociations

Post by *yanch »

Fla$her wrote: ↑2022-11-04, 19:50 UTC
Fla$her wrote: ↑2022-11-04, 11:32 UTCOK, I'll fix it a bit later.
Done.
Unfortunately, modified version doesn`t work for me. :? TC v.10.52x64 Windows 8.1 Rechecked several times paths etc, but no result. Of course, it will be great if Ghisler implements this command as standard.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: cm_SwitchInternalAssociations

Post by *Fla$her »

2yanch
The section in the file where it is redirected goes from the first line? What is the encoding of the file?
Overquoting is evil! πŸ‘Ž
yanch
Junior Member
Junior Member
Posts: 30
Joined: 2015-06-06, 21:17 UTC

Re: cm_SwitchInternalAssociations

Post by *yanch »

Fla$her wrote: ↑2022-11-08, 10:53 UTC 2yanch
The section in the file where it is redirected goes from the first line?
Yep.
Image: https://images2.imgbox.com/fc/36/9nMThCw6_o.png

Image: https://images2.imgbox.com/9d/25/iKlYyiNb_o.png
Fla$her wrote: ↑2022-11-08, 10:53 UTC What is the encoding of the file?
Image: https://images2.imgbox.com/97/b3/vg3sPM8z_o.png
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: cm_SwitchInternalAssociations

Post by *Fla$her »

2yanch
association-searches.ini is at TC root?

P. S.: No more screenshots, please. Write in text.
Overquoting is evil! πŸ‘Ž
yanch
Junior Member
Junior Member
Posts: 30
Joined: 2015-06-06, 21:17 UTC

Re: cm_SwitchInternalAssociations

Post by *yanch »

Fla$her wrote: ↑2022-11-08, 12:23 UTC association-searches.ini is at TC root?
Yes.
yanch
Junior Member
Junior Member
Posts: 30
Joined: 2015-06-06, 21:17 UTC

Re: cm_SwitchInternalAssociations

Post by *yanch »

Fla$her wrote: ↑2022-11-08, 12:23 UTC No more screenshots, please.
Sorry. Just want to exclude misunderstanding.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: cm_SwitchInternalAssociations

Post by *Fla$her »

yanch wrote: ↑2022-11-08, 13:33 UTCYes.
Ok. Replace line 8 with these:

Code: Select all

With WSS.Environment("PROCESS")
   INI = .Item("COMMANDER_INI")
   WSS.CurrentDirectory = .Item("COMMANDER_PATH")
End With
It's been two weeks since the code was published. It is no longer possible to edit the post.
Previously, a month was given. A strange limitation.
Overquoting is evil! πŸ‘Ž
yanch
Junior Member
Junior Member
Posts: 30
Joined: 2015-06-06, 21:17 UTC

Re: cm_SwitchInternalAssociations

Post by *yanch »

2Fla$her
Finally it works! Thanks. You are genius.
User avatar
white
Power Member
Power Member
Posts: 4593
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: cm_SwitchInternalAssociations

Post by *white »

Fla$her wrote: ↑2022-11-08, 14:18 UTC It's been two weeks since the code was published. It is no longer possible to edit the post.
Previously, a month was given. A strange limitation.
Was it previously a month?
ghisler(Author) wrote: ↑2018-07-30, 09:45 UTC Editing posts is limited to 14 days to reduce vandalism.
I have modified the forum now, so you should be able to edit the first post without time limit. Please try it!
ghisler(Author) wrote: ↑2018-07-30, 13:21 UTC Btw, the old board had a timeout of 8 days to edit posts.
Since you can always edit the topic start, I suggest creating a new topic for the script, for example in the forum "Plugins and addons". Or add the script to the wiki. Then ask a moderator to edit your post and refer new thread/wiki page.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: cm_SwitchInternalAssociations

Post by *Fla$her »

2yanch
Good. You are welcome.
white wrote: ↑2022-11-09, 14:03 UTCWas it previously a month?
I can't say for sure. But it stuck in my memory that I could edit a post for about a month.
white wrote: ↑2022-11-09, 14:03 UTCSince you can always edit the topic start, I suggest creating a new topic for the script, for example in the forum "Plugins and addons". Or add the script to the wiki. Then ask a moderator to edit your post and refer new thread/wiki page.
There are such plans for some of my scripts. When such a need arises, I will certainly take advantage of it.
Overquoting is evil! πŸ‘Ž
KozakMak
Senior Member
Senior Member
Posts: 352
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: cm_SwitchInternalAssociations

Post by *KozakMak »

Fla$her wrote: ↑2022-11-04, 19:50 UTC But since it is planned to read/write files in Autorun, this problem can be solved completely (without third-party tools) already there. When such an opportunity arises, I will post the solution here.
any news?

...or I can already use TCFS2+vbs to replace TCASwitcher and have button to identify? I don't get it :?
OS: Win10 | TC: latest x64
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: cm_SwitchInternalAssociations

Post by *Fla$her »

KozakMak wrote: ↑2023-03-29, 10:31 UTCany news?
Not yet.
KozakMak wrote: ↑2023-03-29, 10:31 UTCI don't get it :?
What's not clear here?
yanch wrote: ↑2022-11-09, 07:21 UTCFinally it works!
The icon autocorrect was not implemented in the script, if this is about that. It wasn't planned.
Overquoting is evil! πŸ‘Ž
KozakMak
Senior Member
Senior Member
Posts: 352
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: cm_SwitchInternalAssociations

Post by *KozakMak »

Fla$her wrote: ↑2023-03-29, 14:52 UTC It wasn't planned.
:cry:
OS: Win10 | TC: latest x64
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: cm_SwitchInternalAssociations

Post by *Fla$her »

I explained the reason:
Fla$her wrote: ↑2022-11-04, 19:50 UTCIn addition, when restarting TC, there is no re-reading of the value and the button may not correspond to the current status if the switch was made in another way, including manual editing of ini files.
Therefore, we will wait for Autorun updates.
Overquoting is evil! πŸ‘Ž
Post Reply