Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/12/2019 in all areas

  1. Danp2

    No access to Form in iFrame?

    @Jos Thanks for the encouraging words. 🤣
    2 points
  2. @Spok3r Why should we take the time to review the site when you can't be troubled to provide a simple example script that demonstrates the issue you have encountered?
    2 points
  3. You are a real trouper @Danp2 And that's a GOOD thing
    1 point
  4. searched recently how to remove this icon, just adding it here since its not easy to find: ; forum.exetools.com/showthread.php?t=9378 #NoTrayIcon #include <GUIConstants.au3> #include <SendMessage.au3> While 1 $SystrayHandle = WinWait('[CLASS:SystemTray_Main]') _SendMessage($SystrayHandle, $WM_USER + 220, 2, 0) WinWaitClose($SystrayHandle) WEnd
    1 point
  5. Yea @Danp2, you dumbass, you need to read better before helping. ( as You noticed, I simply walk away and leave them simmer in their own BS )
    1 point
  6. 1. That's not the code you posted before. Thanks alot for making me "reinvent the wheel" that you claims to have already solved. 😦 2. Please use code tags when posting code (see FAQ here) 3. You might want to search the forum for any potential solutions dealing with cross-domain frames
    1 point
  7. Because you are asking for help on an issue and expecting us to write code for you without you even showing what you have tried thus far. Sorry, but most folks around here don't just regurgitate code unless the OP (you) show some effort P.S. I'll take a look now that you've posted some code. First thought is to use iframe name instead of index number.
    1 point
  8. One thing to look at for text file versions is called Alternate Data Streams, which are a way to attach something to a file that isn't seen in a normal text file, but can be retrieved to do what you're looking for. Here's another
    1 point
  9. I've found an alternative way to do this... #RequireAdmin _share_folder("Testy", "c:\test") MsgBox(0, "", "done") Exit Func _share_folder($ShareName, $SharePath) If Not(FileExists($SharePath)) Then DirCreate($SharePath) RunWait(@ComSpec & " /C net share " & $ShareName & " /delete&net share " & $ShareName & "=" & $SharePath & " /GRANT:Everyone,FULL", "", @SW_HIDE) EndFunc
    1 point
  10. InnI

    GDI_BitMap Get&Set help

    #include <GDIPlus.au3> $t = TimerInit() _GDIPlus_Startup() $ImagePath = "image.jpg" $hBitmap = _GDIPlus_BitmapCreateFromFile($ImagePath) $Width = _GDIPlus_ImageGetWidth($hBitmap) $Height = _GDIPlus_ImageGetHeight($hBitmap) Global $aColors[] = [0x970000,0x009700,0x00008D] ; if $iR>0x96 or $iG>0x96 or $iB>0x8C => $hIA = _GDIPlus_ImageAttributesCreate() $hNewImg = _GDIPlus_BitmapCloneArea($hBitmap, 0, 0, $Width, $Height, $GDIP_PXF32PARGB) _GDIPlus_BitmapDispose($hBitmap) For $i = 0 To 2 $hBufImg = _GDIPlus_BitmapCreateFromScan0($Width, $Height) $hBufGra = _GDIPlus_ImageGetGraphicsContext($hBufImg) _GDIPlus_GraphicsClear($hBufGra, 0xFFFFFFFF) ; => then _GDIPlus_BitmapSetPixel($hBitmap, $iX, $iY, 0xFFFFFFFF) _GDIPlus_ImageAttributesSetColorKeys($hIA, 0, True, $aColors[$i], 0xFFFFFFFF) _GDIPlus_GraphicsDrawImageRectRect($hBufGra, $hNewImg, 0, 0, $Width, $Height, 0, 0, $Width, $Height, $hIA) _GDIPlus_ImageDispose($hNewImg) _GDIPlus_GraphicsDispose($hBufGra) $hNewImg = _GDIPlus_BitmapCloneArea($hBufImg, 0, 0, $Width, $Height, $GDIP_PXF32PARGB) _GDIPlus_ImageDispose($hBufImg) Next _GDIPlus_ImageAttributesDispose($hIA) _GDIPlus_ImageSaveToFile($hNewImg,"Result.jpg") _GDIPlus_BitmapDispose($hNewImg) _GDIPlus_Shutdown() ConsoleWrite(TimerDiff($t) & @CRLF)
    1 point
  11. Oh you don't mean the link, you meant the script. Go up top to 'autoit resources' --> 'release' and download all that stuff. Then maybe hit up the Autoit 1-2-3 thread. you should be pro in about 30-45min
    1 point
  12. You must find a way to identify the button on the page, some unique property. I see that it has no id, but wouldn't it have a special class? If yes, you could do this: $oIE = _IECreate("http://yourpagehere.com/") clickobjbyclass($oIE, 'ui-button-text-only') Func clickobjbyclass(ByRef $oIE, $class) $tags = $oIE.document.GetElementsByTagName('button') For $tag In $tags $class = $tag.GetAttribute('class') If String($class) = $class Then Return _IEAction($tag, 'click') EndIf Next Return False EndFunc
    1 point
  13. Helge

    Exit Function

    The Else-part is optional so if you're not planning on doing anything there there's no need to even add that part. To end the current function use Return. Here's how you could've done it though... Func Begin() $confirm = MsgBox(4, "Confirmation", "Are you sure you want to scan for and delete found temporary files?") If $confirm = 6 Then BeginREAL() EndFunc
    1 point
×
×
  • Create New...