Firefox 61.0.1
Ubuntu 16.0.4
Hi,
I used to use 'EVENT' to load the homepage
Code: Select all
EVENT TYPE=KEYPRESS KEY=36 MODIFIERS=alt
Code: Select all
URL GOTO=about:home
Code: Select all
EVENT TYPE=KEYPRESS KEY=36 MODIFIERS=alt
Code: Select all
URL GOTO=about:home
'KEY=36' is the 'Home' Key I reckon...(?)groundfalling wrote:Hi,Code: Select all
iMacros 10.0.2.1450 Free Firefox 61.0.1 Ubuntu 16.0.4
I used to use 'EVENT' to load the homepagebut EVENT is no longer supported in iMacros 10 and neither isCode: Select all
EVENT TYPE=KEYPRESS KEY=36 MODIFIERS=alt
working. Does anyone know any other way to load the homepage through iMacros 10? Thank youCode: Select all
URL GOTO=about:home
Code: Select all
EVENT TYPE=KEYPRESS KEY=36 MODIFIERS=alt
Code: Select all
URL GOTO=javascript:=var<SP>evt=document.createEvent("KeyboardEvent");evt.initKeyEvent("keypress",true,true,window,0,0,0,0,13,13);body.dispatchEvent(evt);
Hum, Key=36 is the 'Home' Key I reckon, for 'Alt^Home' to open the Browser Homepage...groundfalling wrote:@chivracq
Could you please kindly suggest how can i press "Alt" plus Key'36' in imacros 10using this:Code: Select all
EVENT TYPE=KEYPRESS KEY=36 MODIFIERS=alt
Code: Select all
URL GOTO=javascript:=var<SP>evt=document.createEvent("KeyboardEvent");evt.initKeyEvent("keypress",true,true,window,0,0,0,0,13,13);body.dispatchEvent(evt);
Code: Select all
URL GOTO=javascript:=document.dispatchEvent(new<SP>KeyboardEvent("keydown",{"key":36,altKey:true}));
Code: Select all
macroCode += 'URL GOTO=javascript:document.dispatchEvent(new<SP>KeyboardEvent("keydown",{"key":36,altKey:true}));\n';