AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compare Clipboard contents

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
rockit0



Joined: 06 Oct 2006
Posts: 22

PostPosted: Wed Jul 09, 2008 12:29 am    Post subject: Compare Clipboard contents Reply with quote

this my logical is correct?

if (clipboard = "") or (clipboard != "" AND clipboard = temp)
{
...
}

[Title edited. Please write descriptive titles for your topics. ~jaco0646]
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 1494

PostPosted: Wed Jul 09, 2008 12:33 am    Post subject: Re: simple question Reply with quote

Code:
if (clipboard = "") or ( clipboard = temp )
; if either clipboard has no text in it
; OR if the clipboard's contents are identical to the contents of the variable 'temp'
{
; ...
}

_________________
My Home Thread
More Common Answers: [1]. It's in the FAQ [2]. Ternary ( a ? b : c ) guide [3]. Post code inside [code][/code] tags !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group