Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lock Files
#7
here I think this will help you out if I understand what you mean I used to care about people changing the name on my files years ago so I used something like this.

File name "stop name change"

this next function needs to go in your code wherever you want it to check the name of file.

Function checker
Code:
Copy      Help
str b.getwintext(win("Quick Macros - stop name change" "QM_Editor"))
err
,mes-("File will not work if name is changed please change back to stop name change and file will work" "NO NO NO CANT CHANGE NAME")
,ret


macros example

Macro
Trigger F2     Help - how to add the trigger to the macro
Code:
Copy      Help
checker

mes("NAME IS RIGHT CONGRATS" "NOT A THIEF")


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)