Jump to content

Send macros like @TAB or @CRLF twice or more


Go to solution Solved by RTFC,

Recommended Posts

Hello,

 

I may have missed something (can't find in forum or doc), but is there a way to play a macro multiple times without typing :

"Some text : " & @TAB & @TAB & "text again" 

Or

"Some text" & @CRLF & @CRLF & "some other text"

 

I imagine something like this, but tried several things that didn't worked :

"Some text : " & @TAB*2 & "Some other text"

 

 

Link to comment
Share on other sites

  • Developers

What is a Macro?  
You simply posted some string without any function, so try first to explain exactly what you are doing and post the full code you have tried and isn't working.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

On 3/1/2023 at 8:02 AM, ianC said:

I imagine something like this, but tried several things that didn't worked :

"Some text : " & @TAB*2 & "Some other text"

If you're just wanting a quick way of adding 2 @TAB's without having to type them, try typing tab2 and then pressing the spacebar in Scite. Want 2 @CRLF's? Try cr2 and then spacebar.

Then have a look towards the bottom of the Options menu for this:

image.png.6a777635ef4e18f6760b020f1a2a3e05.png

There you can see other quick shortcuts to typing things in Scite.

Assuming, that is, that you've installed the full version of SciTE4AutoIt3 from https://www.autoitscript.com/site/autoit-script-editor/downloads/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...