Jump to content

Recommended Posts

Posted

Hi, at this path "@programfilesdir\AutoIt3\SciTE\api" there's file "au3.user.calltips.api" this file add funcs to autoit

okay, now i added my func. but i want make it's color blue ;) like other funcs.

how should i do this :)

thanks. :graduated:

[font="arial, helvetica, sans-serif;"]Advice for you[/font][font="arial, helvetica, sans-serif;"]: [/font][u]Search[/u] before posting.

 

[font="arial, helvetica, sans-serif;"] *********** Problem solved? if yes [/font][color=rgb(0,0,0);font-family:arial, helvetica, sans-serif;] *********[/color]

[font="arial, helvetica, sans-serif;"]******* press "Mark Solved" button. *******[/font]

Posted

Read this >> http://www.autoitscript.com/wiki/Adding_UDFs_to_AutoIt_and_SciTE (Hint: C:\Program Files\AutoIt3\SciTE\Properties\au3.userudfs.properties)

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

i can't find the file :S "au3.userudfs.properties"

[font="arial, helvetica, sans-serif;"]Advice for you[/font][font="arial, helvetica, sans-serif;"]: [/font][u]Search[/u] before posting.

 

[font="arial, helvetica, sans-serif;"] *********** Problem solved? if yes [/font][color=rgb(0,0,0);font-family:arial, helvetica, sans-serif;] *********[/color]

[font="arial, helvetica, sans-serif;"]******* press "Mark Solved" button. *******[/font]

Posted (edited)

Create it then :graduated:

_SetFile("", "C:\Program Files\AutoIt3\SciTE\Properties\au3.userudfs.properties", 0) ; I Presume you're using the x32 version of AutoIt on a x32 bit system or x64 version of AutoIt on a x64 bit system.

Func _SetFile($sString, $sFile, $iOverwrite = 0)
    Local $hFileOpen
    $hFileOpen = FileOpen($sFile, $iOverwrite + 1)
    FileWrite($hFileOpen, $sString)
    FileClose($hFileOpen)
    If @error Then
        Return SetError(1, 0, $sString)
    EndIf
    Return $sString
EndFunc   ;==>_SetFile
Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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
×
×
  • Create New...