Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Dan
« on: January 30, 2023, 08:56:12 PM »

I want to know how I can load and use a user-defined macro. I looked into the documentation, but did not find a clear step-by-step method of using a user-defined macro.

Background: I needed a way to get character count for a file. When I did a Google search, I came across this solution that was posted by another SlickEdit user:
https://community.slickedit.com/index.php?topic=5820.0
I see the code that this user has posted; the question is, how do I use the code? Specifically, I need to know:

- What should be the file extension for the user-defined code?
.e

- Where to save this file?
Anywhere you like, but add that path to the VSLICKPATH environment variable so that it will be reloaded the next time you open the editor.


- How to use this code?
  • Go to Macro>Load module... and choose that file
  • Run the count_selchars macro on the SlickEdit command line, or bind it to a key
Posted by: TheHumbleOne
« on: January 30, 2023, 07:04:23 PM »

I want to know how I can load and use a user-defined macro. I looked into the documentation, but did not find a clear step-by-step method of using a user-defined macro.

Background: I needed a way to get character count for a file. When I did a Google search, I came across this solution that was posted by another SlickEdit user:
https://community.slickedit.com/index.php?topic=5820.0
I see the code that this user has posted; the question is, how do I use the code? Specifically, I need to know:

- What should be the file extension for the user-defined code?
- Where to save this file?
- How to use this code?

Thanks for any help.