Jump to content
Existing user? Sign In
Sign In
Remember me
Not recommended on shared computers
Sign In
Forgot your password?
Sign Up
More
More
Browse
More
Forums
Downloads
Events
Forum Rules
Wiki
AutoIt Resources
Release
Installer
Help file
Editor
Beta
Installer
Help file
Editor
Git
FAQ
Everywhere
Everywhere
Topics
Files
Pages
Articles
Events
Members
Home
All Activity
Home
corz
corz
Active Members
View Profile
See their activity
Posts
254
Joined
September 21, 2007
Last visited
March 14, 2021
Community Answers
corz's
post
in
Help with _IEGetObjById
was marked as the answer
July 19, 2014
I *think* you are trying to do something like this..
$oLink = _IEGetObjById($oIE, "cwos") if $oLink.innertext > 0 then MsgBox(16,"Error","Subtotal is not $0.00, halting!") ;o) Cor
corz's
post
in
Users are having problems with my update feature
was marked as the answer
July 5, 2014
That's slightly trickier..
func ReLaunchUpdatedApp() $cmd = 'ping 192.0.0.0 -n 1 -w 2000 > nul' & @CRLF $cmd &= 'cd ' & @ScriptDir & @CRLF $cmd &= 'del my-app.exe' & @CRLF $cmd &= 'ren my-app-new.exe my-app.exe' & @CRLF $cmd &= 'start /d "' & @ScriptDir & '" my-app.exe' & @CRLF FileWrite(@TempDir & "\relaunch.cmd", $cmd) Run(@TempDir & "\relaunch.cmd", @ScriptDir, @SW_HIDE) exit ; don't forget to clean up the temp file at the start of your script! endfunc btw, the ping command is simply a two second pause, in case your app takes a moment to shut down.
;o) Cor
[edit]spelling![/edit]
All Activity
Home
corz
×
Existing user? Sign In
Sign Up
Browse
Back
Forums
Downloads
Events
Forum Rules
Wiki
AutoIt Resources
Back
Release
Back
Installer
Help file
Editor
Beta
Back
Installer
Help file
Editor
Git
FAQ
×
Create New...