Search found 882 matches
- Tue Feb 19, 2008 4:04 pm
- Forum: Talking LiveCode
- Topic: Can I determine if another application is running?
- Replies: 9
- Views: 8232
Ok... you have stack App1 and stack App2. They communicate fine using sockets. In the msgbox if you type "put the opensockets" or "put the openstacks", everything is fine and you get the list (for the "opensockets" you get the port of stack App2, since you locally did a "accept connections...", the ...
- Tue Feb 19, 2008 12:59 pm
- Forum: Talking LiveCode
- Topic: Can I determine if another application is running?
- Replies: 9
- Views: 8232
Inter application communication
Great !!! Thanks (As you can imagine I know nothing about Unix command...) I'm working on the long debated problem of multiplatform application communication, using sockets to talk between Apps, trying to develop a "strong" protocol, where, for example, if App2 is closed, App1 is able to restart it ...
- Mon Feb 18, 2008 8:30 pm
- Forum: Talking LiveCode
- Topic: Can I determine if another application is running?
- Replies: 9
- Views: 8232
Can I determine if another application is running
You have to use applescript or run a command over the shell. Look under shell in the doc. put shell("ps -x") into tProcessesOnMyMac if offset ("/Mail.app/", tProcessesOnMyMac) > 0 then answer "mail is open" end if I tried the shell command (on MacOSX 10.4.11) but in the variable, every line gets cu...
- Wed Jan 23, 2008 1:39 pm
- Forum: Talking LiveCode
- Topic: mouseDoubleDown Problems
- Replies: 14
- Views: 14109
- Tue Jan 22, 2008 10:44 am
- Forum: Talking LiveCode
- Topic: mouseDoubleDown Problems
- Replies: 14
- Views: 14109
MouseDoubleDown Problems
You are very kind. My stack is complex and it's hard to simplify it. But the main point is that MouseDoubleDown does not work consistently... try this: on a locked fld: on mousedown FromMouseDown end mousedown on mouseup FromMouseup end mouseup on MouseDoubleUp --get flushEvents("all") FromMouseDoub...
- Sun Jan 20, 2008 4:01 pm
- Forum: Talking LiveCode
- Topic: mouseDoubleDown Problems
- Replies: 14
- Views: 14109
Exactely. Make a locked field with this: on mousedown FromMouseDown end mousedown on mouseup FromMouseup end mouseup on MouseDoubleUp FromMouseDoubleUp end MouseDoubleUp Then put this in the stack: on FromMousedown --wait 1 seconds with messages put "FromMousedown" & return after msg end FromMousedo...
- Sun Jan 20, 2008 2:02 pm
- Forum: Talking LiveCode
- Topic: mouseDoubleDown Problems
- Replies: 14
- Views: 14109
MouseDoubleDown ProblemsLet'see if I can explain:
Let'see if I can explain: I'm making a classic calendar, where appointment rettangles (made with fields), strech vertically on the hours and are positioned on the days of the week. - When I doubleclick the field, it opens up a dialog with the details of the appointement. - When I hold down the mouse...
- Sat Jan 19, 2008 12:39 am
- Forum: Talking LiveCode
- Topic: mouseDoubleDown Problems
- Replies: 14
- Views: 14109
It does not really matter... I've put MouseDoubleUp with the same result and I dont see the differences between the two (the docs does not mention any differences...). One result I've obtained, is putting a "wait 100 milliseconds with messages" on the mouseDown and checking the statements called by ...
- Fri Jan 18, 2008 5:47 pm
- Forum: Talking LiveCode
- Topic: mouseDoubleDown Problems
- Replies: 14
- Views: 14109
MouseDoubleDown Problems
On OSX 10.4.9 I also noticed that if you doubleckick too fast, or as fast as you would usually do on any application, no MouseDoubleDown (or MouseDoubleUp) get sent. You must do it slowly in order to work (or you get just down and up).
Is there a way to solve this problem ?
Regards
Is there a way to solve this problem ?
Regards
- Thu Sep 27, 2007 3:53 pm
- Forum: Talking LiveCode
- Topic: Finder menu application - how ?
- Replies: 4
- Views: 5199
Thanks for the answers... I decided to make the application run on background (on OSX setting manually the "LSUIElement" to "1" on the info.plist, since i dont think it is possible to do it on Revolution). I will call this application, that will not be visible on the Finder dock, from the main appli...
- Tue Sep 25, 2007 2:21 pm
- Forum: Talking LiveCode
- Topic: Finder menu application - how ?
- Replies: 4
- Views: 5199
Finder menu application - how ?
I would like to create an application that sit itself on the finder menu of OSX, like the date-time, Skype, the speaker volume, etc.
How do I do this ? And how do I resolve it on a window version ?
The application is similar to an alarm clock...
Thanks
How do I do this ? And how do I resolve it on a window version ?
The application is similar to an alarm clock...
Thanks
- Wed Sep 12, 2007 11:28 am
- Forum: Talking LiveCode
- Topic: scrolling with mouse wheel
- Replies: 11
- Views: 10678
mousewheel scrolling, slow update with rawkeydown
If you want to scroll a group (background), you need to intercept the rawkeydown message. Here is the relevant script for a windows system, I assume it works on other systems as well: on rawkeydown pKey if pKey = 65309 then put the vscroll of me into A put A - 14 into B set the vscroll of me to B e...