When I look at the $TheScript in the last show it looks good or at least the way I think it should look. But the Perform AppleScript gives the following error - Expected expression but found "=" pressing OK then next message - Unknown Error -2741
When I run the same script directly using AppleScript on the Mac it works fine. So my guess is that the Perform AppleScript [ $TheScript ] is wrong.
Any Help would be appreciated.
This is what $TheScript looks like at the last show dialog.