Textpad $clip replacement in UltraEdit/UEStudio

Help with setting up and configuring custom user tools in UltraEdit (based on command line input)

Textpad $clip replacement in UltraEdit/UEStudio

Postby sebadaza » Thu Sep 21, 2006 8:27 pm

hi all,

1) I have a problem with my tool configuration. I uses a program (tdRunSyntax.exe), that executes syntax spss command. previously I uses textpad and it works well. I change to ultraedit, but I have a problem with the $clip parameter of textpad (selected text in the active document, or the whole document if nothing is selected, is copied to the clipboard before running the tool. this is not a real parameter, in that nothing is substituted in the command line). tdRunSyntax runs well with ultraedit, except for that I have to copy syntax before run tool, every time. Exists a $clip parameter for ultraedit? How I can solve this trouble?

2) other question: How I can create tag of more than one line?

thanks for all!

Seba Daz
User avatar
sebadaza
Newbie
 
Posts: 2
Joined: Wed Sep 20, 2006 11:00 pm

Re: Textpad $clip replacement in UltraEdit/UEStudio

Postby Mofi » Fri Sep 22, 2006 8:25 am

1) No, there is no equivalent for $clip in UE. But this is no problem. You can create a macro in a macro file which is set to be automatically loaded when UE is started. The macro contains for example following lines:

IfSel
Copy
Else
ToggleBookmark
SelectAll
Copy
EndSelect
GotoBookmark
ToggleBookmark
EndIf
RunTool "case-sensitive name of the user tool"

Assign the hotkey you normally use to run your user tool to the macro.


2) See taglist file!
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4064
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Textpad $clip replacement in UltraEdit/UEStudio

Postby sebadaza » Sat Sep 23, 2006 12:59 pm

mofi, thanks for the answer, macro works excellent!!!!
thanks again!

Seba Daza
User avatar
sebadaza
Newbie
 
Posts: 2
Joined: Wed Sep 20, 2006 11:00 pm


Return to Custom User Tools/Tool Configuration