SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Automate Region Checkpoints Regions.AddPicture

    Hello

    The syntax for addpicture is:
    Regions.AddPicture(Picture, Name, Mouse, OutputDirectory)

    The TC compiler will not let me add anything beyond the Picture parameter.
    An Example:

    Regions.AddPicture(w1) works. I get a new image called Region_1 placed in the regions Store.

    If I enter
    Regions.AddPicture(w1, "myPict") I get the error in the gutter. And TC will not run.

    Please see the attached screen shot.

    I require a way to create more meaningful names for my images.

    Any Ideas?
    Thanks
    Dave
    Attached Images Attached Images

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Automate Region Checkpoints Regions.AddPicture

    Hi dcesa,

    The cause of the problem is that you need to use the Call keyword if you need to call a routine with more than one parameter using parentheses in Microsoft VBScript. You need to use the following syntax:

    <font class="small">Code:</font><hr /><pre>
    Call Regions.AddPicture(Picture, Name, Mouse, OutputDirectory)
    </pre><hr />
    Jared - AQA Support

  3. #3
    Junior Member
    Join Date
    Mar 2008
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Automate Region Checkpoints Regions.AddPictur

    Thank You.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.11%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:05 PM.

Copyright BetaSoft Inc.