Hi David,

    I think you should get use to reading the documentation in the help menu on 
the app development link under objects. Most of them are within 2 locations, 
application or script. Also under controls. The trick is to connect them all.
     Your questions are answered there with examples. But some examples are 
lacking in explanation and good examples, but so is Microsoft MSDN library 
stuff.

    In some respects you have to go to both, note the examples such as wscript 
in one language is script inside of the WE system. Where no mention of the word 
is needed, which at times can be confusing when you do not need the beginning 
of them.

    I think trying both, looking up Microsoft then the app development and you 
may get a better idea of what is going on.

    Just a suggestion,
        Bruce

  Sent: Tuesday, April 10, 2012 4:39 PM
  Subject: Queued subs and parameters


  Can I in any way, pass a parameter to a Qeued sub?

  I.e, I have a sub named ReadFile. I know I can do things like

  Queue "ReadFile"

  Sub ReadFile()
  ' do whatever
  End Sub 'ReadFile.

  But can I do anything like:

  FN = "C:\test.txt"
  Queue "ReadFile( FN )"

  Sub ReadFile( Filename )
  ' do whatever
  End Sub 'ReadFile.

  When I tried the above approach, I had an error thrown at me. So apparently, 
I cannot do it exactly that way. My question is, if there is another easy work 
around, Except from setting a Global variable, and have the ReadFile sub handle 
that one.



Reply via email to