Jump to content

YGYL

Members
  • Posts

    11
  • Joined

  • Last visited

YGYL's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. not a bug?? FileGetShortcut & WIN8 Mouse Right Click _r Icon filename LNK.zip
  2. FileCreateShortcut ( "file", "lnk" [, "workdir" [, "args" [, "desc" [, "icon" [, "hotkey" [, icon number [, state]]]]]]] ) "icon" Parameter can not working correctly Under WIN2012 & WIN8 my computer name is SERVER,when "icon" Parameter is "servershell32.dll" "servershell32.dll" Will be automatically replace to %COMPUTERNAME%shell32.dll on LAN ,Using another WIN8 computer to look (rightClick) this Create lnk file, the "icon" will be error
  3. when i use WIN2012,my computer name is SERVER FileCreateShortcut(@WindowsDir & "explorer.exe", "1.lnk", @WindowsDir, "/e,c:", "Tooltip description of the shortcut.", "servershell32.dll", "^!t", "15", @SW_MINIMIZE) "servershell32.dll" will be auto change to %COMPUTERNAME%shell32.dll if use Another PC of WIN8 to open this lnk,the LNK ico can't be Correct read
  4. if I use FileCreateShortcut Create Shortcuton win2012 and [shortcut target path]'s first string is "", XP Client can't use FileGetShortcut to get this lnk Shortcut target path like:"serverDota2ZUJIAN.exe" FileCreateShortcut("serverDota2ZUJIAN.exe", @DesktopDir & "Dota2_xp.lnk", "serverDota2", "", "", "serverDota2System32FileICONSPkgCustom.ico") run it on WIN2012 then on XP ,FileGetShortcut can not read Shortcut target path! [0]| [1]|serverDota2 [2]| [3]| [4]|serverDota2System32FileICONSPkgCustom.ico [5]|0 [6]|1 lnk_xp_w7.zip
  5. i find the key Local $Buffer = DllStructCreate('dword;dword;dword;dword;dword;dword;dword') ................ DllCall($Handle[0], 'int', 'VirtualQueryEx', 'int', $Handle[1], 'int', $Address, 'ptr', DllStructGetPtr($Buffer), 'int', DllStructGetSize($Buffer)) Local $BaseAddress = '0x' & Hex(DllStructGetData($Buffer, 1)) Local $RegionSize = DllStructGetData($Buffer, 4) .............. $Address = '0x' & Hex($BaseAddress + $RegionSize) ======================== set $RegionSize=65535 : in 3.3.6.0 $BaseAddress="0x000000" $Address=0x00010000 in 3.3.8.1 $BaseAddress="0x00000000000000" $Address=0x40f0000000000000 Hex() format....
  6. Nomad's 'VirtualMemoryEx' include Memory.au3 & VirtualQueryEx.au3 func like: Scan_Memory_Pages Open_Process _MemoryOpen _MemoryRead on 3360 it work fine,but on 3.3.8.1,it can not Scan Memory Pages,where change in new version?? how can i fix it?
  7. in our system(chinese) returns: [0]| [1]|SERVER02线条滑雪2 [2]| [3]| [4]| [5]|0 [6]|1
  8. t.zip >LineRider2.lnk this Shortcut Modify at win03 or win08r2,use windows can see "Path",but in au3 only "Working directory" can read out~ Local $aDetails = FileGetShortcut("LineRider2.lnk") If Not @error Then MsgBox(0, "FileGetShortcut", "Path: " & $aDetails[0] & @CRLF & _ "Working directory: " & $aDetails[1] & @CRLF & _ "Arguments: " & $aDetails[2] & @CRLF & _ "Description: " & $aDetails[3] & @CRLF & _ "Icon filename: " & $aDetails[4] & @CRLF & _ "Icon index: " & $aDetails[5] & @CRLF & _ "Shortcut state: " & $aDetails[6] & @CRLF) EndIft.zip
  9. menuradioitem is not work? how to use it? #include <GUIConstants.au3> $Form1 = GUICreate("Form1", 633, 447, 193, 125) $MenuItem2 = GUICtrlCreateMenu("MenuItem2") $MenuItem1 = GUICtrlCreateMenu("MenuItem1") $MenuItem3 = GUICtrlCreateMenuItem("MenuItem3", $MenuItem1, -1 , 1) GUICtrlSetState(-1, $GUI_CHECKED) $MenuItem4 = GUICtrlCreateMenuItem("MenuItem4", $MenuItem1, -1 , 1) $MenuItem5 = GUICtrlCreateMenuItem("MenuItem5", $MenuItem1, -1 , 1) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $MenuItem4 MsgBox(0,"2","") GUICtrlSetState($MenuItem4, $GUI_CHECKED) EndSwitch WEnd
  10. BitmapCreateHBITMAPFromBitmap,CAN NOT Clean up resources $hImage = _GDIPlus_ImageLoadFromFile (@MyDocumentsDir & "\GDIPlus_Image.bmp") $hBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap ($hImage) ; Save bitmap to file _ScreenCapture_SaveImage (@MyDocumentsDir & "\Image.bmp", $hBitmap) ; Clean up resources _GDIPlus_ImageDispose ($hImage) MSGBOX(0,"F",_WinAPI_DeleteObject ($hBitmap))
×
×
  • Create New...