Jump to content
Sign in to follow this  
Milanezi

Show window

Recommended Posts

Did you really test the above script? Line two gives me a syntax error because of the dot.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

But when i tried moving my mouse to the position i wanted to click and click, nothing happend.

The window activates (so i could type text in it) but not click in it.

WinSetState gives 1 back (succes)

So it activates so you "could type text in it" but it stays minimized?

Start making sense, and you will start getting the help you need.

Share this post


Link to post
Share on other sites

Maybe you grab the wrong FF window?

Make sure ALL windows are minimized before you run the script. Does a FF window pop up?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

It is what i said it did.

I typed text in it with ControlSend while it was minimized.

Why didn't you tell that in first place? We assumed you typed in the text yourself so the window was maximized.

Always give as much information as you can!


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

Sorry, im a Java programmer so all the syntax and difference between them are still new to me :)

It seems such a basic task to script.

Several FF-windows which i catch in the WinList.

Switch between them and click on a certain position.

Frustrating :)

Edited by Milanezi

Share this post


Link to post
Share on other sites

We can't test - so give it a try.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

Did you upgrade your addon as well?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

ControlClick(Hwnd($windows[1][1]), "[CLASS:MozillaWindowClass]","left",1,1550,78)

The text (parameter 2) is missing in your statement: Should be:

ControlClick(Hwnd($windows[1][1]), "", "[CLASS:MozillaWindowClass]", "left",1,1550,78)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

But the controlclick returns a 0 so it seems to know it didnt work.

Any reason for that?

Local $windows = WinList("[CLASS:MozillaWindowClass]")

WinActivate(Hwnd($windows[1][1]))
sleep(1000)
ControlClick(Hwnd($windows[1][1]), "[CLASS:MozillaWindowClass]","left",1,1550,78)
MsgBox(0,"result"," title =" & ControlClick(Hwnd($windows[1][1]), "[CLASS:MozillaWindowClass]","left",1,1550,78))

I tried with the extra "" for the text but that didnt help. I though Hwnd replaced Title + text.

Edited by Milanezi

Share this post


Link to post
Share on other sites

It doesnt click in the FF window.

ControlCLick give 0 back and i dont know why.

tell me what do u want the script do and i will help u

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...