Jump to content

sheck

Active Members
  • Posts

    95
  • Joined

  • Last visited

About sheck

  • Birthday 05/01/1981

Profile Information

  • Location
    Canada
  • WWW
    https://blogs.sapib.ca
  • Interests
    Coding
    IT
    Psychology
    Nature

Recent Profile Visitors

1,449 profile views

sheck's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Nice. I was just going to write my own, but it's already done and posted. Thanks. You saved me a bunch of time. This worked perfectly. Tested with Android Google Authenticator.
  2. Just so you know /a doesn't actually install anything. It just extracts the files in the directory you specify. To install you need to run msiexec /i package_name.msi /qb
  3. Can't download file. Please re-post with another link. Thanks.
  4. Well, then !!! I have XP SP3, that's why. Thank you to everyone who replied.
  5. Statusbar won't display text longer than 700 pixels Example: #include <GuiConstantsEx.au3> #include <GuiStatusBar.au3> #include <WindowsConstants.au3> Opt('MustDeclareVars', 1) Global $hStatus Local $hGUI Local $aParts[1] = [10000] $hGUI = GUICreate("StatusBar Resize", 1000, 300, -1, -1) $hStatus = _GUICtrlStatusBar_Create($hGUI) _GUICtrlStatusBar_SetParts($hStatus, $aParts) _GUICtrlStatusBar_SetText($hStatus, "11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111112222222") GUISetState() Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete() As you can see it cuts off the text. Somehow I cannot find any information on this. Is this a Microsoft limit or is there a command I'm not aware of ?
  6. WOW, Nice ! I played around with it a bit and I like it. User friendly, loads of related feathers and nicely designed interface. Good Job.
  7. Maybe something like this, if I understood you correctly: #include <AD.au3> _AD_Open() Global $aProperties[1][2] MsgBox(0,"Info", "AD Information for user " & @UserName & " will be found" & @CRLF & "The query may take several minutes to complete",3) ProgressOn("Progress Meter", "Waiting for query to return data", "0 percent") MsgBox(0,"TS", "Pre Query",3) AdlibRegister("Progress", 1000) $aProperties = _AD_GetObjectProperties(@UserName) MsgBox(0,"TS", "Post Query",3) sleep(500) AdlibUnRegister("Progress") ProgressOff() MsgBox(0,"TS", "Array is built",3) _ArrayDisplay($aProperties, "AD Functions - Properties for '" & @UserName & "'") MsgBox(0,"TS", "Array is displayed",3) _AD_Close() Func Progress() $i += 10 ProgressSet( $i, $i & " percent") EndFunc
  8. Have you ever copied and pasted something important then at some point forgot where you saved it or lost it. Now you have to look for it all over again ! Well, possibly not... This tool saves everything that is sent to Clipboard into a file for later retrieval (text). If you copy a file in Windows Explorer, it will save full path to the file. Up to 500 entries (can be more, if source is modified, at the cost of performance). Search function - search by keyword. Export function - have too much to copy and paste ? Then just export everything to a file for easier access. Don't want others looking at your clipboard history ? Encryption is available. Choose how many entries to save from Settings menu. Chosoe where to save the file with clipboard entries. Note: This was only tested on XP. Icons are set for XP, on Vista or 7 icons might be different. You can set your own icons at the beginning of the script. XP_Clipper.zip
  9. Yes you can, however I would like not to do it that way, because not all commands can be read with STDOUR_READ() and I need to know exit code.
  10. No, that just tells Windows that this script can be executed only by someone with Admin Rights.
  11. That's a shame. Oh well, I will have to go around it.
  12. According to documentation RunAs() only executes files (EXE, BAT, COM, or PIF). I need to run a command such as FileDelete(""). How can I do that ?
  13. I was wondering if it's possible to execute a command as a different user inside AutoIt without restarting script ? For example if I start script as a normal user in XP, but want to run some commands inside that script as Admin without running the whole script as Admin.
  14. If you use the code in my 1st post, that should give you an idea. Navigate commad works normally, but it doesn't work when accessing sites protected by .htaccess Let mw know if you need more info.
  15. No one ever had this issue ? How about the creator of IE.au3 ? Is there a way ?
×
×
  • Create New...