Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/15/2017 in all areas

  1. badcoder123

    How to run "run"

    Also Run("C:\WINDOWS\system32\rundll32.exe shell32.dll,#61")
    2 points
  2. Ah, yes. I just noticed. Maybe try this one?: https://github.com/loganch/AutoIt-VSCode
    2 points
  3. Hi outthere here is my script-stuff to create ownerdrawn menuitems with icons and colors. It uses GUIRegisterMsg() and WM_DRAWITEM / WM_MEASUREITEM - messages proceeding. Holger Update 06.05.2008: !!! Warning: Script breaking !!! Please change the following commands to: _TrayCreateItem(Text, ...) _TrayCreateMenu(Text , ...) - Fixed: some old values (thanks to aGorilla) - Fixed: ..SetText() functions (thanks to MrCreatoR) - Added the following commands: _SetMenuIconBkGrdColor(Color) ; set icon background gradient color _SetTrayIconBkGrdColor(Color) ; set icon background gradient color New sidebar menu commands: _CreateSideMenu(MenuID) ; returns a SideMenuID/index _DeleteSideMenu(SideMenuID) ; delete a menu sidebar _SetSideMenuText(SideMenuID, Text) ; set a text for the sidebar _SetSideMenuColor(SideMenuID, Color) ; set text color _SetSideMenuBkColor(SideMenuID, Color) ; set text background color _SetSideMenuBkGradColor(SideMenuID, Color) ; set text background gradient color _SetSideMenuImage(SideMenuID, Bitmapfile [, Resourcename/number [, Expand/Compress Bitmap]]) Just take a look into the samples how to use them! At the moment there are some known issues: - missing 64bit compatibility (already in progress, to fully work with "AutoIt3_x64.exe") - moving the mouse cursor on the sidebar menu image/text also changes the current menu item selection - for sidebar menu image only bitmaps are supported at the moment (min.8bpp) Update 23.03.2008: !!! Warning: Please update all your scripts and add after _TrayIconCreate() the command _TrayIconSetState() - otherwise you will not see any tray icons!!! Also update your icon numbers like for GUI icons - Fixed: some things (thanks to nickston) - Changed: _TrayIconCreate() do not show automatically the icon - Changed: icon behaviour now more similar to GUI icons (I hope) - Added: command.txt - Removed: unicode macro History: CODEUpdate 21.03.2008: - Changed: dynamic array sizing of the saved menu items - Added: _TrayDeleteItem(menuID), _GUICtrlODMenuItemDelete($nID) - please delete menu (items) with these commands - Added: _TrayIconSetState() modes 4 and 8 for flashing and flashstopping of tray icons - Added: _SetFlashTimeOut([timeOut]) to set the flash timeout - Added: OnEvent sample Update 23.02.2008: - Fixed: GDI object overload while using bold font Update 22.02.2008: - Added: _TrayItemSetSelIcon(ItemID, IconFile, IconID) - set the icon if the item is selected - Added: _GUICtrlODMenuItemSetIcon(ItemID, IconFile, IconID) - set the icon of the item - Added: _GUICtrlODMenuItemSetSelIcon(ItemID, IconFile, IconID) - set the icon if the item is selected - Added: "ModernMenuRaw.au3" which only includes the unknown constants, should better work with 'Au3Check' now Update 12.01.2008-2: - Fixed: Missing underscore in "CreateMenuFontByName"-function (Font fallback function) (thanks to MsCreatoR and GEOSoft). - Changed: If a menuitem is disabled then the rect only is showing around the item - Added: Underscore in menutext only showing when pressing "Alt"-key Update 12.01.2008: - Changed: 'local' Dll calls to global DllOpen to speedup (some virusscanners sometimes slowdown the process cause of opening these Dll's again and again) - Added: Using of @Tab for accelerator showing/drawing Update 07.12.2007: - Changed: all stuff in only 1 ZIP file - Fixed: now works with 3.2.10.0 and 3.2.8.1 Update 03.08.2007 - Fixed: error in _TrayIconDelete() and new creation - Added: additional parameter to _TrayIconCreate(ToolTip, IconFile, IconID, Callback, Msg, hIcon) to use existing icon handles - Added: sample_Win2Tray: 'moves' all minimized windows to the tray Update 28.07.2007 - Fixed: wrong call of function CreateFont() - Thanks to SleepyExtreme for info - Changed: included samples to demonstrate using of icon clicks Update 26.07.2007 - Fixed: missing function: LoadIcon() Update 21.07.2007 - added bold item support - limited to menuitems only, menus are not supported Update 17.07.2007: - now you can also menu icons for the tray - added commands for Tray: _TrayIconCreate() _TrayCreateMenu() _TrayCreateItem() _TrayItemSetIcon() _TrayIconSetState() _TrayTip() So you can have more than 1 tray icon for 1 Autoit3-script. Update 01.07.2007: - now works with unicode (3.2.4.9) - new command: _GUICtrlODMenuItemSetText(ControlID, NewText) Update 21.08.2006: - delete 1 line in libs to work with current release 3.2.0.X (error: cannot redeclare constant...) - Thanks to Javascript_Freek for info Update 02.02.2006: - added Checked-state for normal menu items and radio menu items - added a like ModernMenuLib-script for easier create/use these menustuff (see sample in the ModernMenuLib-folder) ModernMenuLib_with_Tray.zip
    1 point
  4. Then an alternate use for you might be to have it fire something upon switch on, but not switch it back off again.
    1 point
  5. BrewManNH

    Open PDF in auto IT

    Use ShellExecute.
    1 point
  6. TheDcoder

    How to run "run"

    @badcoder123 Nice! Should be more universal than my solution
    1 point
  7. $WshShell = ObjCreate("WScript.Shell") $WshShell.SendKeys("{CAPSLOCK}") "Let AutoIt shine !"
    1 point
  8. 1 point
  9. Will check on Friday as I‘m on vacation right now.
    1 point
  10. Modyfication: Func _GHAPI_GetReposReleases($sOwner, $sRepo, $sParams = "") $sParams = (($sParams) ? ("/" & $sParams) : ("")) Local $oHTTP = __GHAPI_HTTP_Open( _ "GET", _ "repos/" & $sOwner & '/' & $sRepo & '/releases' & $sParams _ ) Local $oJSON = __GHAPI_HTTP_Send($oHTTP) If @error Then Return SetError(@error, @extended, False) #forceref $oJSON EndFunc ;==>_GHAPI_GetReposReleases _GHAPI_AccessToken('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') _GHAPI_GetReposReleases("mlipok","TEST") _GHAPI_GetReposReleases("mlipok","TEST", 'latest') _GHAPI_GetReposReleases("mlipok","TEST", '8484228') _GHAPI_GetReposReleases("mlipok","TEST", 'tags/123')
    1 point
  11. Tony4219

    Imagex or Dism

    feedback: I was finally able to get GimageX 2.1.1 to work in Win10PESE x64. I followed your Help info to place parts of the ADK in the same folder with GimageX itself (on the X: partition of X/Y usbstick. I used the Win10 ADK, since this is for Win10PESE preboot environment. I don't know if it helped or not but I added wofadk.sys to these: wimgapi.dll wimmount.sys wimmountadksetupamd64.exe wimprovider.dll wimserv.exe imagex.exe You do have to run "wimmountadksetupamd64.exe /install" each new session. You absolutely have to use a newly created, virgin, folder as the mountpoint each time. It WORKS! I was able to mount a WIM, modify it, Capture a new WIM and tested it ok. I don't know why Unmounting leaves the files behind or how it knows a preexisting folder is somehow 'dirty' but that must be due to Windows 10. On a Windows 10 computer with ADK installed the SAME thing happens: Unmounting leaves the files behind, and you cannot juse just any old empty folder but must create a new one each time. [in Win7PESE x64, with GimageX, older version, I can use the same mount point over and over] The Win7PESE script was written by someone else and had references to wimfltr, which is not a separate item in the Win10 ADK that I can find, BUT IF YOU TRY TO RENAME THE ORIGINAL WIM WITHOUT REBOOTING YOU GET A MESSAGE THAT WIMFLTR V 2 EXTRACTOR IS USING THE FILE.] Thanks! Tony4219
    1 point
×
×
  • Create New...