Date: Mon, 15 Sep 2008 14:29:51 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Scene activation
Is there a limit to the amount of scenes you can have without purchasing the product?_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
I really see no reason at all why this specific Scene wont activate. Every other scene is fine but for some reason this won will never activate. Iv double checked everything
Also im looking for some kind of wait while page is busy. Currently i
have this code that works
Do while xlWorkSheet.cells(x,7).value <> ""
... Enter Data ...
System.Threading.Thread.Sleep(1000)
Do while scene.IsActive = False
if explorermanager("scene_4").isactive then
scene=explorermanager("Scene_4")
scene.HtmlAnchor("HtmlAnchor_0").Click()
Else
scene = explorermanager("Scene_5")
scene.HtmlAnchor("HtmlAnchor_0").Click()
End if
Loop
Loop
That works but if the page takes longer then the sleep time it breaks
the code. I would love to have
sub WaitForpage
do while webpage.isbusy = true
wait 0.2
loop
End sub
If i could call a WaitForPage command like that it would be ideal
> Also im looking for some kind of wait while page is busy. Currently i
> have this code that works
> Do while xlWorkSheet.cells(x,7).value <> ""
> ... Enter Data ...
> System.Threading.Thread.Sleep(1000)
> Do while scene.IsActive = False
> if explorermanager("scene_4").isactive then
> scene=explorermanager("Scene_4")
> scene.HtmlAnchor("HtmlAnchor_0").Click()
> Else
> scene = explorermanager("Scene_5")
> scene.HtmlAnchor("HtmlAnchor_0").Click()
> End if
> Loop
> Loop
> That works but if the page takes longer then the sleep time it breaks
> the code. I would love to have
> sub WaitForpage
> do while webpage.isbusy = true
> wait 0.2
> loop
> End sub
> If i could call a WaitForPage command like that it would be ideal
Dim scenes(1) As Stringscene(0) = "Scene_4"scene(1) = "Scene_5"dim activeScenes as explorerManager.WaitForActive(scenes,30000)Date: Mon, 15 Sep 2008 16:12:48 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Scene activation
Im assuming in vb.net it would look something likedim activeScenes as explorerManager.WaitForActive("Scene_4","Scene_5",30000)Except it seems that you cant wait for two scenes_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
Dim scenes() As String = {"Scene_4", "Scene_5"}
Dim scenesArr() as Scene = explorerManager.WaitForActive(scenes, 30000)
Date: Mon, 15 Sep 2008 16:32:33 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Scene activation
It says array bounds cannot appear in type specifiers.________________________________________________________________ _
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Date: Wed, 8 Oct 2008 09:59:55 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Scene activation
I keep getting a NullReferenceException was unhandled. When i useIf activescenes(0).name = "Scene_3"_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Do you use ExplorerManager.WaitForActive function? SWEA only activates scenes which match the page.
Date: Wed, 8 Oct 2008 11:16:04 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Scene activation
So if i put every scene in the project in the array it will find something?_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Have you tried to use explorerManager.WaitForScenes?
Date: Wed, 8 Oct 2008 11:44:05 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Scene activation
It only works if you tell it what scene is coming by using scene = explorermanager("Scene_3")_________________________________________________ ________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog...