Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Solved)...Change the Default Function name
#1

Is there a way to change the Default Function name from (Function#) to (Test#), when a new function is made its always named Function# thats what I want to change.
#2
No, but you can add a new item to the New menu that will create new function with default name "Test".

Create function:

Name: Test_Function
Trigger: @12 (type directly into the trigger field in the toolbar)
Code:
Copy      Help
newitem "Test" "" "Function" "" "" 12
#3

Thank you.

:oops: I should have thought of that.
#4

I dont see Flag 12 in any of the info for newitem. are you holding out on us lol 8) .... Just kidding.

One problem I did find with this is that if I use a key trigger or @11 , and hit the trigger more than once in a row it will crash QM. Ulike (Ctrl+Shift+N).
#5
To make easier to read you can use flags like 4|8, but you also can add them.
#6

Very cool trick.
#7
Change the code to

Code:
Copy      Help
SendMessage id(2202 _hwndqm) TVM_ENDEDITLABELNOW 0 0
newitem "Test" "" "Function" "" "" 12
#8

Thanks alot.

Its amazing how fast you come up with this stuff Big Grin.


Forum Jump:


Users browsing this thread: 1 Guest(s)