Good evening, I wanna know if there's a way to transform a data memorized in a VAR with mm:ss format to ss.
I need it for the command WAIT SECONDS cause it doesn't work with the format mm:ss
This is the code
SET !EXTRACT_TEST_POPUP no
TAG POS=1 TYPE=SPAN ATTR=ID:duration_box&&TXT:* EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
SET !EXTRACT NULL
and the !VAR value is for example 13:36
I need the value transformed from 13:36 to 816 (13*60 + 36)
Thanks
How transform a var data from mm:ss to ss
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
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
Re: How transform a var data from mm:ss to ss
Hum..., "Quality" in this Thread is a bit better than in your previous Thread, but you first need to follow up and handle and finish your previous Thread(s) correctly for me to help you...checconen wrote:Good evening, I wanna know if there's a way to transform a data memorized in a VAR with mm:ss format to ss.
I need it for the command WAIT SECONDS cause it doesn't work with the format mm:ss
This is the codeand the !VAR value is for example 13:36Code: Select all
SET !EXTRACT_TEST_POPUP no TAG POS=1 TYPE=SPAN ATTR=ID:duration_box&&TXT:* EXTRACT=TXT SET !VAR1 {{!EXTRACT}} SET !EXTRACT NULL
I need the value transformed from 13:36 to 816 (13*60 + 36)
Thanks
=> CIM...! (Read my Sig..., and this applies for both Threads of course...)
And please use "Standard" English on the Forum, instead of "Wanna-Wanna-Gonna-Gonna-Chicago-Street-Kids-Gangsta" fake Language..., ah-ah...!
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...