Auto refresh data tableau public

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Maxlup
Posts: 1
Joined: 03 Apr 2017, 12:50

Auto refresh data tableau public

03 Apr 2017, 15:09

Hello everyone

I'm starting to read the tutorials and tried a little
But I have some doubts and I don’t know how to continue
I'm a user of Tableau Public and I want to automate the posting of updates
For this I need to open the updated file and publish on the portal
Open updated file, no problem

RUN C:\users\administrator\xxxxx\xxxxx.twbx

Here I do not know how to make the script wait for to open the file
RunWait maybe
And then probe two methods

SEND ^S

And

sleepy:=75

if WinActive("ahk_class Qt5QWindowIcon")
Send, {Alt}
sleep, sleepy
send, s ;select Server option
sleep, sleepy
send, t ;Select Tableau Public option
sleep, sleepy
send, s ;select Save to Tableau Public… option
sleep, sleepy
send {Enter} ;click the Tableau Public… button

No option worked and I could not define the active window

Thanks in advance for any help you can give me

Max
Attachments
Ctrl Shift S.png
Ctrl Shift S.png (16.94 KiB) Viewed 1343 times
Alt.png
Alt.png (47.48 KiB) Viewed 1343 times
User avatar
SnowFlake
Posts: 368
Joined: 28 Apr 2015, 05:41
Contact:

Re: Auto refresh data tableau public

11 Apr 2017, 15:50

make sleep, sleepy into sleep, 2000 and also make the s into {s}
:yawn:
jjscarlett
Posts: 1
Joined: 27 Sep 2017, 11:31

Re: Auto refresh data tableau public

27 Sep 2017, 11:35

Did you ever get this to work? Can you share your code?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: moltenchees and 271 guests