Post not yet marked as solved
Hi Guys,
I am looking for an API which I can integrate in my Java project to convert .heic images to .jpg images. Let me know if any API which can be integrated to Maven based project.
Post not yet marked as solved
Translated Report (Full Report Below)
Process: SAPGUI [1388]
Path: /Applications/SAP Clients/*/SAPGUI 7.70rev3.app/Contents/MacOS/SAPGUI
Identifier: com.sap.platin
Version: 770.4.300 (770.4.300)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 502
Date/Time: 2022-03-29 09:41:01.4338 +0100
OS Version: macOS 12.3 (21E230)
Report Version: 12
Anonymous UUID: 0EB8A533-EF4A-BF01-1D6B-A349CA5F2736
Time Awake Since Boot: 1800 seconds
System Integrity Protection: enabled
Crashed Thread: 42 Java: InvokeLaterDispatcher
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Model: MacBookPro14,1, BootROM 447.80.3.0.0, 2 processors, Dual-Core Intel Core i5, 2,3 GHz, 8 GB, SMC 2.43f11
Graphics: Intel Iris Plus Graphics 640, Intel Iris Plus Graphics 640, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3039
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x170), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.3)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB30Bus
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5
Post not yet marked as solved
Hello,
I am trying to copy files using AppleScript(javascript) and for the life of me cannot figure out the correct syntax. I have tried all the possible variations i can think of the following but nothing seems to work. Any suggestions would be greatly appreciated!.
var app = Application.currentApplication()
app.includeStandardAdditions = true
// Tried this
app.duplicate("/tmp/file1.txt"), {
to: "/tmp/file2.txt"
})
// And all sorts of variations such as
app.duplicate(Path("/tmp/file1.txt"), {
to: Path("/tmp/file2.txt")
})
// And not including file names
app.duplicate("/tmp/file1.txt"), {
to: "/tmp/"
})
Post not yet marked as solved
I can't seem to find any more-or-less "official" place to discuss JavaScript for Automation (JXA). I've managed to develop some level of skill at JXA, although I have a long way to go.What I want to know is, is there some place I can go to both contribute my knowledge, and get some answers?Here's one example of a situation where I have no idea where to go to for answers:Let's say I have an object that I want to turn into a plist XML string. I use code like this:function serializeObjectToXmlPlist(obj) {
var data = $.NSPropertyListSerialization
.dataWithPropertyListFormatOptionsError(
$(obj), $.NSPropertyListXMLFormat_v1_0, 0, null);
var nsString = $.NSString.alloc
.initWithDataEncoding(data, $.NSUTF8StringEncoding);
return $(nsString).js;
}The problem with this code is that if there are any nodes of type "data" (which contain base64-encoded strings), their content does not get serialized to the XML string.Where do I go to find answers to questions like this?Thanks.