user:navody:efektivne
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
user:navody:efektivne [2024/07/06 15:41] – mikrom | user:navody:efektivne [2024/07/14 10:45] (current) – [OneDrive] mikrom | ||
---|---|---|---|
Line 98: | Line 98: | ||
; Set the tray icon to the GeoGet icon | ; Set the tray icon to the GeoGet icon | ||
TraySetIcon(" | TraySetIcon(" | ||
+ | |||
+ | ; Copy this function into your script to use it. | ||
+ | HideTrayTip() { | ||
+ | TrayTip | ||
+ | if SubStr(A_OSVersion, | ||
+ | A_IconHidden := true | ||
+ | Sleep 200 ; It may be necessary to adjust this sleep. | ||
+ | A_IconHidden := false | ||
+ | } | ||
+ | } | ||
; Stop OneDrive | ; Stop OneDrive | ||
RunWait('" | RunWait('" | ||
- | MsgBox(" | + | |
+ | TrayTip | ||
+ | Sleep 3000 ; Let it display for 3 seconds. | ||
+ | HideTrayTip | ||
; Run GeoGet and wait until it is closed | ; Run GeoGet and wait until it is closed | ||
Line 108: | Line 121: | ||
; Start OneDrive | ; Start OneDrive | ||
Run('" | Run('" | ||
- | MsgBox(" | + | |
+ | TrayTip | ||
+ | Sleep 3000 ; Let it display for 3 seconds. | ||
+ | HideTrayTip | ||
ExitApp() | ExitApp() |
user/navody/efektivne.txt · Last modified: 2024/07/14 10:45 by mikrom