请教一下修饰键后面跟一个变量应该怎么写?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 请教一下修饰键后面跟一个变量应该怎么写?

Re: 请教一下修饰键后面跟一个变量应该怎么写?

Post by wzdg » 03 Apr 2016, 11:25

哈哈哈,正常,我也经常反这错误

Re: 请教一下修饰键后面跟一个变量应该怎么写?

Post by kid740246048 » 03 Apr 2016, 01:26

Code: Select all

var := ""
var = 
我搞混了这两种情况,实在是让大家见笑了

Re: 请教一下修饰键后面跟一个变量应该怎么写?

Post by kid740246048 » 03 Apr 2016, 00:01

wzdg wrote::superhappy:
Key := "/"
Send, +%Key%
感谢!我光想着尝试{%Key%}、"%Key%"之类的了,居然没想到在这个,让你见笑了

Re: 请教一下修饰键后面跟一个变量应该怎么写?

Post by wzdg » 02 Apr 2016, 12:34

:superhappy:
Key := "/"
Send, +%Key%

请教一下修饰键后面跟一个变量应该怎么写?

Post by kid740246048 » 02 Apr 2016, 07:47

Code: Select all

Key := /
Send, +%Key%
如上这段代码,想实现输出 ? 的效果,但是并不识别 + 后面的变量
虽然可以通过定义每一个 Key 在 + 修饰下对应的字符,但是看起来很冗长,不知道有没有什么简洁的解决方法
拜谢

Top