Anyone using UltraEdit here?
CounterRotatingProps
Posts: 1,132
Since I use this editor a lot in my daily work, it's not uncommon for me to have a Prop file or two lurking in the doc list [noparse]:)[/noparse]
I'd consider writing a PASM/SPIN lexer for UE if enough of us are using it.
- H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'd consider writing a PASM/SPIN lexer for UE if enough of us are using it.
- H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
'Those who can, do.Those who can’t, teach.'
'Convince a man against his will, he's of the same opinion still.'
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
TERMS OF USE: MIT License
"Permission is hereby granted, free of charge, to any pers...........................
..............................OMITTED FOR FORUM...............................................
.................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "
The dsp/fpga king is dead, long live the prop.
-Phil
It'd be great to have a lexer for SPIN/PASM.
good to see we are some 'power users' here.
OK... if a couple more people chime in, then I'll start working on this... long term thing ... weeks, not days. I'm looking into adding some toolbar icons, may be some scripts... would be cool to dump the edited file into Brad's BST, or the prop tool... both of which probably (likely) don't support OLE automation... I can do this grabbing the window handles, but that's a bit of a Kludge.
@Mikediv - I try to stay current because the IDM guys keep adding new features. Actually, I'm using UE Studio (which contains UE.) It's the latest version = 09.20.0.1007, which probably contains the latest UE too.
Unless the version you have is really old (> 3/4 yrs?) this will probably work with it, perhaps sans scripting. Not sure, we'll just have to test it.
More takers?
thanks
- H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Under the 'Advanced' menu option you can manually launch a DOS or WinGUI command (they're essentially the same, just tweeked a bit different).
But you can also save these, like this:
Advanced -> Tool Configuration ->Insert->[noparse][[/noparse]user configurable shell command]
The problem is that you're allowed only TEN of them, which show up in the menu under advanced.
I am considering using TWO of them for a tool extension... so
How many of you are approaching the TEN entry limit?
thanks
- H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Phil
I have so much software from work I loose track becuase if its ok I can get the latest download to post ?????
How about combining it with autohotkey ?
With autohotkey you can define application sensitive hotkeys. And the scripting language is extremely powerful
you can even code a GUI with as many windows as you like.
So one solution COULD be (surely not the best) hit ONE hotkey in UltraEdit and a window pops up with new and as many options as you like.
To:
- call external programs
- or copy to clipboard,
- do mouseclicks
- send keystrokes to whatever app-window you want,
- manipulate the content of the clipboard
- paste it to whatever app into whatever iputfield you want etc., etc. etc. etc
I already made some scripts to improve BST and the propeller-tool
like context-sensitive help or search word under cursor. See the attached file.
best regards
Stefan
Dump the file to a temporary location on the hard disk, or better still just pass the current location of that file. Execute bst with the absolute file name as the only parameter (put it in quotes if it has spaces in it). If its running, bst will open the file in a new editor tab. If not then it will just launch with that file.
The issue with dumping text directly into the editor is the editor has no context of where it came from, so it does not know where to find any referenced objects that are co-located with the original object. Opening the file using a full path name solves that problem.
Of course if the editor in bst is so crippled as to force you to use an external editor then I'm always open to suggestions on how it can be improved. Stefan has already provided me with some neat ones I'm working towards.
Your other option is to use UE as your workspace and just have it compile/load using Propellent or bstc. No need for bst at all.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lt's not particularly silly, is it?
Well, Phil, as I'm always learning from your posts, I'm glad to return the favor in showing you something you didn't know already. [noparse]:)[/noparse])
It's really handy just to hit F10 & enter ... or ^+F9, depended on Wingui/DOS respectively.
@Mikediv - no unfortunately it's not freeware. The versions from several years ago to now offer a seemless update checker/installer.
@Stefan - very very cool app! It reminds me of an old "autoprogrammer robot" from early dos and win days (daze).
How stable is it? Often stuff that messes with window handles gets confused. I'll certainly study that code and the application.
@Brad - thanks for your humbleness in saying "no need for bst at all" ... I came to the same conclusion yesterday after getting the propellent thing working properly. Still, I like bst alot - and I know others do too.
This connection between UE and BST specifically was the reason for asking about OLE in the Who'll Stop The Rain thread. Turns out that it's even simplier than your suggestion immediately above. As you've seen here, UE supports launching DOS/Win apps. It can pass many internal parameters, e.g. short/full file pathname, file in edit window, yada yada. UE creates the temp file and tracks it for you. Once sent over to the "Prop Interface," BST is more behaved, or better said, more cooperative than the PropTool. If I edit the file, send it over, then BST will notice the update and refresh. The Proptool is a tad dumber - you have to close the tab before sending the newly edited file from UE to it, otherwise it doesn't refresh. The Propellent thing works fine in anycase.
So the (short-term) goal with this is to offer a menu or tool that basically gives you the choice of where/how to send your file from UE. ... something like "select/send to your favorite Prop Interface:"
1. BST
2. PropTool
3. Propellant (just load straight to prop please)
4. Viewport
(long-term is still a Lexer)
Suggestions / comments / requests welcome
- H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I use Autohotkey for different softwares
- Propeller-Tool, BST
- OpenOffice
- Thunderbird
- GIMP
- Speq Math
start UE on hotkey
No problems so far. (Except you code bugs like send a keystroke and catch up the same key with another part of the script)
A really cool script is this one Easy window dragging
Hold the caps-lock-key down and drag windows regardless of where the mousepointer is.
best regards
Stefan
I'll simply say I've been a user for a really looonnng time...
It's on all machines and u3 flash drives which I use
frequently... anything you do for propeller dev. assist,
I'll use!
-Stephen