Jump to content

Shark

Members
  • Posts

    5
  • Joined

  • Last visited

Shark's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Code $path = FileSelectFolder($message, "C:\Program Files (x86)\test") $FileList = _FileListToArray($path) $var = UBound($FileList) msgbox(1, "test", $var) When I right click the file, it says there are 1245 folders. Though, $var reports 989, and when I print the array it is skipping a bunch of files. Am I overlooking something here?
  2. I'm trying to make a script that mass deletes images in various albums, and I'm wondering if there is a way to alter the code of _ArrayDisplay to let you choose which files you want to continue on. Right now, the only option with _ArrayDisplay is to select which files you want, and then copy them. My logic with coding this is to Input a directory$FileList = _FileListToArray($directory)Check for error in directoryDisplay the file listingSelect which files/all filesstringRight($File, 4)Delete any format of imagesDoes anyone know a better way to accomplish this task? Thanks.
  3. Sorry about that, deleted post.
  4. I believe there was an Autoit function, but I can not recall, as it has been months since I've used it... Is there a shortcut to stop/pause a script, in case of a runaway script? I've tried setting a hotkey to exit, but it doesn't seem to work... or maybe I'm just doing it wrong?
×
×
  • Create New...