Jump to content

nauip

Members
  • Posts

    15
  • Joined

  • Last visited

nauip's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. actually this is going to work for me. Thanks! Now if I can get out of the habit of storing crap in temp (which this is supposed to help me do) all will work out.
  2. I want to delete everything in c:\temp (I've redirected the system temp to here for simplicity) but skip temp files that are still in use. FileDelete("c:\temp") seems to not do anything if it finds a file in use. The only other solution I can think of is to cycle through all the files and attempt to delete one at a time using FileNext. This is further complicated by sub-folders in Temp. I was just hoping someone here had a magic bullet that might save me some coding - otherwise I'll get to work.
  3. this has more to do with DirectX taking over in fullscreen mode. Tooltips will not show up because of this.
  4. $multiple = InputBox ( "Delay " , "Input your delay below , IN SECONDS") for $i = 1 to $multiple sleep(1000) next
  5. It's sort-of-but-not-really a bug? Maybe? I noticed sometimes I just couldn't get help to pop up when I needed help figuring out a function. Today I figured it out. When starting a new script and you haven't saved it yet, F1 for help doesn't work. Even if you have other windows of SciTE open with saved scripts. The fix is, of course, to save your script then help is right there to help you. I tried, but failed to see if anything like this has been posted before, but didn't find anything.
  6. Trying to work out a formula to return the date of the previous Sunday, unless the date entered is a Sunday. I don't see anything in Date.au3 to do this, unfortunately. Any help is appreciated.
  7. Hey - I missed that somehow, thanks!
  8. I think I need to expand a bit on my explanation. The report I run I would *like* to just click the executable that I create with AutoIT and have it calculate the last day of the month (when necessary). The crystal report prompts for the beginning date and the end date for the report to report on. On or around the 1st of Dec. I would input 11/15/2007 and 11/30/2005. If it's on or around Dec 15 I would enter 12/1/2007 and 12/15/2007 to report on. It's that 28/30/31 last day of the month that is tricky to calculate (for me).
  9. I need the script to return the dates for a bi-monthly report. The report should be run on the 1st and 15th, but could be a day or 2 after if those days land on a weekend. using date.au3 I have so far: If $Day >= 15 then $DateMin = $Month & "/01/" & $Year $DateMax = $Month & "/15/" & $Year Else $DateMin = _DateAdd("M", -1, $Month) & "/15/" & $Year $DateMax = _DateAdd("M", -1, $Month) & I'm stumped on how to calculate the final day for the moment. Help would be appreciated.
  10. I lied - still happens... Any suggestions?
  11. nevermind - I downloaded the newest version and recompiled it and this has resolved the problem.
  12. I'm getting a similar error - here's a screenshot . Here's the DLL Call being used. Func CaptureScreen() DllCall("captdll.dll", "int", "CaptureScreen", "str", _TempFile(@ScriptDir, "", ".jpg"), "int", 70) Alert("Screenshot saved in ScriptDir", "NL") EndFunc I pretty much inherited this stuff. The guy before me loved these scripts and he's gone now. I must admit they're pretty handy, but I'm having a helluva time catching on. I'm assuming from the pretext of this thread it has to do with the dll call.
×
×
  • Create New...