Search found 73 matches

by Nonsanity
Thu Apr 25, 2019 4:56 pm
Forum: Off-Topic
Topic: [SOLVED] Is Community Plus win 9.0.2 slow ?
Replies: 13
Views: 11250

Re: [SOLVED] Is Community Plus win 9.0.2 slow ?

I just started doing some development in Livecode on a Windows machine and ran into the same problem. I solved it by going into the Edit menu in a script editor window, and then under Options, turning off everything except Autoformat (which I like and doesn't cause slowdowns while typing). Now the e...
by Nonsanity
Fri Aug 09, 2013 5:17 pm
Forum: Internet
Topic: libURLDownloadToFile and cgi links
Replies: 1
Views: 3134

libURLDownloadToFile and cgi links

I've been doing some web scraping of a page for downloading of listed files, but I'm encountering some difficulty with libURLDownloadToFile when the link doesn't contain the actual filename, such as when it's some sort of cgi script that then returns the actual file. When the filename is in the url,...
by Nonsanity
Fri Aug 09, 2013 5:08 pm
Forum: Internet
Topic: Internet Library Question - How to retrieve every link?
Replies: 12
Views: 13163

Re: Internet Library Question - How to retrieve every link?

This thread is a bit old, but I thought I'd add some of the tool functions I use to parse any text chunk for particular bits, since I've been doing this a lot lately. I use these functions all the time to extract URLs from HTML source. function CutTo src, pat get offset( pat, src ) if it > 0 then re...
by Nonsanity
Fri Jul 13, 2012 3:59 pm
Forum: Talking LiveCode
Topic: Bringing a Livecode Application to the Front
Replies: 1
Views: 3209

Bringing a Livecode Application to the Front

I've got an interesting in-house need that would normally go against good human interface guidelines. I have a Livecode application that sits in the background behind other applications (on Windows in this case) that is constantly polling for a particular keystroke combination. When that happens, it...
by Nonsanity
Wed Mar 07, 2012 5:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to show a Terminal from LC under OSX?
Replies: 9
Views: 6301

Re: how to show a Terminal from LC under OSX?

Let me clarify: The open process command doesn't work on OS X to start command line UNIX processes, like the ones I was talking about. As per the current docs: Note: On OS X systems, you can use the open process command to start up an application, but not a Unix process. To work with a Unix process,...
by Nonsanity
Wed Mar 07, 2012 5:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to show a Terminal from LC under OSX?
Replies: 9
Views: 6301

Re: how to show a Terminal from LC under OSX?

As "open process" has never made it to OS X (does 5.5 have it yet? phu-leeease?) you have to use shell(), but this can be done without blocking. If you set up your shell command to run in the background ("&") and send the output to a text file ("> /tmp/myoutput.txt") then the shell command will retu...
by Nonsanity
Mon Feb 21, 2011 3:38 pm
Forum: Talking LiveCode
Topic: Adding images to Fields ?
Replies: 5
Views: 5920

Re: Adding images to Fields ?

Thanks, Jean-Marc.

I thought about that possibility once, but then thought that it would be silly. Makes sense now though. I should have at least tried it.
by Nonsanity
Mon Feb 21, 2011 6:54 am
Forum: Talking LiveCode
Topic: Adding images to Fields ?
Replies: 5
Views: 5920

Re: Adding images to Fields ?

If I have a variable that was filled with a line like this: put url aTempImageURL into myImg I can do this: set the text of img 1 to myImg But these do not work: set the imageSource of char 1 of fld 1 to myImg set the imageSource of char 1 of fld 1 to the imagedata of img 1 set the imageSource of ch...
by Nonsanity
Fri Aug 13, 2010 5:34 am
Forum: Using Externals
Topic: External System Clicks (for macros)
Replies: 3
Views: 5010

Re: External System Clicks (for macros)

Ah... The AppleScript idea seems like it might pan out. A bit hacky, but I think it will work.

The Extra Suites app from http://www.kanzu.com/ did the trick. It adds better mouse control to AppleScript.

Now if only there was a similar addition to Rev........ :)
by Nonsanity
Fri Aug 13, 2010 5:03 am
Forum: Using Externals
Topic: External System Clicks (for macros)
Replies: 3
Views: 5010

Re: External System Clicks (for macros)

I mainly want to be able to simulate clicks outside of Rev, in some other application. Rev already knows where the mouse is on the screen, but the built-in commands to click just send messages, which will do nothing for other apps. Using Applescript is an idea, but I don't think it would work for ev...
by Nonsanity
Sun Aug 08, 2010 11:24 pm
Forum: Using Externals
Topic: External System Clicks (for macros)
Replies: 3
Views: 5010

External System Clicks (for macros)

Has anyone come across an external that sends a system click or mouse motion outside of Rev, such as one would use to create macros with other applications?

I'm looking for a Mac OS X compatible solution for this.

Thanks!
by Nonsanity
Tue Dec 01, 2009 7:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: QuickTime Movies in revlets...
Replies: 11
Views: 6952

Re: QuickTime Movies in revlets...

Ah! Great news... When in doubt, HACK. :)
by Nonsanity
Wed Nov 18, 2009 12:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: RevWeb and mobile web site
Replies: 4
Views: 3524

The iPhone, at this time, doesn't allow any app that executes loaded code. Probably (by my guess) to prevent security or performance issues. But that would rule out anything Rev-based unless the result was compiled and the "do" command was disabled, as well as scripts editing scripts. In short, anyt...
by Nonsanity
Wed Nov 18, 2009 12:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: QuickTime Movies in revlets...
Replies: 11
Views: 6952

By editing the source URL for the video in the link above (the HD movie player) and changing it to "http://images.apple.com/quicktime/gallery/cubicvr/media/times_square.mov" I could get the QTVR to load. BUT... It doesn't look like any of the mouse or keyboard events QTVRs use to manipulate the imag...
by Nonsanity
Mon Aug 03, 2009 5:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Known Issues - (ALPHA) Web Plugin
Replies: 24
Views: 15627

Another thing I've found out about the alpha plugin, it doesn't shut down well. In Terminal, you can type: top -o cpu ...to get a live list of the tasks and programs that are taking up the most of your CPU's time. I had noticed that my MacBook Pro had been running slower and slower, culminating with...

Go to advanced search