Autostart F4MiniMenu po uruchomieniu TC

Moderated forum for Polish users

Moderators: Usher, Gral, eltome

Post Reply
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

Autostart F4MiniMenu po uruchomieniu TC

Post by *dmocha »

Windows 11, TC11.01 w wersji x86+x64.

Próbowałem przy pomocy wtyczki autorun uruchamiać F4MiniMenu według: viewtopic.php?p=355375#p355375
Podałem prawidłową ścieżkę do pliku F4MiniMenu.exe w pliku autorun.cfg ale program nie uruchamia się wraz ze startem TC.
Czy ten wpis:

Code: Select all

ShellExec "C:\<moja-path>\F4MiniMenu.exe"
muszę umieścić w configu autorun w jakiejś konkretnej linii lub coś jeszcze dodać do cfg?

I przy okazji jeszcze dwa inne pytania.

1. Jak skonfigurować F4MiniMenu, żeby korzystać zarówno z x86 oraz x64 bitowych TC?
Teraz mam w konfiguracji TC:

Code: Select all

%commander_path%\addon\f4mini\F4TCIE-64i.exe "%1"
Rozumiem, że wincmd.ini jest "wspólny" dla obu bitowości?

2. Czy da się spolszczyć F4MiniMenu?

Dodam, że F4MenuMini używam (zacząłem dopiero) w ostatniej skompilowanej wersji.
regards
dmocha
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Autostart F4MiniMenu po uruchomieniu TC

Post by *hi5 »

There is no real advantage to use the 64bit over the 32bit version so you can use 32bit in both cases.
Or you can try to use %PROCESSOR_ARCHITECTURE%[1] in the filename of the exe you are calling, so you can rename

F4TCIE-64i.exe -> F4TCIE-amd64i.exe
F4TCIE-32i.exe -> F4TCIE-x86i.exe

and then

Code: Select all

%commander_path%\addon\f4mini\F4TCIE-%PROCESSOR_ARCHITECTURE%i.exe "%1"
[1] %PROCESSOR_ARCHITECTURE%
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)
User avatar
eltome
Junior Member
Junior Member
Posts: 57
Joined: 2023-07-29, 15:54 UTC
Location: Warmian-Masurian Voivodeship

Re: Autostart F4MiniMenu po uruchomieniu TC

Post by *eltome »

dmocha
Nie używam F4MiniMenu , ale domyślam się , że tam gdzie to możliwe masz odpowiedż
#388479
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

Re: Autostart F4MiniMenu po uruchomieniu TC

Post by *dmocha »

hi5 wrote: 2023-11-05, 13:54 UTC There is no real advantage to use the 64bit over the 32bit version so you can use 32bit in both cases.
Or you can try to use %PROCESSOR_ARCHITECTURE%[1] in the filename of the exe you are calling, so you can rename

F4TCIE-64i.exe -> F4TCIE-amd64i.exe
F4TCIE-32i.exe -> F4TCIE-x86i.exe

and then

Code: Select all

%commander_path%\addon\f4mini\F4TCIE-%PROCESSOR_ARCHITECTURE%i.exe "%1"
[1] %PROCESSOR_ARCHITECTURE%
Well, since this is a Polish forum, it's in two languages ​​:)

The method you provided works. Thanks :)
Then for me there is one more issue with this autorun.wdx
How to configure the plugin so that F4MiniMenu starts automatically when TC starts?
Where in the autorun.cfg file should I enter and how:

Code: Select all

"%commander_path%\addon\f4mini\F4MiniMenu-64i.exe"
alternatively:

Code: Select all

"%commander_path%\addon\f4mini\F4MiniMenu-32i.exe"
so that the program starts with the appropriate TC

The same in Polish:

No tak trochę w dwóch językach :)
Podany przez Ciebie sposób działa. Dziękuję.
W takim razie pozostaje jeszcze jedna kwestia tego autorunu
Jak skonfigurować wtyczkę, żeby F4MiniMenu uruchamiał się automatycznie wraz ze startem TC?
W którym miejscu w pliku autorun.cfg i jak wpisać:

Code: Select all

"%commander_path%\addon\f4mini\F4MiniMenu-64i.exe"
ewentualnie:

Code: Select all

"%commander_path%\addon\f4mini\F4MiniMenu-32i.exe"
żeby program startował wraz z odpowiednim TC
regards
dmocha
User avatar
Gral
Power Member
Power Member
Posts: 1468
Joined: 2005-01-26, 15:12 UTC

Re: Autostart F4MiniMenu po uruchomieniu TC

Post by *Gral »

Polecenie w pliku autorun.cfg musisz umieścić PRZED linią "Pragma AutorunFinalizeSection"
Dodatkowo chciałbym się upewnić - czy zainstalowałeś Autorun.wdx i skonfigurowałeś zgodnie z instrukcją zawartą w pliku pomocy dla wtyczki?

I jeszcze przypomnę - F4MiniMenu przechwytuje naciśnięcie klawisza F4 z każdej uruchomionej instancji TC, nawet takiej która ma osobno skonfigurowany edytor dla F4. Dlatego też nie jest konieczne konfigurowanie go odrębnie dla każdej "bitowości" (co również napisał autor).
User avatar
dmocha
Junior Member
Junior Member
Posts: 52
Joined: 2013-05-05, 19:09 UTC
Location: Poland

Re: Autostart F4MiniMenu po uruchomieniu TC

Post by *dmocha »

Gral wrote: 2023-11-05, 18:37 UTC Polecenie w pliku autorun.cfg musisz umieścić PRZED linią "Pragma AutorunFinalizeSection"
Dodatkowo chciałbym się upewnić - czy zainstalowałeś Autorun.wdx i skonfigurowałeś zgodnie z instrukcją zawartą w pliku pomocy dla wtyczki?
...
Działa. Chyba wiem, czemu wcześniej nie działało, nie zrobiłem poniższego:

... If you have many color schemes, it's recommended to move Autorun scheme to the top of list, else it can not run sometimes. ...

dzięki
regards
dmocha
Post Reply