I have an errorlog page that will be formatted as html that will be sent via email each morning. Is it possible to open the error to a requested line number if the user clicks on a link? The email will open the default editor (uedit32) and the link will refer to a local file.
In help of UltraEdit there is a page titled Command Line Parameters. If you read it you will see that there is an option to open a file and set the cursor at a specified line. Don't know if you are able to open the file with this parameter.
If it is not possible you can write a macro which is executed either manually or on every file load (use IfNameIs or IfExtIs to run it only on the log file) which searches for an error line in your log file.
Hope I have understood what you really want. I'm not really sure what you want.
Best regards from an UC/UE/UES for Windows user from Austria
Thanks for the reply... yea my message was bit off, but you were on track. I'll look in the online help a bit more but I did find on the web my answer as well... which I'll post. I want to open my error log file to a line number then column when a user clicks on a weblink. The "open" process should work fine since the weblink refer to local files.
The command would be: uedit32.exe Filename.txt /8/34
So in this example... file filename.txt would be opened, then the cursor would jump to line 8, column 34.
Now just to figure out how to code the weblink if possible to launch uedit32 to open the file. So far the best I can do is to open within the browser.
I'd expect that to be problematic. I'm by no means a HTML expert, but my understanding is that you'd need an UltraEdit browser plugin (which doesn't exist) or (if you're into Internet Explorer) an ActiveX control to do that. If you could make a link in HTML that would result in a local program being executed, I guess there'd be a few sites around that would offer a link that executes "format c: /Y" or something like that...