Copying Files Mac Sonoma

Mike Matthews - Omnis omnis at lineal.co.uk
Sat Jan 6 10:07:17 UTC 2024


Hello Das,

Is this with Studio v11?

I’m sure that v10 doesn’t have a working message for the fileOps commands.  If you add a Working Message command before the FileOps command, you will get a working message, but no progress.  However, there is a delay in showing the working message, so sometimes I add 3-4 second loop prior to the FileOps command, and after the Working Message.  So a big file will take linger than the delay setting, and a smaller file will not trigger the display, unless you modify the delay settings.

This is from the help guide, note there is display delay setting, and now with v10 onwards, you just have to know this stuff.  The older method editor gave you the boxes to add these values, but they still work however :

Description
This command displays a window, usually to indicate that Omnis is working or waiting for input. The window displays an alternating icon to indicate that Omnis is actively working. A working message automatically closes when the method quits, and control returns to the user.
The Title parameter contains a title for the working message window, together with parameters that configure the behavior and appearance of the window. The method editor has a Configure button that you can use to easily set these parameters. The Title parameter has the following syntax:
<Title text>/<start id>,<end id>;<speed>;<progress bar range>;<display delay>
start id and end id specify a range of icon ids, which identify the icons drawn in the alternating sequence on the working message window. These are usually negative numbers, as each id is the sum of the icon id and the value of the constant k16x16, k32x32 or k48x48, to indicate the size of the icon. These icons can come from #ICONS for the library, or OmnisPic or UserPic.
speed indicates the time, in 1/60th second units, that an icon in the alternating sequence is displayed.
progress bar range specifies the range of a progress bar. If you specify a non-zero value, then the working message window displays a progress bar, and each call to the Working message command increases the length of the bar until it reaches the range.
display delay specifies the time in 1/60th second units, that must elapse before the working message window becomes visible. This allows you to use the Working message command in situations where the processing is sometimes very rapid, and in that case avoid the message displaying and disappearing almost immediately.
If a working message is placed in a loop with a Cancel button, pressing Ctrl-break/Ctrl-C/Cmnd-period or clicking on Cancel quits all methods. However, if you first execute Disable cancel test at loops, you can implement an orderly exit. If Disable cancel test at loops is executed before the loop, the cancel is detected only on executing the Working message.
A Repeat count option is available with Working message, and displays the value of an internal counter which indicates the number of times a particular Working message has been encountered. If the command is in a Repeat loop, the counter increments at each pass of the loop.

Mike Matthews

Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>

omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>

www.lineal.co.uk<http://www.lineal.co.uk/>

www.sqlworks.co.uk<http://www.sqlworks.co/>



On 5 Jan 2024, at 19:05, Das Goravani <goravanis at gmail.com<mailto:goravanis at gmail.com>> wrote:

Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.



Dear Listers,

I’m on a MacBook Pro on Sonoma using a disk based external drive.

What is up with copying files on Sonoma. The Mac no longer puts up a working dialog when copying files and it is so slow.

Apparently it’s meant to work slowly in the background?

Is what I"m experriencing what you experience?

Thanks

Das
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com



More information about the omnisdev-en mailing list