Platforms to show: All Mac Windows Linux Cross-Platform
Back to CarbonEventsScrapMBS class.
CarbonEventsScrapMBS.AddData(FlavorType as string,data as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
CarbonEventsScrapMBS.AddText(Text as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
CarbonEventsScrapMBS.AddUnicodeText(Text as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Your string must be in 16 bit unicode. Else you may run into crashes.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
CarbonEventsScrapMBS.DataAvailable(FlavorType as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This function is much faster then if you use datasize.
Returns false on any error.
CarbonEventsScrapMBS.DataSize(FlavorType as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Some data provider generate the data for the scrap only if you read it, so this function may be slower than just DataAvailable.
Returns 0 on any error.
CarbonEventsScrapMBS.FlavorCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Calling this function recreates the internal flavor list.
CarbonEventsScrapMBS.FlavorFlags(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Index goes from 0 to count-1.
Returns 0 on any error.
Flags are a combination of type values:
1 - private data (Sender only)
2 - translated data
CarbonEventsScrapMBS.FlavorType(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Index goes from 0 to count-1.
Returns "" on any error.
CarbonEventsScrapMBS.GetData(FlavorType as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Some data provider generate the data for the scrap only if you read it, so this function may be slower than just DataAvailable.
Returns "" on any error.
CarbonEventsScrapMBS.GetFile(byref file as folderitem) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true on success and false on failure.
On newer Mac OS X versions with 12.4 plugin, we fixed this function. But there we can't provide type, creator and flags.
See also:
CarbonEventsScrapMBS.GetFile(byref file as folderitem, byref type as string, byref creator as string, byref flags as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns true on success and false on failure.
Type and Creator are the Mac OS 9 file types.
flags are the normal Finderflags as you get them if using GetFileFlagsMBS(file).
On newer Mac OS X versions with 12.4 plugin, we fixed this function. But there we can't provide type, creator and flags.
See also:
CarbonEventsScrapMBS.GetText as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Some data provider generate the data for the scrap only if you read it, so this function may be slower than just TextAvailable.
Returns "" on any error.
CarbonEventsScrapMBS.GetUnicodeText as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Some data provider generate the data for the scrap only if you read it, so this function may be slower than just TextAvailable.
Returns "" on any error.
CarbonEventsScrapMBS.PictAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns false on any error.
CarbonEventsScrapMBS.TextAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This function is much faster then if you use Textsize.
Checks only for plain TEXT, not for unicode or styled text.
Returns false on any error.
CarbonEventsScrapMBS.TextSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 2.8 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Checks only for plain TEXT, not for unicode or styled text.
Returns 0 on any error.
CarbonEventsScrapMBS.UnicodeTextAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This function is much faster then if you use UnicodeTextsize.
Returns false on any error.
CarbonEventsScrapMBS.UnicodeTextSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Carbon Events | MBS MacCF Plugin | 3.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Returns 0 on any error.
The items on this page are in the following plugins: MBS MacCF Plugin.