在崇高文本2中,您可以通过按住ctrl + alt +箭头键(向上/向下)来多选(光标)行.在记事本++中,您可以通过按住ctrl并单击要编辑的其他行(区域)来完成相同的操作.我想我可以使用autohotkey脚本来完成相同的功能.所以我试过了
#IfWinActive, ahk_class Notepad++
^!Down::^Click
Run Code Online (Sandbox Code Playgroud)
但每次我尝试加载我得到的脚本
第2
行线文本
出错:^单击错误:此行不包含已识别的操作
该计划将退出
然后我试了
#IfWinActive, ahk_class Notepad++
^!Down::send ^Click
Run Code Online (Sandbox Code Playgroud)
但是在记事本++中显示为ETXClick
我还需要使这个脚本仅适用于Notepad ++
编辑:似乎autohotkey无法在Notepad ++ IT中模仿此行为
我在page.xml中看到JavaScript文件在头部设置如下:
<default>
<block type="page/html" name="root" output="toHtml" template="page/2columns-right.phtml">
<block type="page/html_head" name="head" as="head">
<action method="addJs"><script>prototype/prototype.js</script></action>
<action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>
<action method="addJs"><script>prototype/validation.js</script></action>
<action method="addJs"><script>scriptaculous/builder.js</script></action>
<action method="addJs"><script>scriptaculous/effects.js</script></action>
<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
<action method="addJs"><script>scriptaculous/controls.js</script></action>
<action method="addJs"><script>scriptaculous/slider.js</script></action>
<action method="addJs"><script>varien/js.js</script></action>
<action method="addJs"><script>varien/form.js</script></action>
<action method="addJs"><script>varien/menu.js</script></action>
<action method="addJs" ifconfig="dev/translate_inline/active"><script>mage/translate.js</script></action>
<action method="addJs"><script>mage/cookies.js</script></action>
<action method="addCss"><stylesheet>css/screen.css</stylesheet></action>
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
<action method="addItem"><type>skin_css</type><name>css/styles-ie8.css</name><params/><if>IE 8</if></action>
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
<action method="addItem"><type>js</type><name>varien/iehover-fix.js</name><params/><if>lt IE 7</if></action>
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
<block type="page/html" name="store_language_js" as="store_language_js" template="page/html/head-translator.phtml"/>
</default>
Run Code Online (Sandbox Code Playgroud)
但是,如果我想把它们移到底部,我会做以下几点吗?
<reference name="head">
<action method="unsetData">
<name>items</name>
</action><!– There are now no CSS/JavaScript links in the head …Run Code Online (Sandbox Code Playgroud) 我有ini文件,但在一个ini文件中有注释开头
; Enable the PHP scripting language engine under Apache.
engine = On
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = Off
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
Run Code Online (Sandbox Code Playgroud)
和另一个
# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB
# The maximum amount of concurrent sessions the MySQL server will
# allow. One of these connections will be reserved for a user with
# …Run Code Online (Sandbox Code Playgroud)