Jump to content
Sign in to follow this  

how to turn on complete word permanently?

Recommended Posts

1. in my old version of autoit compleate words was ON permanently. When i install latest version i have to press ctrl+enter to use this function. Is it posible to turn on compleate word permanently?

2. is it posible to use fraction in slider? in help file i didnt find any info about this ;) I need to use minimum 1, maximum 3, and step 0,2, for example 1(min) 1,2 1,4 1,6...... 3(max)

thanks for help ans sorry for my english :)

Share this post

Link to post
Share on other sites

In your first question are you referring to the SciTe Editor? If so do this:

1. Open SciTe

2. Click Options > Open Global Options File

3. Scroll down to #Behaviour

4. Change this line autocompleteword.automatic=0 to autocompleteword.automatic=1

Share this post

Link to post
Share on other sites

now work great!!


anyone know how to help me with slider?

The API won't do it for you (at least, I don't think it will), but you can do the math for yourself:

#include <GuiConstants.au3>

$hGUI = GUICreate("Test", 300, 110)
$Slider = GUICtrlCreateSlider(20, 20, 260, 30, BitOr($GUI_SS_DEFAULT_SLIDER, $TBS_NOTICKS))
GUICtrlSetLimit(-1, 10, 0)
$Label = GUICtrlCreateLabel("Current value: ", 20, 70, 260, 20, $SS_CENTER)

$DataOld = ""
    $DataNew = 1 + (GUICtrlRead($Slider) * 0.2)
    If $DataNew <> $DataOld Then
        $DataOld = $DataNew
        GUICtrlSetData($Label, "Current value:  " & $DataOld)

The $DataOld/$DataNew thang makes it only update for changes, so it doesn't flicker.


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...