| Author |  | 
      
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          simple ones, I think 8-}
           | Posted: December 08 2007 at 18:30 | IP Logged |   |  
           | 
 |  
 1) when I press a top menu button to bring up a window (like PH Status), and it's already open and minimized, the tool should restore it.  One problem with minimized windows is they can accumulate and you can't tell which is which.
 
 2) I don't understand why right-clicking in the left pane of the Explorer minimizes the width of the pane.  Useful for what?  What I'd actually like is to be able to right click, on, say, a macroname in that pane and get the usual set of selections (Delete, Play, etc).  But that's a nice-to-have, a right-click that does nothing would be better than the current function, I think.
 
 3) when PH tries to execute command and it evaluates to "!" could it post an error to the log?
 
 4)When a macro is executed, would it be easy to write the parameters to the log?
 
 
 Take these as "can't hurt to ask".  8-}
 thanks!!!
 
 /j
 
 Edited by jeffw_00 - December 10 2007 at 21:36
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | dhoward Admin Group
 
  
  
 Joined: June 29 2001
 Location: United States
 Online Status: Offline
 Posts: 4447
 | 
          Jeff,
           | Posted: December 09 2007 at 11:57 | IP Logged |   |  
           | 
 |  
 I'll look into these.
 
 Dave.
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          thanks! 8-}
           | Posted: December 09 2007 at 11:59 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          [merged with top post]
           | Posted: December 09 2007 at 13:16 | IP Logged |   |  
           | 
 |  
 Edited by jeffw_00 - December 10 2007 at 11:07
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          updated list at top of thread.
           | Posted: December 10 2007 at 21:36 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          1)If it doesn’t eat a resource what difference does it make? I would like to see Restore.
           | Posted: December 10 2007 at 23:16 | IP Logged |   |  
           | 
 |  2)I agree.
 3)Yes and no. I would like to see the error in the window not necessarily in the log.
 4)Would that clog the log and make it too busy?
 
 Just my 2 cents worth….
 
 
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | bhlonewolf Senior Member
 
  
 
 Joined: March 29 2007
 Online Status: Offline
 Posts: 198
 | 
          2) Agreed.  I'm always getting burned by that.
           | Posted: December 10 2007 at 23:55 | IP Logged |   |  
           | 
 |  3) Yes and no, as well -- depends on the context.
 4) You can simulate that, I think, with User Messages ...
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          1) don't understand - are you agreeing w/me?
           | Posted: December 10 2007 at 23:56 | IP Logged |   |  
           | 
 |  3) my point was - you code a macro.  it's called by a timed event or a trigger.  when that happens, a line of code in the macro fails ("!"), possibly because of a bad passed parameter.  it would be nice, when reviewing the log later, to at least know -that- it failed (though that can be obvious from what follows, or doesn't), even better would be to know -what- failed.
 
 4) The log already shows the parameter instantiation for Timed Events and Triggers.  But if these call a couple of levels of macros, you can't seem the parameters passed down.  My suggestion was a simple extension of what's already there.
 
 Hmmm "user messages" - I'll have to look into that.  If I can generate my own messages to the log, then, "never mind 8-}"  (but not tonight 8-})
 
 /j
 
 Edited by jeffw_00 - December 10 2007 at 23:57
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          Clarification: 3) I test my formulas in the Formula Builder before I execute the macro. The failure I usually see is a condition or flow problem with my logic not  ”!”.
           | Posted: December 11 2007 at 14:25 | IP Logged |   |  
           | 
 |  
 4) Yes… I also use the User Message to display variables passed on for verification.
 
 And finally 1)  I was assuming if it was minimized it was restored.. If it wasn’t it was opening a new window not an instance.
 
 
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          3) the problem I see is when the formula uses a [LOCAL] - either I can't test it with formula builder, or the parameter passed isn't what I expected.
           | Posted: December 11 2007 at 14:27 | IP Logged |   |  
           | 
 |  
 4) - yes, I looked at user messages - this may well do what I need - have to play with it (if I can instantiate a variable in the user message I'm home free)
 
 1) we agree
 /j
 
 Edited by jeffw_00 - December 11 2007 at 14:28
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          This is the method I use from Dave's earlier post.
           | Posted: December 11 2007 at 14:51 | IP Logged |   |  
           | 
 |  
 ph_usermessage(ph_getvar_s(1,7) + "|" + ph_getvar_s(1,8) + "|" + ph_getvar_s(1,9) + "|" + ph_getvar_s(1,10))
 
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  |