Jump to content

Code Snippet


GaryFrost
 Share

Recommended Posts

Not a good idea when you have put it in AU3.Properties.. you lose your settings the next time you update SciTE4AutoIt3. Put user definitions in the SciTEUser.properties....

Learned something there.

Moved it into the SciTEUser.properties. ... with the same error message resulting.

Link to comment
Share on other sites

  • Replies 145
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Learned something there.

Moved it into the SciTEUser.properties. ... with the same error message resulting.

Not sure what's going on there, but what version of SciTE and what beta version are you using?

The exe is in C:\Program Files\AutoIt3\SciTE\Snippets?

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

v 1.0.3.0

Snippets no longer stored in Ini File

Snippets are now stored in XML Files

Before using this one I suggest Extracting old snippets into a file or SciTE document

and starting over with new ini

see 1st post in thread for source

Enjoy!!!

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

v 1.0.3.1

Added Config Option (Select Snippet Folder)

Added ToolTips to Toolbar Buttons

Added Gradient Color to Main GUI (Would Like Input On this if it should have gradient or not)

see 1st post for source zip file

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Maybe allowing people to "export" and "import" groups of snippets so that people can distribute snippets.

And sorting snippets into "Folders" or "Groups" will be useful.

#)

Link to comment
Share on other sites

Maybe allowing people to "export" and "import" groups of snippets so that people can distribute snippets.

And sorting snippets into "Folders" or "Groups" will be useful.

#)

I will probably do an import/export function later, although for now you could just open a blank file in SciTE

and past the snippets into there then save and distribute

I thought about putting the snippet files into folders based on category, only problem with that is

if the user changes the category the snippet is in then you have to actually move the snippet file to the corresponding folder, I decided not to bother with that being the script will let you choose which category to look at easily

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • Developers

Gary, have you checked the CPU usage lately... the last version seems to be using 40-60% on my PC.

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

Gary, have you checked the CPU usage lately... the last version seems to be using 40-60% on my PC.

Did you download the 1031, I put some code in to drop the cpu usage down to about 10 - 15%

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • Developers

Did you download the 1031, I put some code in to drop the cpu usage down to about 10 - 15%

No I had 1030... this version runs 14-16% when Idle. much better... thanks Edited by JdeB

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

v 1.0.3.2

Added Import of .au3 files

Added Export to .au3 files

CPU usage should be at about 9 - 10% compared to 1.0.3.0 which was above 40%

Last Import and Export location is saved in the ini

see 1st post for source files in a zip file

Still no feedback as of yet on the gradient colors.

Guess next version won't have it.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

v 1.0.3.2

#Compiler_Res_FileVersion_AutoIncrement=n

#Compiler_AU3Check_Parameters= -q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7 ;Au3Check parameters

Gafrost, I am getting some compile errors on these two lines. I also notice that they are "Black" instead of "purple" like all the rest. Which I guess means that they the parameters need to be changed to some value. I get the first one but no the second.. BTW, it does not prevent the script from working.

Kudos on the mod of CSnippets. Very impressive.. :o

Cheers.. :geek:

Link to comment
Share on other sites

#Compiler_Res_FileVersion_AutoIncrement=n

#Compiler_AU3Check_Parameters= -q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7 ;Au3Check parameters

Gafrost, I am getting some compile errors on these two lines. I also notice that they are "Black" instead of "purple" like all the rest. Which I guess means that they the parameters need to be changed to some value. I get the first one but no the second.. BTW, it does not prevent the script from working.

Kudos on the mod of CSnippets. Very impressive.. :o

Cheers.. :geek:

Thanks

The second is for checking for unused variables etc...

Make sure you have the latest SciTE and Au3Check

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • Moderators

I've found a "small" bug. If you try to create a snippet using an invalid character in the name it causes all sorts of problems. Maybe you could have it strip invalid characters from the filename before saving?

These are the invalid characters.

\ / : * ? " < > |
Link to comment
Share on other sites

I've found a "small" bug. If you try to create a snippet using an invalid character in the name it causes all sorts of problems. Maybe you could have it strip invalid characters from the filename before saving?

These are the invalid characters.

\ / : * ? " < > |

Thanks for your input

v 1.0.3.3

Added checking for ilegal characters in snippet name

Fixed renaming of snippet

Fixed New catogory

see 1st post for source code

Gary

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Thanks

The second is for checking for unused variables etc...

Make sure you have the latest SciTE and Au3Check

I read in the eariler posts and DL'ed the latest Au3Check. This cleaned up a lot of errors. But I have to check on the latest version of SciTe. I also have the latest version of AutoIt to boot.

Thanks for your input..

Cheers.. :o

Link to comment
Share on other sites

I see some update from yesterday in your first post, but there is no download?

Due to the amount of space allowed for attachments (and I have alot of attachments), I decided not to keep it here also

v 1.0.3.6 - 3/4/06

View/Edit Source screen now scrollable when not in edit mode

Code Snippet will be in the tools with the next release of SciTE from JdeB

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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...