Jump to content
Sign in to follow this  
m4tius

FF Refresh

Recommended Posts

m4tius

Is there any refresh function in FF.au3? Cuz i dont wanna change window names in ControlSend anymore ;p

Share this post


Link to post
Share on other sites
GEOSoft

Send("{F5}")


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
m4tius

^ I want to refresh when FF is minimized...

This doesnt work:

_FFACTION("reload")

Before I wrote this:

While 1
HotKeySet("{Home}","Refresh")
WEnd

Func Refresh()
    ControlSend("YouTube - Bullet For My Valentine- Hit The Floor - Mozilla Firefox","","[CLASS:MozillaWindowClass;INSTANCE:2]", "{F5}")
EndFunc

But it doesnt work too ;/

Share this post


Link to post
Share on other sites
somdcomputerguy

This doesnt work:

_FFACTION("reload")

Are you using FF.au3 (V0.6.0.0b) correctly?

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
m4tius

I guess so

#include <FF.au3>

While 1
    HotKeySet("{Home}","Refresh")
WEnd

Func Refresh()
    _FFACTION("reload")
EndFunc

Share this post


Link to post
Share on other sites
somdcomputerguy

And MozRepl is installed and running? You might need to use _FFConnect or _FFStart before _FFAction.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
m4tius

^ No, its my first time. I just want refresh already opened FF. I tried 1 time with MozRepl and nothing.

Share this post


Link to post
Share on other sites
GEOSoft

you dont want to be putting a hotkey set in a loop

Have you used the FF udf before ?

Definitly not and it should also be unset in the function and then reset.

#include <FF.au3>
HotKeySet("{Home}","Refresh")


Func Refresh()
    HotKeySet("{Home}")
    _FFACTION("reload")
    HotKeySet("{Home}","Refresh")
EndFunc

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
m4tius

#include <FF.au3>
HotKeySet("{Home}","Refresh")

While 1
WEnd

Func Refresh()
    HotKeySet("{Home}")
    _FFACTION("reload")
    HotKeySet("{Home}","Refresh")
EndFunc

Doesnt work ;/. Damn is such a simple thing, but i dont know what is wrong ;/

Share this post


Link to post
Share on other sites
m4tius

__FFSend ==> Socket Error

_FFCmd ==> Error return value

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.