Jump to content
SorryButImaNewbie

SciteConfig, Wrapper implementation problems

Recommended Posts

SorryButImaNewbie

Hello!

I want to start using UDFs not originaly included in autoit. I found this wiki page to help me (I couldn't add the link, when i tried I have been redirected to GH&S page link: https://www.autoitscript.com/wiki/Adding_UDFs_to_AutoIt_and_SciTE )

I'm a complet layman here, and I want to add SciteConfig and Wrapper to my tools. I don't have the rights to even make a folder in C where my Autoit is. I will need to tell the Service Desk guy the steps he needs to do so I would be able to use said UDFs. Can someone please explain a step by step guide how to implement it?

All that I understand from the Wiki that it is suggested that I should put them in to a different folder, so to not to lose them when i upgrade. Other then that how do I "Then tell AutoIt about this folder." ?  What is CallTips and AutoComplete? (I guess they are the Scite's text editors "helpers" if thats make any sense in english)

So what should I tell the Service Desk guy where should I put these applications (and the associated Script file to Config and text file to Wrapper?) and how can I "integrate" them to my SciTe?

Thank you Wise Masters of AutoIt!!

Share this post


Link to post
Share on other sites
Melba23

SorryButImaNewbie

SciTEConfig & Autoit3Wrapper are automatically installed when you install the full SciTE4AutoIt3 package - there is no need to install them separately as they are fully integrated within the modified editor itself and you access them via the SciTE <Tools> menu. The tutorial to which you linked shows how to install the UDFs written by other members (such as the ones in my sig) so that they are as easily usable as the standard ones included with AutoIt - these UDFs are not integrated within SciTE in the same manner and so need to be to be added in a separate folder as the Wiki explains.

All clear?

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
SorryButImaNewbie

Thank you, but not exactly

My <Tools> menu only consists of : Compile, Build, Go, SyntaxCheck Prod, Next/Previous Message, Clear out Put, Switch Pane. Shouldn't there be more? (I already confirmed I think that I have the full version thanks to master Jos)

Also I still don't get where should I put the extra folder for an UDF and how to "tell autoit about it"

Share this post


Link to post
Share on other sites
Melba23

SorryButImaNewbie

You need to have an .au3 file open in SciTE for the additional menu items to become visible.

As to the personal UDF folder, place it anywhere on your system - it does not have to be within the AutoIt folder structure, and it is in fact recommended that it is not. Once you have created the folder, use SciTEConfig to tell AutoIt that it exists - although if the system is really locked down you may have to get your Service Desk man to modify the registry as explained in the tutorial.  Then the UDFs that you download into that folder are as accessible as the standard set.

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
SorryButImaNewbie

SorryButImaNewbie

You need to have an .au3 file open in SciTE for the additional menu items to become visible.

M23

​.au3 is the "Autoit v3 Script" file right? If it is I have 3 open, if not then look at my user name (according to the properties it is .au3)

Share this post


Link to post
Share on other sites
Melba23

SorryButImaNewbie,

​.au3 is the "Autoit v3 Script" file right?

Yes. If you have 3 of them open and you still get no additional items in the <Tools> menu then I question whether you have the full SciTE4 AutoIt3 package installed. Use the <Options - Open au3.properties> option and post the first few lines of the file - I get:

# SciTE settings for AutoIt v3
#
# July 2014 - Jos

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
SorryButImaNewbie

I... I dont have that Option :) (sorry :( )

I tried to make a pic about my Options, but I can't upload .PNG

I have the following choices (only listing the Open something options): Open Local Options file, Open Directory Options File (greyed out), Open User Options File, Open Global Options File, Open Abbrevations File, Open au3abbrev.properties and Open au3UserAbbrev.properties

The nearest to what you told me is  Open au3abbrev.properties it reads as this

# ' Global abbreviations file for SciTE (abbrev.properties) generated: 15.05.2008 '
# ' Contains a list of entries of the form abbreviation=expansion '
# ' Type the abbreviation and press Spacebar to insert the expansion '
# ' "|" marks the position the caret will be after expansion. '
# ' "\n" marks a carriage return. "\t" marks a Tab. '

Sorry, I know this is a mess, can't wait to leave it behind and start it from scratch at home (with my multiple jobs I dont have the strength to start my toolbox at my own PC yet, but can't wait for it)

Share this post


Link to post
Share on other sites
Melba23

SorryButImaNewbie,

I am becoming convinced that you do not have the full package installed despite you saying that is the case. I will point Jos here so he can take over.

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
SorryButImaNewbie

I'm very thankfull :( hope I don't steal to much of your time guys (he shouldn't hurry, I will leave my office in half an hour and cant remote connect to my computer..)

Share this post


Link to post
Share on other sites
Jos

For starters: Open an AU3 simple script and hit F5(Run) and cut&Paste all console output into your reply here so I can see what is going on. :)

Jos


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

Share this post


Link to post
Share on other sites
SorryButImaNewbie

Hello Master Jos, and good morning.

I created a fresh au3 script on my desktop and hit f5, the console output is: 

>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\BalazsGe\Desktop\Új AutoIt v3 Script.au3"    
>Exit code: 0    Time: 0.5161

 

Share this post


Link to post
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

  • Similar Content

    • MFrancisca
      By MFrancisca
      Hello! 
      I've been checking the logging UDFs in the wiki, mostly Log4a and Loga and I wanted to ask which one would you recommend for a script that will be executed remotely through PSExec. My main question is where the logs are located in that situation and if I can change that location to a custom one., because I need to retrieve them at the end of execution.
      So in a rough description the process is
      Open PSExec
      Send compiled AutoIT script to remote machine
      Execute script
      Copy logs from the remote to the local machine.
       
      Any opinions? 
    • caramen
      By caramen
      I watched _OL_ItemSend&_OL_ItemFind&_OL_ItemCreate in OutlookEx UDF but hmmm
       
      Since it use the test environnement i cant get the orders of the mail creation
       
      Can someone make me win some time of reading all exemples script and lead me how to do one ?
      That whould be lovely.
      Gnight
    • Tersion
      By Tersion
      Here the this wiki page with list of available UDFs for data compression. For my tasks I only need ZIP support, so I started looking at pure AutoIt UDFs without any 3rd party dlls. And found out that most of available realizations uses standard ("native method") Windows dll - "zipfldr.dll". So for now I chose ZIP UDF by wraithdu. I've tested it on Windows 7 (x64) and it seem works fine. But here the comment from another topic where user says that Windows 10 discontinued support of "zipfldr.dll". Now I confused. I don't have around any Windows 10 machine to tested it. So maybe someone could confirm or deny that? Or maybe would better to switch to UDF with 7zip dll?
      I need an advice...
    • TheSaint
      By TheSaint
      Here is the bare bones of a UDF I have started work on.
      Mostly just a proof of concept at this stage, and still need to add some functions and dress the UDF up a bit ... to look like a UDF ... though it has my own distinct styling, especially as I have never really developed a UDF before now .... used plenty and modified plenty though. I've even invented my own UDF variable naming convention, which I am sure some of you will be aghast at. I work with what feels best for me, but others are free to adapt if they wish.
      The idea is to emulate the simplicity of INI files, but gain the benefits of SQL.
      Two scripts are provided.
      (1) The UDF, a work in progress - SimpleSQL_UDF.au3
      (2) An example or testing script - UDF_Test.au3
      Another first for me, is creating a 2D array from scratch, never done that before, that I can recall ... never had a need, and even for 1 dimension arrays, for a long time now, I have just used _StringSplit to create them. So I needed a bit of a refresher course, which my good buddy @TheDcoder assisted me with ... not without some angst I might add. LOL
      SimpleSQL_UDF.zip  (12 downloads previously)
      (I have now completed all the functions I intended to. My next update will be a big improvement, bringing things more inline with my latest INItoSQL DB program changes.)
      Program requires the sqlite3.dll, not included, but easily enough obtained.
      Hopefully the usage is self-evident ... just change the Job number variable in the UDF_Test.au3 file to check the existing functions out.
      Enjoy!
      P.S. This is also related to a new program I have just finished and uploaded - INItoSQL DB
    • xtcislove
      By xtcislove
      Hello,
      as a start in Autoit i tried something i was missing since im using Autoit. 

      I build a custom MessageBox which has a large amount of custom options and which scales its size on the parameters you set. 

      Aviable Settings:
      -Title
      -Unlimited Buttons
      -Text Color (Buttons, Text)

      -Background Color (Msgbox, Buttons, Label) 

      -Button Timeout
      -Autoclose Timeout
      -Icon (Default, No Icon, Custom)

      -Label/ Button Style. 
      -Transparency

      I tried to keep this as close as i could to a Msgbox i was used too on my batch times.

      After i was ready i realised, @Melba23 probably build a way better msgbox which would have suit my needs enterly, anyway thanks to @Melba23 because i use his Stringsize UDF. 

       
       
      local $Message = _sMsgBox("Test", 6, "Continue?") if @extended <> -1 Then MsgBox(0, @extended, $Message&" Button pressed")  
      ScalingMessageBox.au3
×