xzerocool wrote: ↑Sun Feb 03, 2019 9:21 am
Hello,
I'm a newbie user here on iMacros for Chrome and quite honestly I'm impressed.
So I was trying to create a macro for
gamex.ph/epins/game/gamedetail.do?goods ... isp_seq=30
to buy me many ePins as possible, I'm trying to read a data from my phone connected to this website
mightytext.net and copy paste the "LATEST PIN" I received.
How can I do it automatically?
My First .iim for GameX is
Code: Select all
URL GOTO=https://www.gamex.ph/epins/game/gamedetail.do?goods_seq=G00000000209&goods_disp_seq=30
TAG POS=1 TYPE=SELECT ATTR=ID:choice_pin_denomination CONTENT=%100000004319
TAG POS=1 TYPE=A ATTR=TXT:BUY
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:msisdn CONTENT=(MyCellphoneNumber)
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:btnProceed
Then After Receiving The Confirmation Pin (Like an OTP) I would put it to the text field
then next is the retrieval of ePins.
Code: Select all
VERSION BUILD=1005 RECORDER=CR
SET !EXTRACT_TEST_POPUP NO
SET !EXTRACT NULL
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:btnConfirmPin
TAG POS=1 TYPE=A ATTR=ID:btnShowPIN
TAG POS=1 TYPE=UL ATTR=ID:chargingDescUL Extract=Txt
SET !CLIPBOARD {{!EXTRACT}}
FCIM...!

(Read my Sig...)
=> iMacros for CR v10.0.5, 'Free'/PE'...?, CR71/72...?, OS...?
"Correct" Sub-Forum for opening this Thread should have been the 'General' Sub-Forum..., even if your "Case" might have stg specific to CR, but you don't know that yet...
And when uploading Screenshots to your Thread, you can better upload the Pictures directly to the Forum rather than using some external Pix Hosting Server as all those Sites one day go commercial or stop to exist or clean up their Data from time to time and the Threads on the Forum become a bit "useless" with only empty Image Containers...
But OK, then what is the Pb exactly...?
You extract your PIN from this Line if I understand correctly:
Code: Select all
TAG POS=1 TYPE=UL ATTR=ID:chargingDescUL Extract=Txt
SET !CLIPBOARD {{!EXTRACT}}
... and then put into your OS Clipboard... to later paste it somewhere else... OK...
But hum, I "suspect" the Extract will then contain more Data than just the PIN that you want to keep...
=> You then need to use 'EVAL()' + 'split()' (x2) to keep only that PIN...
Then the "SET !CLIPBOARD..." is a way, but "normally" meant if you want to paste that Clipboard Content to some "other" Application or Site, outside of iMacros.
From iMacros, you can still paste that Content using the '{{!CLIPBOARD}}' Var, except that this Functionality (for the Paste) is not supported on CR. (Documented in the Wiki...)
But you can then use any of the '!VAR[1-3]' if you are using the 'Free' Version, instead of '!CLIPBOARD', or any User Defined Var if you are using the 'PE' Version after the "Cleaning" with 'EVAL()' to paste that PIN where you want in your Input Field with some "CONTENT={{!VAR1}}".
>>>
Hum, interesting Site/App this 'mightytext' Site and App for Desktop + Web, for syncing + receiving/sending SMS's, I'm giving it a try...
I already use 'Telegram' and 'Whatsapp' for Desktop, but 'WA' is not very well designed and not very usable for me as it always requires the Smartphone to be connected (through Wifi), 'Telegram' works better for me...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...