Leaderboard
Popular Content
Showing content with the highest reputation on 12/24/2013 in all areas
-
AutoIt v3.3.10.0 has been released. Big thanks to everyone involved in this release, including past and present contributors, beta testers, moderators and MVPs. It really is a massive group effort! There's still a lot to do in future releases, but at least we have got a stable release out there that we can build on There are too many changes and fixes to list here, but some highlights include: 90+ bugs fixes and additions to the main AutoIt executables. 90+ bug fixes and additions to the user defined functions (UDFs). Much improved Unicode support within the regular expression engine for non-English character sets. Extensive AutoItX changes, including an easy to use .NET Assembly interface and a set of PowerShell CmdLets. Download it here. Complete list of changes: History4 points
-
autoit 3.3.10.0 is HUGE
FlashpointBlack and one other reacted to jchd for a topic
I also carry something that gets bigger and bigger and no woman complains about it (yet). Seriously, Win 7 is significantly bigger than Win 3.11 as well.2 points -
TeamViewer 9 API
BinaryBrother reacted to mLipok for a topic
http://integrate.teamviewer.com/en/index.aspx " With the TeamViewer integrations and the TeamViewer API, TeamViewer integrates seamlessly into your daily workflow. Develop a custom application or integrate pre-built solutions into your working environment, such as ticket systems, CRM or mail applications. " Is there anyone interested in creating a special UDF? EDIT: http://downloadeu1.teamviewer.com/download/integrate/TeamViewer_API_Documentation.pdf EDIT: API is REST and JSON based http://integrate.teamviewer.com/en/develop/documentation/ http://integrate.teamviewer.com/en/develop/examples/ examples are in PowerShell Python and VBScript It can be integrated with Active Directory1 point -
PNG button image
behdadsoft reacted to UEZ for a topic
Use the same technique as shown but disable the background control. #include <Constants.au3> #include <GDIPlus.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> _GDIPlus_Startup() Global Const $hGUI = GUICreate("Test", 300, 200), $STM_SETIMAGE = 0x0172 Global Const $iPic_Bg = GUICtrlCreatePic("", 0, 0, 1024, 768) GUICtrlSetState(-1, $GUI_DISABLE) SendImageToPicControl("c:\Program Files (x86)\AutoIt3\Examples\GUI\msoobe.jpg", $iPic_Bg) Global Const $iPic = GUICtrlCreatePic("", 10, 10, 128, 128) SendImageToPicControl(@ScriptDir & "\StepForwardDisabled.png", $iPic) GUISetState() Do Switch GUIGetMsg() Case $GUI_EVENT_CLOSE _Exit() Case $iPic MsgBox($MB_APPLMODAL, "Test", "Button was pressed") EndSwitch Until False Func SendImageToPicControl($sImage, $iCtrlID) Local Const $hImage = _GDIPlus_ImageLoadFromFile($sImage) Local Const $hHBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hImage) _WinAPI_DeleteObject(GUICtrlSendMsg($iCtrlID, $STM_SETIMAGE, $IMAGE_BITMAP, $hHBitmap)) _WinAPI_DeleteObject($hHBitmap) _GDIPlus_ImageDispose($hImage) EndFunc Func _Exit() _GDIPlus_Shutdown() GUIDelete() Exit EndFunc Br, UEZ1 point -
Sorry, forgot to modify this line. MsgBoxConstants.au3 is from the current final release and not included in previous versions. If your code works than it works - no need to update something. Br, UEZ1 point
-
Your are welcome and merry xmas. Btw, I updated the code a little bit. Br, UEZ1 point
-
#include <ButtonConstants.au3> #include <GDIPlus.au3> #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <StaticConstants.au3> _GDIPlus_Startup() Global Const $hGUI = GUICreate("Test", 300, 200), $STM_SETIMAGE = 0x0172 GUISetBkColor(0x404040) Global Const $iPic = GUICtrlCreatePic("", 10, 10, 138, 138) Global Const $hImage = _GDIPlus_ImageLoadFromFile(@ScriptDir & "\StepForwardDisabled.png") Global Const $hHBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hImage) _WinAPI_DeleteObject(GUICtrlSendMsg($iPic, $STM_SETIMAGE, $IMAGE_BITMAP, $hHBitmap)) GUISetState() Do Switch GUIGetMsg() Case $GUI_EVENT_CLOSE _Exit() Case $iPic MsgBox($MB_APPLMODAL, "Test", "Button was pressed") EndSwitch Until False Func _Exit() _WinAPI_DeleteObject($hHBitmap) _GDIPlus_ImageDispose($hImage) _GDIPlus_Shutdown() GUIDelete() Exit EndFunc Br,UEZ1 point
-
Omitted error checking on $hSearch1 point
-
#include <ButtonConstants.au3> #include <GDIPlus.au3> #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> _GDIPlus_Startup() Global Const $hGUI = GUICreate("Test", 300, 200) GUISetBkColor(0x404040) Global Const $iBtn = GUICtrlCreateButton("", 10, 10, 138, 138, BitOR($BS_BITMAP, $BS_CENTER)) Global Const $hImage = _GDIPlus_ImageLoadFromFile(@ScriptDir & "\StepForwardDisabled.png") Global Const $hHBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hImage) _WinAPI_DeleteObject(_SendMessage(GUICtrlGetHandle($iBtn), $BM_SETIMAGE, $IMAGE_BITMAP, $hHBitmap)) GUISetState() Do Switch GUIGetMsg() Case $GUI_EVENT_CLOSE _Exit() Case $iBtn MsgBox($MB_APPLMODAL, "Test", "Button was pressed") EndSwitch Until False Func _Exit() _WinAPI_DeleteObject($hHBitmap) _GDIPlus_ImageDispose($hImage) _GDIPlus_Shutdown() GUIDelete() Exit EndFunc Br, UEZ1 point
-
; assuming you are calling the function correctly: if $var = "Dutch" Then If not, provide the entire script.1 point
-
For Infragistics controls you should definitely use the UI Automation framework.1 point
-
@WorkingDir
behdadsoft reacted to Factfinder for a topic
Hi, If you use @WorkingDir in a native autoit script you don't need the quote marks. Only when you call cmd and use @WorkingDir in a cmd command you need to put the @WorkingDir that contain spaces in the quote marks like this: $dir = '"' & @WorkingDir & '"'1 point -
the actual operation of copying to clipboard does not depend on your script. script does not copy to clipboard, it only sends the instruction to Windows to perform the copy to clipboard, so you can not delay the script until the copy is completed. you can either go with what you have, or devise an elaborate function that would read the clipboard before send(), then re-read the clipboard in loop after the send() until the content is different, and only then the script continues. something like this (not tested, i just scribbled it): $xPreCopy=_ClipBoard_GetData() Send("{^a^c}") Do Sleep(10) $var = _ClipBoard_GetData() Until $var<>$xPreCopy1 point
-
Run lines of script if X is met otherwise ignore those lines
Oyvlei reacted to somdcomputerguy for a topic
Read about the two FileFind functions in the Help file too.1 point -
Look in the help for Select Switch and study the examples for them.1 point
-
DOS CMD window stays open. How to close?
behdadsoft reacted to Fossil Rock for a topic
Change /k to /c1 point