Jump to content

satanttin

Active Members
  • Posts

    223
  • Joined

  • Last visited

About satanttin

  • Birthday 01/05/1991

Profile Information

  • Location
    The Netherlands

Recent Profile Visitors

293 profile views

satanttin's Achievements

  1. Wow it's really hard for some people to show even a little bit of respect to others it seems
  2. One thing i noticed tho. If you hide and unhide it very fast it does show both the folder Test and the hided version of it. So it does move it or is there another reason for it to show both when u do this?
  3. "Because AutoIt lacks a "DirRename" function, use DirMove() to rename a folder!" This is in the help file! so doesn't really say if the 2 locations is the same it doesn't execute the move just the rename. I actually did read it!
  4. Ah okay i assumed it moved it aswell, but good to know only a rename is used if the location isn't changed:)
  5. I used that. but that's moving and renaming not just renaming sorry if i said it wrong.
  6. Does it matter it wasn't made to do this? i mean it works so thought someone might find it usefull. And yes the only reason it needs to be "moved" is because autoit doesn't have a function to rename a folder.
  7. Greetings all, Just wanted to share a little program that hides and unhides a folder using Windows Class Identifiers. This means it changes a folder to "my computer" or "control panel" or whatever u prefer. (i added a small list of things u can choice from) I hope someone can make good use of this:)
  8. omg thanks! Kinda feel stupid i couldn't found it O.o Have a great day^^
  9. Hello there, I'm trying to make a program with an ie object in it but when i run the script the maximize button is grayed out? Does someone know how to fix this? The code i have is: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> Global $URL, $oIE, $BSendURL, $gMain Opt("GUIOnEventMode", 1) Main() Func Main() $gMain = GUICreate("Calculator", 801, 688, 178, 227) $oIE = ObjCreate ("Shell.Explorer.2") $GUIIE = GUICtrlCreateObj ($oIE, 1, 1, 800, 500) $oIEEvents = ObjEvent ($oIE,"IEEvent","DWebBrowserEvents2") If $URL = 0 Then $URL = "http://www.pathofexile.com/fullscreen-passive-skill-tree/AAAAAwMB" EndIf $oIE.navigate ($URL) GUISetState(@SW_SHOW) GUISetOnEvent($GUI_EVENT_CLOSE, "Close") GUICtrlSetResizing ($GUIIE, $GUI_DOCKAUTO) EndFunc Func Close() Exit EndFunc While 1 Sleep(50) WEnd While $oIE.busy Sleep (30) WEnd
  10. Thanks for the comment JohnOne:)
  11. Thanks Melba23 ^^ works like a charm :3 guess i will save this piece of code if i need it in the future
  12. Hello, Hope someone could help me out. I'm trying to open a gui with a hotkey and when it's already open to not open a new one. The code i have so far is: HotKeySet("+z", "Note") Func Note() If $Note = False Then $Note = GUICreate("Note", 633, 504, 346, 297) $dEdit = IniRead (@ScriptDir & "\Data\Note.ini" , "Note", "Note", @error) $Edit = GUICtrlCreateEdit("", 0, 0, 632, 503) GUICtrlSetData($Edit, StringReplace(IniRead(@ScriptDir & "\Data\Note.ini" , "Note", "Note", @error), "{ENTER}", @CRLF)) GUISetState(@SW_SHOW) GUISetOnEvent($GUI_EVENT_CLOSE, "NoteFunc") ElseIf $Note = True Then GUIDelete($Note) EndIf EndFuncIf i press shift + z it will open the gui and a second press deletes it but when i use it a 3th time it doesn't do anything. So basicly want to toggle a gui with a hotkey.
  13. Not sure if i understand you correctly but u can try it with $test = guictrlread($myLabel) msgbox(0, "title", $test) or just msgbox(0, "title", $myLabel) not sure if that's what u need to do though
  14. Oh found it all i need was to put "Opt("WinTitleMatchMode", 2)" in my script :') and then i can use something like WinSetTrans("Google Chrome", "", 210) The full code if someone wants it: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <ListviewConstants.au3> Global $Handle, $Value, $aHandle, $aValue Opt("WinTitleMatchMode", 2) Opt("GUIOnEventMode", 1) Main() Func Main() $Main = GUICreate("Transparent Test", 420, 420, 100, 200) $Handle = GUICtrlCreateInput("Enter program...", 50, 25) $Value = GUICtrlCreateInput("Enter Value. 0/255", 50, 50) $Send = GUICtrlCreateButton("Make Transparent", 50, 75) GUICtrlSetOnEvent($Send, "Submit") GUISetState() GUISetOnEvent($GUI_EVENT_CLOSE, "stop") EndFunc Func Submit() $aHandle = GUICtrlRead($Handle) $aValue = GUICtrlRead($Value) WinSetTrans($aHandle, "", $aValue) EndFunc Func stop() Exit EndFunc While 1 Sleep(50) WEnd
  15. @L3ill it's a good alternative tho ^^ so thanks might aswell make this first:P rather wish i could put all the handles in a dropdownmenu and select one and make them transparent:P
×
×
  • Create New...