SPONSORS:






User Tag List

Results 1 to 5 of 5

Thread: Start.Run

  1. #1
    Junior Member
    Join Date
    Jul 2000
    Location
    Columbus, OH
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Start.Run

    What window declarations do I need in my .inc file and what statements do I need in my .t file to successfully invoke the dialog usually invoked by pressing the Start Button and selecting Run?

    I haven't figured out how to get the <Ctrl-Esc>r key sequence recognized and I haven't found a way to invoke the dialog through object-oriented code either.

    Thanks!

  2. #2
    Junior Member
    Join Date
    Jul 2000
    Location
    Chicago
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Start.Run

    I am not sure what you are trying to do, but have a look at SYS_Execute (). It might solve some of your problems.

    - Samy

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Location
    Columbus, OH
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Start.Run

    Samy,

    I need something that won't stop the script until I exit the application I am running.

    I think I have it working now using APP_Start(), but I was hoping to find a way that is more standard.

    I can't find a way to get Ctrl-ESC to be recognized by the taskbar, or any other reliable way of getting that Run dialog to come up.

  4. #4
    Junior Member
    Join Date
    Jun 2000
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Start.Run

    Try the following and see. Works for me on Win95 (without Active Desktop)

    [ ] Taskbar.SetActive ()
    [ ] Taskbar.Start.Click()
    [ ] Taskbar.TypeKeys("r")


  5. #5
    Junior Member
    Join Date
    Jul 2000
    Location
    Columbus, OH
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Start.Run

    Yes! I'm on Windows NT 4.0 without Active Desktop, but it works fine. Here's what I ended up with, as an example:

    [-] appstate AcrobatRunning () basedon none
    [ ] Taskbar.SetActive()
    [ ] Taskbar.Start.Click()
    [ ] Taskbar.Typekeys("r")
    [ ] DialogBox("Run").ComboBox("Open:|$12298").SetText ("""C:\Program Files\Adobe\Acrobat 4.0\Reader\AcroRd32.exe""")
    [ ] DialogBox("Run").PushButton("OK|$1").Click ()
    [ ] Print ("Acrobat Started")

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 05:58 PM.

Copyright BetaSoft Inc.