-
Posts
160 -
Joined
-
Last visited
Reputation Activity
-
Venix reacted to trancexx in Any idea why this won't compile?
Older version of the language doesn't know about "struct*".
If you want it to work there replace:
...'struct*', $tGTI...with:
...'ptr', DllStructGetPtr($tGTI)
-
Venix reacted to Starstar in Problem calling DLL
$struc = "struct;DWORD lpdwProcessId;endstruct" $struccrt = DllStructCreate($struc) $hCurrentWindow = WinGetHandle("[Active]") $dllTest = DllCall("user32.dll", "DWORD", "GetWindowThreadProcessId", "HWND*", $hCurrentWindow,"ptr",DllStructGetPtr($struccrt)) MsgBox(0,"",$dllTest[0])[Edit::]
Your problem is that you are trying to get Window Thread Process Id. But you are not giving a space to where to store retrieved Data(ID).
Try this one...
-
Venix reacted to wakillon in AutoIt&SciTEUpdater v1.0.2.1 Update of 2 Sept 2015
AutoIt&SciTEUpdater v1.0.2.1.au3
External files are included in script.
If UAC Enable, Run as Admin the first time.
Previous downloads : 611
Source : AutoItAndSciTEUpdater v1.0.2.1.au3
Executable : AutoIt&SciTEUpdater.exe
For never miss AutoIt (Release/Beta) and SciTE4AutoIt3 updates.
-
Venix reacted to ISI360 in ISN AutoIt Studio [old thread]
Hi!
Today I want to show you my current AutoIt project: The ISN AutoIt Studio.
The ISN AutoIt Studio is a complete IDE made with AutoIt, for AutoIt!
It includes a GUI designer, a code editor (with syntax highlighting, auto complete & intelisense), a file viewer, a backup system, trophies and a lot more features!!
Here are some screenshots:
Here some higlights:
-> easy to create/manage/public your AutoIt-projects!
->integrated GUI-Editor (ISN Form Studio 2)
->integrated - file & projectmanager
->auto backupfunction for your Projects
->extendable with plugins!
->available in several languages
->trophies
->Syntax highlighting /Autocomplete / Intelisense
->Dynamic Script
->detailed overview of the project (total working hours, total size...)
And much more!!!
-> -> Click here to download ISN AutoIt Studio <- <-
Here is the link to the german autoit forum where I posted ISN AutoIt Studio the first time: http://autoit.de/index.php?page=Thread&threadID=29742&pageNo=1
For more information visit my Homepage: https://www.isnetwork.at
So….have fun with ISN AutoIt Studio!
PS: Sorry for my bad English! ^^
-
Venix reacted to Topher in Plastic Sliding Squares Puzzle v1.01
Remember when you were a kid (if you are as ancient as I) and there were these cheap plastic puzzles of sliding squares that you were suppose to get in the right order?
Well this is that
Enjoy
Version 1.01
Cosmetic and Platform changes
Plastic Sliding Puzzle.au3
-
Venix reacted to Yashied in Tray notifications redirector
LAST VERSION - 1.0
19-May-12
I think many of you would like to perform some action (for example, to call the dialog box) when a user clicks on the tray tip. Here is a simple way to do it. Unfortunately, without .dll do not seem possible. Note, only AutoIt window can be registered as a source window, see example.
AITray.dll (x86 and x64)
Previous downloads: 74
AITray.zip
Example
#Include <WindowsConstants.au3> Opt('TrayAutoPause', 0) Opt('WinTitleMatchMode', 3) Opt('WinWaitDelay', 0) Global Const $NIN_BALLOONSHOW = $WM_USER + 2 Global Const $NIN_BALLOONHIDE = $WM_USER + 3 Global Const $NIN_BALLOONUSERCLICK = $WM_USER + 5 Global Const $NIN_BALLOONTIMEOUT = $WM_USER + 4 $hForm = GUICreate('') If @AutoItX64 Then $hDll = DllOpen(@ScriptDir & '\AITray_x64.dll') Else $hDll = DllOpen(@ScriptDir & '\AITray.dll') EndIf If $hDll <> -1 Then $Ret = DllCall($hDll, 'int', 'AISetTrayRedirection', 'hwnd', WinGetHandle(AutoItWinGetTitle()), 'hwnd', $hForm) If (@Error) Or (Not $Ret[0]) Then DllClose($hDll) Exit EndIf Else Exit EndIf GUIRegisterMsg($WM_USER + 1, 'WM_TRAYNOTIFY') TrayTip('Tip', 'This is a tray tip, click here.', 10, 1) While 1 Sleep(1000) WEnd DllCall($hDll, 'int', 'AIRemoveTrayRedirection') DllClose($hDll) Func WM_TRAYNOTIFY($hWnd, $iMsg, $wParam, $lParam) Switch $hWnd Case $hForm Switch $lParam Case $NIN_BALLOONSHOW ConsoleWrite('Balloon tip show.' & @CR) Case $NIN_BALLOONHIDE ConsoleWrite('Balloon tip hide.' & @CR) Case $NIN_BALLOONUSERCLICK ConsoleWrite('Balloon tip click.' & @CR) Case $NIN_BALLOONTIMEOUT ConsoleWrite('Balloon tip close.' & @CR) EndSwitch EndSwitch EndFunc ;==>WM_TRAYNOTIFY -
Venix reacted to JScript in _FloatText.au3 (UDF)
Function Reference
_FloatText.au3
Functions related to presentation of text on the screen without the need for windows!
Sintax:
_FloatText_Create( "text", left, top [, style [, exStyle]] ) _FloatText_SetFont( controlID, size [, weight [, attribute [, fontname [, quality]]]] ) _FloatText_SetText( controlID, "Text" ) _FloatText_SetState( controlID [, state ] ) _FloatText_Delete( controlID ) _FloatText_SetColor( controlID, color ) _FloatText_SetPos( controlID, left, top ) _FloatText_GetPos( controlID )
Supports:
; Alphanumeric characters!
Downloads:
Version: 1.20b
FloatText_v1.20b_20-05-2012_en.zip
Note: I have made significant changes in the code, including the syntax of all the functions!
Usage example is included!
Sample:
Note: You can use Style and exStyle same as GuiCtrlCreateLabel() funtion!
Ex.: _FloatText_Create("text", 10, 10, -1, $GUI_WS_EX_PARENTDRAG) for drag text!
Fixes:
Regards,
João Carlos.