Jump to content

MisterBates

Active Members
  • Posts

    107
  • Joined

  • Last visited

Profile Information

  • Location
    Berkshire, England
  • Interests
    Squash, Aikido, SciFi

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MisterBates's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. Trying to download ie_builder, but the link ie_Builder v2 appears to be broken. It takes me to the list of forums. Where can I find ie_builder?
  2. Take a look at _singleton - may help...
  3. Assuming you're wanting to use this example to practice AutoIt (rather than use windows' own scheduler ...), simplest way would be to use inputbox() to get the time, parse it to extract hours/mins, then go into a while/wend loop (with a sleep(1000) inside) checking the hours and mins against @hour and @min on each iteration. Once your time had been reached, the loop would exit and you could run() or runwait() your stock quotes program.
  4. I'm not sure I understand "whether this action can affect or not"? Are you trying to recrate a PHP script in AutoIt? Surely the test would be that the AutoIt script does what the PHP used to do ... or have I missed something?
  5. Unfortunately not. Only thought that occurs is to investigate the WIndows API to see if you can get back a bitmap of the ownerdrawn control that could be fed into a custom "checksum" routine... sorry.
  6. Your code is processing the first folder, and for each subfolder it finds, it adds it to the array of folders to be processed, then processes each of those in turn etc. etc. Seems like one approach would be to prepend the current folder name to any new folders added to the array, as a way to get hold of the current path, then use that path to check/create folders as necessary before moving files to the archive folder. So here: If StringInstr(FileGetAttrib ( $n_tFile ),"D") > 0 then If $T_Incl_SubDir = 1 then $T_DirCount = $T_DirCount + 1 $n_Dirnames[$T_DirCount][0] = $n_tFile $n_Dirnames[$T_DirCount][1] = 0 EndIf Else change $n_Dirnames[$T_DirCount][0] = $n_tFile to be $n_Dirnames[$T_DirCount][0] = $n_Dirnames[$n_DirCount][0] & "\" & $n_tFile. And here: $rc = FileMove ($n_tFile, "c:\archive\salesreports") put code before this that tests to see if StringReplace($n_Dirnames[$n_DirCount][0], "C:\salesreports", "c:\archive\salesreports") exists, and if not creates the appropriate subfolders - maybe in a Func that StringSplits the current folder, tests each level in turn, and when it gets to the subfolder(s) that don't exist, creates them.
  7. AutoIt RegExp matching is not the same syntax as PHP. Could you explain in a few sentences what the PHP matching is trying to do? Or what you are trying to do? ... so that we get some background and can suggest how to do it in AutoIt ...
  8. You can also use SciTE's option compile and on one of the tabs (forget which one) there's an option to browse for/set the default icon.
  9. This thread contains a working example, as well as a pointer to compiler directives available in the latest Beta AutoIt. See Window Watcher in my sig for a full working example that switches between icons to "watch" the mouse from the taskbar...
  10. Apologies - forgot to specify that the app requires Auto3Lib This can be used for any app where you know the window title or process name.
  11. Try Pixelchecksum(). Run your operation and wait until the status bar says ready. Record the pixelchecksum for that. Then in your app, code a while/sleep/wend loop waiting for that checksum. You can limit the portion of the screen that's checked by passing the control coordinates to pixelchecksum and using pixelchecksum mode 3 (coordinates relative to client window). EDIT: Forgot to say thtis method worked for me when coding the Outlook Express UDF (see my .sig) - inside the UDF, I have a _OE_PaneGetChecksum() routine which finds the coordinates of an OE folderlist or messagelist pane and uses Pixelgetchecksum to track changes to those panes.
  12. What exactly are you trying to do? Are you trying to minimize SayTime to the tray (and remove it from the taskbar)? If so, then this post has code to cycle through each taskbar button and hide/show the button. Seems like you could do something similar, but do it just for SayTime. Only question then would be how would you work with the SayTime application? Does it have a taskbar icon with menu?
  13. FAQ question 11. How can I make my script start every time windows starts? IN your installer *before* reboot, add an entry to the registry for a script that runs on startup. If you want the script to continue on from where it was, write/read registry values in your script to save/restore the state, or use a command-line parameter for the run at startup. Once the post-reboot install has finished, delete the registry entries for save/restore state and to run at startup.
  14. Was a permissions problem for the specific user on the SciTE folder.
×
×
  • Create New...