Tracking the active time on the document
Hi All,
I am trying to calculate the total active time spent on a document and for the same i tired using IIdleTaskMgr::kMouseTracking and IIdleTaskMgr::kUserActive flags in the runTask,but it is not working.Can somebody tell me if it is the right approach or not????
IdleTask won't be of much help. In fact it's probably going to give you the opposite result.
IdleTasks are only given time when things are quiet for InDesign - as a rough rule of thumb.
That is an IdleTask only really gets some time to work if nothing else is going on.
That's why it's named as it is: IdleTask is a way of taking moments when InDesign is idle to do other tasks.
You probably need to think what you mean by being actively worked on.
This will be a hard thing to measure meaningfully.
One approach would be to create an ActiveSelectionObserver.
This would track people clicking about on items that are on a page.
I'd then observe both SelectionChanged and AttributeChanged.
Then I'd bracket those events - would 5 seconds be a long time between actions?
What I'd do is every time something changed I'd reset my timer to 5 seconds.
While events happened within that time then work is being done.
Anything longer and the person is no longer working on it.
This method will probably underestimate the time.
A another measure would be to get the time when a document is opened
and substract that from the time the document is closed.
Pausing while the document is inactive might be also an idea.
This method will probably overestimate the time worked on a document.
There's probably a tonne of other ways of measuring time.
But as you can see, how you do it depends on what you are trying to measure.
Similar Messages
-
Every time i play a song in my i-tune 10.6, about up to half way mark, i-tune will automatically skip to the next track and playing it (next track) at the same time as the current track. i don't know if anyone has the same problem, but i haven't sync my ipod touch 4 gen to my i-tune playlist for the longest time, cus i was afraid to transfer the problem to it since i have a pc (win 7) but not MAC.
i am sorry, guys, but I really really really need you guys' help. if u know ANYTHING...
-
How to improve the activation time for a standard DSO
Hi all,
I'm facing an issue related to the activation of a DSO. The SM37 log is as follows....
12:03:16 Job started
12:03:16 Step 001 started (program RSPROCESS, variant &0000000006946, user ID BWREMOTE)
12:03:20 Attivazione is running: Data target ZFIZIASA, from 93,627 to 93,627
12:18:00 Overlapping check with archived data areas for InfoProvider ZFIZIASA
12:18:00 Data to be activated successfully checked against archiving objects
12:18:02 Status transition 2 / 2 to 7 / 7 completed successfully
12:18:13 Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCTL_4IC45QJA588GKZ0M7JEJ3HCAR with ID 1218130
12:18:19 Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCTL_4IC45QJA588GKZ0M7JEJ3HCAR with ID 1218190
12:18:20 Parallel processes (for Attivazione); 000003
12:18:20 Timeout for parallel process (for Attivazione): 000300
12:18:20 Package size (for Attivazione): 020000
12:18:20 Task handling (for Attivazione): Processi batch
12:18:20 Server group (for Attivazione): Nessun gruppo di server config
12:18:20 Activation started (process is running under user BWREMOTE)
12:18:20 Not all data fields were updated in mode "overwrite"
12:18:20 Process started
12:18:20 Process completed
12:18:20 Activation ended
Please have a look into the bold 3rd & 4th line. I couldnt able to analyse where the issue is and what to do to minimize the time for activation.
It is very challenging, please reply!
Please help.
Thanks in adv.
AjayHi Kundan,
Thanks for the response!
Actually, I have two identical DSO, having all the char & KF same and feeding the data from same DS at the same time but the issue is...
1) For 1st DSO, Activation log....
01.07.2010 02:02:41 Job started
01.07.2010 02:02:41 Step 001 started (program RSPROCESS, variant &0000000006946, user ID BWREMOTE)
01.07.2010 02:02:46 Attivazione is running: Data target ZFIZIASA, from 93,751 to 93,751
01.07.2010 02:19:27 Overlapping check with archived data areas for InfoProvider ZFIZIASA
01.07.2010 02:19:27 Data to be activated successfully checked against archiving objects
01.07.2010 02:19:27 Status transition 2 / 2 to 7 / 7 completed successfully
01.07.2010 02:19:28 Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCTL_4ICC6UMXYT00Z2DYOQV8QL8CJ with ID 021
01.07.2010 02:19:30 Parallel processes (for Attivazione); 000003
01.07.2010 02:19:30 Timeout for parallel process (for Attivazione): 000600
01.07.2010 02:19:30 Package size (for Attivazione): 020000
01.07.2010 02:19:30 Task handling (for Attivazione): Processi batch
01.07.2010 02:19:30 Server group (for Attivazione): Nessun gruppo di server config
01.07.2010 02:19:30 Activation started (process is running under user BWREMOTE)
01.07.2010 02:19:30 Not all data fields were updated in mode "overwrite"
01.07.2010 02:19:30 Activation ended
2) For 2nd DSO, the activation log is..
01.07.2010 02:01:13 Job started
01.07.2010 02:01:13 Step 001 started (program RSPROCESS, variant &0000000006947, user ID BWREMOTE)
01.07.2010 02:01:35 Attivazione is running: Data target ZFIGL_02, from 93,749 to 93,749
01.07.2010 02:01:43 Overlapping check with archived data areas for InfoProvider ZFIGL_02
01.07.2010 02:01:43 Data to be activated successfully checked against archiving objects
01.07.2010 02:01:53 Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCTL_4ICCAR91ALHE1VHSB6GV9PAPV with ID 02015300
01.07.2010 02:01:54 Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCTL_4ICCAR91ALHE1VHSB6GV9PAPV with ID 02015400
01.07.2010 02:01:56 Program RSBATCH_EXECUTE_PROZESS successfully scheduled as job BIBCTL_4ICCAR91ALHE1VHSB6GV9PAPV with ID 02015600
Now my client is asking to lower the activation time for 1st one as it is taking for 2nd one.
I'm toatally blank now that what & how to do it!
The volume of data ...
ZFIZIASA
Active table - Number of entries: 13.960.508
Change Log Table - Number of entries: 13.976.530
ZFIGL_02
Active Table - Number of entries: 21.923.947
Change Log table - Number of entries: 21.938.657
Thanks,
ajay
Edited by: sap.ajaykumar on Jul 6, 2010 1:47 PM -
I am trying to record a basic guitar track while I sing along. I don't want my vocals to be recorded at the same time but the internal mic seems to be picking up the vocal and guitar sounds. I tried System Preferences, Sound, Line In - Audio Line Input. It seems to be a common problem in Garageband for the Mac, ipad and iphone.
for me it turned out that the jack into the iMac was loose. Once I fiddled with it everything worked okay
-
Problem with the active version of the transfer rule ABAP program with sour
Hi,
I have a problem with the active version of the transfer rule ABAP program with source system EXCEL.
The system does not react to changes done in the transfer rule coding. For FISCPER I have hardcoded the result 'BABABA' and still the results delivered are those from the CSV.
Resetting the system buffers does not help. The problem is systematic in combination with source system EXCEL (i.e. not only 1 InfoSource). Checking the active program Extras->Display Program shows the coding (result='BABABA') being there, but
as stated, the system does not produce the result BABABA, but instead the result of the CSV.
It seems as if the original version from the very first activation of the transfer rule program remains somewhere and continues to be used. Does anybody know how to flush it out and get the system to actually use the coding appearing as the active program.
I have posted an OSS note, but SAP takes it time to answer and I am under time pressure so I figured that maybe one of you know who to solve it before SAP does.
Greetings and thanks,
MartinHi martin,
just try to go out the RSA1 and then return to your infopac. ...
sometimes there some "cache" trouble -
AAfter upgrading to IOS 8.1, the activity icon on the status bar will not stop rotating. It's like the webpage never completely downloads. Any suggestions?
Nginear48 wrote:
Thanks for your quick response. I've tried everything you suggested and get only temporary fixes. Sometimes for a day or two, sometimes only until I use Safari for the first time. It's annoying and probably effects battery life between charges.
You would think that it must have some effect on the battery, but oddly enough, the update to iOS 8 actually helped my battery life, in spite of all of these hinky little issues that are taking place. In my experience, the activity icon is not affecting the battery in a negative way.
Another issue with IOS 8.1 that you may have seen is the loss of icon pictures on home pages. Again it seems to be Safari related, since app icons found in the App Store are not affected, only web based icons you personally put on home pages. I get what I call a test screen similar to what you used to get on old tv sets on every one of my personal icons.
I know exactly what you mean. I got that as well. On a few of them, when I opened the websites using the generic test screen icons and then closed them, they changed back to the way that they should look. For the ones that did not change, I recreated the home screen shortcuts and deleted the generic looking ones - the test screen icons.
And don't get me started on iBooks.
For the very limited use that I make of the iBooks app, i haven't noticed any problems, but I rarely use the app. I don't read books on the iPad other than a few user guides and if they are pdf guides, they reside in more reliable and feature rich pdf apps on my iOS device.
I wish that I had the fix for the spinning activity icon, but everything that I try, is temporary at best. IMO, this is the buggiest iOS update that I have seen, and I have been using iOS devices since iOS 3 on my first iPad. I realize that there are plenty of people that are not experiencing issues, but I have seen a number of weird things that I wish I could fix. None of my problems are major, but they are annoying. -
Can I show two angles at the same time in the final edit rather than alternate with Multicam?
Stack two clips on top of each other and reduce the sizes. I think that's what you want.
-
I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps. I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of Adobe InDesign CC (10.1). You must use that version or later to open the file." AARRGGHH! So how do I access the file?
Sounds like you opened and saved it in CC, so now you need to go back to CC and either complete the project there, or export to IDML to take it back into CS6.
-
On my HP Touchsmart 310 PC how do I increase the inactivity time on the display?
On my HP Touchsmart 310 PC how do I increase the inactivity time on the display? Windows 7, 64-bit
Hi,
Please try Control panel > Power options > Change when the computer sleeps
Hope this helps.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
How can i get the System Time from the other host
I want to get the System Time from the other host in the LAN,How can I get the Time using Java.
Such as I am in WIN 2000 and I have a Unix host in LAN, I want to get unix host System time, How can I do it.Open a socket to port 13 and read a string with the time.
-or-
Open a socket to port 27 and read 4 bytes that are a network order timestamp
Assuming that your UNIX machine has those services running, most do -
I want to Connect my Mac Mini as a Slave to a Mac pro Server while at the same time using the Mac mini's thunderbolt ports peripherals ( ie monitor, Sound Card, Hard drives) Creating a poor man's new mac Pro. Can this be Done?
Well, I really would love the new unreleased mac pro however , I'm not sure of the expected cost , Everyone speculates from $3,000 to $8,000, in which I may have to wait a while to purchase.
To the point .... I want fully functional thunderbolt ports to be on the current mac pro's .... wonder if anyone had workarounds yet?... or could I chain the the current mac pro to a mac mini to make that happen? -
I’ve tried to update my i-Tunes version after the site suggested I should following my i-Pad Air being plugged into it for the first time. The update seemed successful but the program would not open at all despite switching off the PC and re-starting several times. I then tried wiping the original software from the computer and re-downloading from scratch. Each time I tried the download failed with a message saying “Service “Apple Mobile Device” failed to start. Verify that you have sufficient privileges to start system services” At this stage, the only way forward was to “abort” the download. This I have done now four times and the same thing happens. When I did finally manage to get an i-Tunes shortcut on my desktop, the program wouldn’t open saying: “i-Tunes was not installed correctly. Please re-install i-Tunes. Error 7 (Windows error 193)” Any ideas to resolve this?
Try the following user tip:
Troubleshooting issues with iTunes for Windows updates -
Is there a way stream video from a 2012 MacBook Air to a TV using Apple TV and at the same time steam the audio to an air speaker. Also the same question but using an ipad
You can try one thing. Follow these steps:
1. On your Mac, turn on AirPlay Mirroring and connect it to the Apple TV, so audio and video will stream from the Apple TV.
2. Turn off the sound of the TV where you have connected the Apple TV.
3. Then, make sure that you have turned on the AirPlay speakers. Then, open System Preferences > Sound > Output, and choose the external speakers, so sound will stream from these external speakers.
This should work correctly -
Can I hide the set time in the event boxes in Week View?
Can I hide the set time in the event boxes in the Week View?
David
No way around this that I can find. That toolbar pops up if you pause the show.
The nearest I could figure is to use the settings button for a long slide - 'Play each slide for 120 seconds' then tapping the arrows will move the slides along without showing the toolbar. And the 120 second slide is almost as good as a pause.
iPhoto menu -> Provide iPhoto Feedback
Regards
TD -
i need to know how to edit a drawing - basically remove the arrows and text but at the same time match the background of the existing pic. then re add new text. how do i erase the arrows and text and arrows but match current background of pic. step by step explanation please beginner
Please post (a relevant section of) it right on this Forum.
Maybe you are looking for
-
How can I remove my icloud pictures on my iPhone
Hi! Since last september I have a macbook, I have connected my macbook with my iPhone. All my pictures on my macbook are now on my iPhone but I don't know how to delete them. Can you tell me how to do this? Your Sincercenly, Nynke Dijkstra
-
Time Machine takes up much more space than actually data backed up...
Every time I backup with time machine, it uses up gigs of space on my backup drive, regardless of increment or decrement of data on Mac. I could put 200 megs since last backup and TM eats 4 gigs. I don't change the file exclusion selections at all.
-
User forgot to add delivery costs to purchase order
Got a user that forgot to add delivery costs to a purchase order, now it has been GR and IRd, now they want to add the delivery costs, of course they have to reverse the IR and possibly the GR as well, go to change mode and add this missing condition
-
Warning message required when we chnage invoicing party in MIRO
HI All, Our client require the below settings. If we change the invoicing party in MIRO which is different than the PO vendor then system should throw warning message or pop up. I had tried to convence them that it can impact scenarios but they says
-
HT1338 how do i get from OS X 10.5.8 to mountain lion?
that's the whole question. how do i get from 10.5.8 to mountain lion?