Search found 23 matches

by rstancuna
Sun Oct 20, 2019 6:28 pm
Forum: iMacros for Firefox
Topic: Finding specific text on page using iMacros:
Replies: 14
Views: 11987

Re: Is this beyond the Scope of Imacros.

Basically, the idea is to avoid using javascript and only use macros to automate the task. Reason? It's very easy with Javascript but a little tricky with pure iMacros codes. I would like to know as well, is it due to multiprocess or is there a different matter? Since the version you are using does...
by rstancuna
Fri Oct 18, 2019 1:05 am
Forum: iMacros for Firefox
Topic: Find full path with subfolder of macros
Replies: 8
Views: 7039

Re: Find full path with subfolder of macros

I have several js macros that have a lot of functions and actions based on current url and clipboard information, all being tied to hotkeys to be executed fast and some even run from other js macros. Your solution would work if you use 1 macro and just need to check at the start of it but if you wou...
by rstancuna
Tue Oct 08, 2019 1:36 pm
Forum: iMacros for Firefox
Topic: PROMPT formatting
Replies: 0
Views: 9258

PROMPT formatting

I'm trying to find a way to format the output of PROMPT so that i can create something similar to a table since i have strings of different lengths and want them to be aligned. JS alert() does support tab spaces (\t) but if output is too long it will show with scroll bars so i prefer iMacros PROMPT ...
by rstancuna
Wed Sep 25, 2019 12:04 am
Forum: iMacros for Firefox
Topic: Restarting iMacro automatically when it freezes?
Replies: 9
Views: 6948

Re: Restarting iMacro automatically when it freezes?

The solution I want is something that will monitor each browser, and if a browser hasn't opened/closed any tabs or reloaded any pages in over 10 minutes, then click stop, and then click play. I'd love a Firefox extension to do it, but I would pretty much accept any solution as long as it works. May...
by rstancuna
Tue Sep 24, 2019 11:40 pm
Forum: iMacros for Firefox
Topic: Run in automatically a macro iim with loop
Replies: 8
Views: 7164

Re: Run in automatically a macro iim with loop

thecoder2012 wrote:
Tue Sep 24, 2019 11:29 pm
Protocol handler with URL GOTO=imacros://run/?m=yourfile.iim
Endless loop! :lol:
:lol: Never tried to run it like that. Any way to set how many times it should run ?
by rstancuna
Tue Sep 24, 2019 10:22 pm
Forum: iMacros for Firefox
Topic: Run in automatically a macro iim with loop
Replies: 8
Views: 7164

Re: Run in automatically a macro iim with loop

Most likely not possible the way you want through pure iim. Yep it is, 2 ways, +3 other ways a bit "cumbersome" and that require a bit of "Preparation" and a bit of JS..., and +4 again other ways that are even more cumbersome... :wink: There doesn't seem to be any command for ma...
by rstancuna
Tue Sep 24, 2019 9:07 pm
Forum: iMacros for Firefox
Topic: Run in automatically a macro iim with loop
Replies: 8
Views: 7164

Re: Run in automatically a macro iim with loop

Most likely not possible the way you want through pure iim. You could use EVAL but it's not pure iim since it would use javascript, check this topic . To add to your javascript code, just create an actual loop instead of copy pasting the iimPlay function: times_to_run=3; for (var i=0; i < times_to_r...
by rstancuna
Tue Sep 24, 2019 8:53 pm
Forum: iMacros for Firefox
Topic: Restarting iMacro automatically when it freezes?
Replies: 9
Views: 6948

Re: Restarting iMacro automatically when it freezes?

Both AutoIT and AHK support clicking on XY coordinates so they can click stop and play. Could set them to either check window title (in case your macro will visit different page/websites) then focus the window and click stop then play again. Another option is to set a main script as homepage url in ...
by rstancuna
Sun Sep 15, 2019 10:35 pm
Forum: iMacros for Firefox
Topic: Force Firefox window to Focus on screen when...?
Replies: 17
Views: 15702

Re: Force Firefox window to Focus on screen when...?

the 'EVENT' Mode can only trigger Shortcuts that are (also) defined at the Browser Level, while 'Alt^Tab' is apparently a pure OS (Win) Shortcut Command... :| Depends on the keys and SELECTOR as well, for example Alt+W isn't defined in browser but it does work for me. Some pages for me would need s...
by rstancuna
Tue Sep 10, 2019 1:40 pm
Forum: iMacros for Firefox
Topic: Find full path with subfolder of macros
Replies: 8
Views: 7039

Re: Find full path with subfolder of macros

Update. The solution was actually quite simple. Each user has their own bookmark pointing to login.js so just changed the iMacros folder paths, changed Datasource to C:\Users\CURRENT_USER\Documents\iMacros\Datasources as it is initially. Then just: iimPlayCode("SET !EXTRACT {{!FOLDER_DATASOURCE...
by rstancuna
Tue Sep 10, 2019 1:40 am
Forum: iMacros for Firefox
Topic: Find full path with subfolder of macros
Replies: 8
Views: 7039

Re: Find full path with subfolder of macros

OK, I thought of several "Options" but none is the "real Winner"... :oops: I reckon you have 2 different Bookmarks, I guess the easiest would be to just have one Var hard-coded at the beginning of each Script with the Name of the User, or have an Input 'PROMPT' where you can inp...
by rstancuna
Mon Sep 09, 2019 11:47 pm
Forum: iMacros for Firefox
Topic: Find full path with subfolder of macros
Replies: 8
Views: 7039

Re: Find full path with subfolder of macros

OS is Windows, didn't write OS since it doesn't really matter in this case. To better explain: C:\SomethingSomething\Macros\user1\login.js C:\SomethingSomething\Macros\user2\login.js I run macro via bookmark with: imacros://run/?m=user2%5Clogin.js login.js macros are pretty much the same, just diffe...
by rstancuna
Mon Sep 09, 2019 10:33 pm
Forum: iMacros for Firefox
Topic: Find full path with subfolder of macros
Replies: 8
Views: 7039

Find full path with subfolder of macros

Waterfox 56.2, iMacros V8.9.7.

I have several subfolders in the Macros folder, each with js macros.
Do we have any way of finding the full path with subfolder for current running file?
by rstancuna
Mon Sep 09, 2019 12:30 pm
Forum: iMacros for Firefox
Topic: Force Firefox window to Focus on screen when...?
Replies: 17
Views: 15702

Re: Force Firefox window to Focus on screen when...?

With AHK, you can do something like this: #SingleInstance, Force SetTitleMatchMode, 2 DetectHiddenWindows, On Loop{ ;if GetKeyState("F4","P") ;break out of loop if F4 is pressed ; Break WinActivate, Part_Of_The_Name sleep 500 } ^+t:: ;Ctrl+Shift+T ExitApp return You can also set ...
by rstancuna
Sat Aug 24, 2019 10:49 am
Forum: iMacros for Firefox
Topic: Force Firefox window to Focus on screen when...?
Replies: 17
Views: 15702

Re: Force Firefox window to Focus on screen when...?

Hum, I'm not sure about "huge security risk", well, I agree actually, and I guess the Behaviour you describe about FF with Profiles 1 and 7 is indeed maybe "correct" about "plain" FF (I only have 1 FF Profile), but I use Pale Moon (with 3 Profiles) as my "Prod&quo...