Post is sent only if the mouse cursor is on the screen

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Crilly
Posts: 1
Joined: Mon Jul 17, 2017 2:20 pm

Post is sent only if the mouse cursor is on the screen

Post by Crilly » Mon Jul 17, 2017 2:28 pm

Hello! I'm using this script for posting to Twitter.

Code: Select all

VERSION BUILD=8601111 RECORDER=FX
TAB T=1
URL GOTO=https://twitter.com/account_name
SET !DATASOURCE C:\twitter.csv
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
wait seconds=5
SET !DATASOURCE_LINE {{!LOOP}}
EVENT TYPE=CLICK SELECTOR="#global-new-tweet-button" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#tweet-box-global" CHARS="{{!COL1}}"
TAG POS=1 TYPE=BUTTON FORM=ACTION://upload.twitter.com/i/tweet/create_with_media.iframe ATTR=TXT:Tweet<SP>Reply
WAIT SECONDS=30
The text of messages is filled for publication and sent, but only if the computer mouse is in the active area. I can not hide the browser window, otherwise posting will not happen.
I think that the reason lies in this line, since it is she who performs posting:

Code: Select all

TAG POS=1 TYPE=BUTTON FORM=ACTION://upload.twitter.com/i/tweet/create_with_media.iframe ATTR=TXT:Tweet<SP>Reply
Please, tell me how to make it so that I can hide the browser window while the script is running. Thx!
Post Reply