Turn off Scripting error dialog

Discuss and share scripts and script files...
Post Reply
Zardoz2293
Posts: 616
Joined: 09 Nov 2011 20:20
Location: USA

Turn off Scripting error dialog

Post by Zardoz2293 »

How do you prevent the scripting dialog from displaying when a rename error occurs with renameitem? If the value is "" if it's invalid you can tell in the code, but if you don't want anything reported to the user, how?

Thanks
MacOS Tahoe v26.5.1
VM (Client): Windows 11 Pro (AArch64), 25H2.26200.8655 (10.0)
Display: Main=MacBook 4112 x 2658 @200%; External 3840 x 2160 @125%

admin
Site Admin
Posts: 66259
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Turn off Scripting error dialog

Post by admin »

Which error do you mean? Post code.

Zardoz2293
Posts: 616
Joined: 09 Nov 2011 20:20
Location: USA

Re: Turn off Scripting error dialog

Post by Zardoz2293 »

admin wrote:Which error do you mean? Post code.
Don, I know this is a valid error, but it takes considerable time to produce a procedure it -- I'd rather spend time elsewhere, unless I get slapped by it again. Further, I'm to starting seriously to think the origin of actually creating this error might very well be directly related to where this thread is now going to go (I suspect another thread I've posted is also caused by): http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=7587
MacOS Tahoe v26.5.1
VM (Client): Windows 11 Pro (AArch64), 25H2.26200.8655 (10.0)
Display: Main=MacBook 4112 x 2658 @200%; External 3840 x 2160 @125%

Post Reply