Nothing is here about em_ commands (?)
[OT] Quarrels
Moderators: Hacker, petermad, Stefan2, white
Last edited by Alextp on 2006-11-02, 12:30 UTC, edited 1 time in total.
Sorry, Opera has eaten the last digit, this is the correct thread:
http://www.ghisler.ch/board/viewtopic.php?t=12064
Icfu
http://www.ghisler.ch/board/viewtopic.php?t=12064
Icfu
This account is for sale
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
2icfu

Man, it will take me a bunch of time busting the old starter menu and setting up my brand new main menu using those mighty em_commands. Finally the border between starter- and main menu has been teared down!
I think I'll have a look at Lefteous' command converter, could save some time...

Man, it will take me a bunch of time busting the old starter menu and setting up my brand new main menu using those mighty em_commands. Finally the border between starter- and main menu has been teared down!
I think I'll have a look at Lefteous' command converter, could save some time...
2icfuicfu wrote: And I was wrong with WM_COPYDATA. This one can be used instead for calling user-defined commands, this is an example script:
Code: Select all
; *** Konfig-Start parameter := "em_copyShortPathsToClipboard" ; *** Konfig-Ende Send_WM_COPYDATA(parameter) Send_WM_COPYDATA(ByRef SentParameter) { VarSetCapacity( CopyDataStruct, 12 ) InsertInteger( Asc( "E" ) + 256 * Asc( "M" ), CopyDataStruct ) InsertInteger( StrLen( SentParameter ) + 1, CopyDataStruct, 4 ) InsertInteger( &SentParameter, CopyDataStruct, 8 ) SendMessage, 0x4A, , &CopyDataStruct, , ahk_class TTOTAL_CMD } InsertInteger(pInteger, ByRef pDest, pOffset = 0, pSize = 4) { mask := 0xFF Loop %pSize% { DllCall("RtlFillMemory", UInt, &pDest + pOffset + A_Index - 1, UInt, 1, UChar, (pInteger & mask) >> 8 * (A_Index - 1)) mask := mask << 8 } }
It's kind hard for me to understand your code. I only do a little script with AutoIt though. Could you explain a little?
If I didn't get you wrong, this is supposed to call em_xyz in script.
But why bother? em_xyz is defined by some external program and parameter, etc, you know. Why not call the program directly in script.
I guess maybe I missed something.
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
2gbo
Hacker already told ya.
I will certanly not use this feature as I don't like it to be TC specific. If I create aliases for progies, i want to be able to use them as such in entire system, not only TC. I have just one defined now, ie instead iexplore, when I need to open this stupid browser.
About custom commands, I don't share such entusiasm. I don't see that anything improved as you can use only 1 internal command or executables. It doesn't make any sense to me, except for commands with parameters if you want to hard code them.
Now, the thing should be much better if you could specify list of commands to be executed. Also number of commands don't have parameters at all (only few have them). I wait the day to see something like this:
Of course, commands I used do not exist now...
This is not hard to do, TC already has mechanisms for this, it just needs new interface to it. This will also remove number of "garbage" commands like cm_UserMenuX, cm_SrcActivateTabX, sm_SrcSortByColX .........
Ghisler can replace about 100 commands with 5 in this manner:
Now, I don't have to tell you that this is no big job at all. He can for instance keep internaly all current commands and write something like
Of course I don't think this should be done this way, and I defeinitely don't think that Ghisler will consider this.
2Raymond
Hacker already told ya.
I will certanly not use this feature as I don't like it to be TC specific. If I create aliases for progies, i want to be able to use them as such in entire system, not only TC. I have just one defined now, ie instead iexplore, when I need to open this stupid browser.
About custom commands, I don't share such entusiasm. I don't see that anything improved as you can use only 1 internal command or executables. It doesn't make any sense to me, except for commands with parameters if you want to hard code them.
Now, the thing should be much better if you could specify list of commands to be executed. Also number of commands don't have parameters at all (only few have them). I wait the day to see something like this:
Code: Select all
cm_MyCopyWithPreview
cm_SelectFiles (*.wav;*.mp3)
cm_Copy(d:\mp3)
Winamp d:\mp3
end
This is not hard to do, TC already has mechanisms for this, it just needs new interface to it. This will also remove number of "garbage" commands like cm_UserMenuX, cm_SrcActivateTabX, sm_SrcSortByColX .........
Ghisler can replace about 100 commands with 5 in this manner:
Code: Select all
cm_UserMenu (X)
cm_ActivateTAb([Src|Trg], X)
cm_CustomView([Src|Trg], viewName)
Now, I don't have to tell you that this is no big job at all. He can for instance keep internaly all current commands and write something like
Code: Select all
cm_ActivateTab ( target, X)
begin
case (target)
Src: Execute( "cmSrcActivateTab" + X)
Trg: Execute( "cmTrgActivateTab" + X)
end
Of course I don't think this should be done this way, and I defeinitely don't think that Ghisler will consider this.
2Raymond
Because it doesn't have to be a program but TC internal command, for instace to select something...Why not call the program directly in script
Habemus majkam!
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
@Raymond:
There's a difference between being able to control TC from INSIDE TC and being able to control it from OUTSIDE TC. With the new interface we can get rid of some dirty tricks like abusing the clipboard to receive some data we need like marked filenames or to read TMyPanelControl to get the active path, etc...
Custom commands and aliases are a very nice addition for me, this means I will probably switch from TAR to TC. Of course, enhancements are always welcome but at least a start has been made.
One year ago things looked much more negative, that's my point of view at least.
Icfu
There's a difference between being able to control TC from INSIDE TC and being able to control it from OUTSIDE TC. With the new interface we can get rid of some dirty tricks like abusing the clipboard to receive some data we need like marked filenames or to read TMyPanelControl to get the active path, etc...
Custom commands and aliases are a very nice addition for me, this means I will probably switch from TAR to TC. Of course, enhancements are always welcome but at least a start has been made.
One year ago things looked much more negative, that's my point of view at least.

Icfu
This account is for sale
2icfu
I just didn't get what this for when I went through history file.
17.09.06 Added: Send WM_COPYDATA with dwData='E'+256*'M' and lpData pointing to em_xyz internal command (0-terminated) to execute that command. Accepts parameters separated by a space
I thought your code was the explanation of it. So I asked.
Talking about new em_xyz and alias, I like em_xyz. It's more clear, independant and get rid of some nonconsistent trouble before. I'll not dig into alias at present and stick to TAR, which isnot TC related. For example I use TAR as web search bar a lot. When searching during browsing, don't want to bring TC window on top of the browser.
I just didn't get what this for when I went through history file.
17.09.06 Added: Send WM_COPYDATA with dwData='E'+256*'M' and lpData pointing to em_xyz internal command (0-terminated) to execute that command. Accepts parameters separated by a space
I thought your code was the explanation of it. So I asked.
Talking about new em_xyz and alias, I like em_xyz. It's more clear, independant and get rid of some nonconsistent trouble before. I'll not dig into alias at present and stick to TAR, which isnot TC related. For example I use TAR as web search bar a lot. When searching during browsing, don't want to bring TC window on top of the browser.
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
I don't think this would help. The TC created the file and crashed afterwards. Editor was open at the time.
2 Silvana
Hej girl, stop bothering me. Didn't I f**** you gooood yesterday ? I thought that is only important for a woman. But it appears you are the one of those demanding chiks....
And show some respect to the holy man you b*tch.
2 Silvana
Hej girl, stop bothering me. Didn't I f**** you gooood yesterday ? I thought that is only important for a woman. But it appears you are the one of those demanding chiks....
And show some respect to the holy man you b*tch.

Habemus majkam!
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
You all can see now that m is even more stupid than an imbecile CAN be.Hej girl, stop bothering me. Didn't I f**** you gooood yesterday ? I thought that is only important for a woman. But it appears you are the one of those demanding chiks....

F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
1st Souch ugly guy as u wouldnt come any cm near memajkinetor ! wrote:2 Silvana
Hej girl, stop bothering me. Didn't I f**** you gooood yesterday ? I thought that is only important for a woman. But it appears you are the one of those demanding chiks....
And show some respect to the holy man you b*tch.
2nd Respect to a unholy man as u ? never

3rd learn the meaning of repect Babe

PS: thx Hacker for Morderation

Hoecker sie sind raus!