Chapter 3: Condition Reference
93
im.file.name=
Tests the file name (the last component of the path), including the extension, of a file associated with
an instant messaging transaction.
Syntax
im.file.name[.case_sensitive]=string
im.file.name.prefix[.case_sensitive]=prefix_string
im.file.name.substring[.case_sensitive]=substring
im.file.name.regex[.case_sensitive]=“expr
where:
string—An exact match of the complete file name with extension.
prefix . . . prefix_stringSpecifies a prefix match.
substring . . . substringSpecifies a substring match of the file name.
regex . . . expr”—Takes a regular expression.
Notes
By default the test is case-insensitive. Specifying.case_sensitive makes the test case-sensitive.
Layer and Transaction Notes
•Use in <Proxy> and <Exception> layers.
Applies to instant messaging transactions.
See Also
•Actions:
append( ), im.alert( ), set( )
Conditions: im.buddy_id=, im.chat_room.conference=, im.chat_room.id=,
im.chat_room.invite_only=, im.chat_room.type=, im.chat_room.member=,
im.chat_room.voice_enabled=, im.file.extension=, im.file.path=, im.file.size=,
im.message.route=, im.message.size=, im.message.text=, im.message.type=, im.method=,
im.user_id=
•Properties: im.strip_attachments( )