# How to find broken links

**URL:** <https://www.finalbuilder.com/forums/t/how-to-find-broken-links/4330>\
**Category:** Discussion\
**Created:** [September 25, 2008, 11:34am UTC](https://www.finalbuilder.com/forums/t/how-to-find-broken-links/4330 "2008-09-25T11:34:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [September 25, 2008, 11:34am UTC](https://www.finalbuilder.com/forums/t/how-to-find-broken-links/4330/1 "2008-09-25T11:34:04Z")

</div>

Hi,

I like to check automatically, if all used pictures in our help are uploaded in our versioning system. At the moment I do:

- File Iterator [C:\....]

-- Read TextFile [%Iterator%]

--- TextFind [img src="([^"])"] in [FileContent]

Now I like to collect all&nbsp;found files in a list/FileSet and compare it&nbsp;against the content of the folder "/images".

What the best way to to?

Thanks.

&nbsp;

Best Regard,

Christian

---

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [September 26, 2008, 1:40am UTC](https://www.finalbuilder.com/forums/t/how-to-find-broken-links/4330/2 "2008-09-26T01:40:20Z")

</div>

Hi,   
  
 today I tried to use/automize SnapIt 8.0 for capturing pictures. I wanted to use the “Perform Mouse Click” (with automated get control) on the toolbar, but I got always the following error message: “Could not select control: An exception was thrown inside a Windows Hook event: Failed to get toolbar button bounds. The toolbar did not respond to a TB\_GETRECT message.” After that I tried to reach the action via the main menu, but I also got an error message: “Could not select control: An exception was thrown inside a Windows Hook event: Could not get menu item count: Ungültiges Menühandle (Ausnahme von HRESULT: 0x80070579)”. [Translation: Invalid menu handle (Exception of HRESULT: 0x80070579)]   
  
 Regards,   
 Christian

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [September 29, 2008, 1:57am UTC](https://www.finalbuilder.com/forums/t/how-to-find-broken-links/4330/3 "2008-09-29T01:57:36Z")

</div>

Hi Christian   
  
 You will need to add some script. Add a project variable, call it ImagesList or something like that.   
  
 Select the Text Find/Replace action, and then switch to the Script editor tab below, and select the OnFindText tab.   
  
 Add the following script (vbscript) :   
  
 ImagesList = ImagesList & vbCRLF   
  
 Then you can use the List Iterator action with %ImagesList% as the list, and then check for each file in the images folder.   
  
 HTH
