Search found 436 matches
- Thu Nov 13, 2025 12:31 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How do I get the current URL of the page loaded in the browser widget
- Replies: 12
- Views: 1518
Re: How do I get the current URL of the page loaded in the browser widget
Hi Bob, needed to enter the URL in the widget's property inspector for it to register (go figure?) However on the site I am interested in no change in the reported URL. I looked at the script and noticed you are expecting a "browserDocumentLoadComplete" message (as did I), however the site I am on d...
- Tue Nov 11, 2025 11:54 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How do I get the current URL of the page loaded in the browser widget
- Replies: 12
- Views: 1518
Re: How do I get the current URL of the page loaded in the browser widget
Thanks Bob for the thought. Interestingly using your handler only returned "false"!!! Removing the "and return" gave me a URL. Unfortunatley this URL did not change when I changed pages in the widget. Bizarrely nothing I did changed it. It was correct for the site, as tested in an actual browser but...
- Sun Nov 09, 2025 6:12 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How do I get the current URL of the page loaded in the browser widget
- Replies: 12
- Views: 1518
Re: How do I get the current URL of the page loaded in the browser widget
Seems like it is the site I am going to. I need to invesitage more.
- Sat Nov 08, 2025 1:02 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How do I get the current URL of the page loaded in the browser widget
- Replies: 12
- Views: 1518
Re: How do I get the current URL of the page loaded in the browser widget
Hi Klaus,
No still nothing here.
Was your script in the card?
James
No still nothing here.
Was your script in the card?
James
- Sat Nov 08, 2025 8:22 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How do I get the current URL of the page loaded in the browser widget
- Replies: 12
- Views: 1518
How do I get the current URL of the page loaded in the browser widget
Hi all, I am stumped at determining the URL of the current page being displayed in the browser widget. I have a stack with the widget and I set its URL The page displays and I can interact with it. Great. I then click on a link within the page (actually on a pop upwundow) and go to another page. How...
- Wed May 14, 2025 6:47 am
- Forum: iOS Deployment
- Topic: Help with touchmove
- Replies: 4
- Views: 10415
Re: Help with touchmove
OK Got it working. I realised that as I only wanted to act at the end of the swipe putting my decision tree in the TouchMove handler would be confusing, given that it continues to be called during the swipe. So I placed it in the TouchEnd where I want the action triggered. local sLastX,sLastY, sTouc...
- Tue May 13, 2025 7:57 am
- Forum: iOS Deployment
- Topic: Help with touchmove
- Replies: 4
- Views: 10415
Re: Help with touchmove
Getting each handler to write to a field shows me:
touchStart is triggered
touchMove is not
Tested in Simulator AND my iPad
??
touchStart is triggered
touchMove is not
Tested in Simulator AND my iPad
??
- Tue May 13, 2025 2:57 am
- Forum: iOS Deployment
- Topic: Help with touchmove
- Replies: 4
- Views: 10415
Re: Help with touchmove
Thanks.
Interestingly it works once, that's it.
One swipe and then no more.
??
Will explore further.
Interestingly it works once, that's it.
One swipe and then no more.
??
Will explore further.
- Mon May 12, 2025 3:49 am
- Forum: iOS Deployment
- Topic: Help with touchmove
- Replies: 4
- Views: 10415
Help with touchmove
Hi, I am trying to enable a swipe to the right on a locked field to activate an action. I have used the following code: local sLastX, pID on touchStart pTouchData put pTouchData into pID end touchStart on touchMove pTouchID, pTouchX, pTouchY put pTouchID into pID -- sLastX[pTouchID] will be empty wh...
- Fri May 02, 2025 6:41 am
- Forum: iOS Deployment
- Topic: How to debug writing or reading a file
- Replies: 9
- Views: 38439
Re: How to debug writing or reading a file
So, the left hand doesn't know what the right hand has done.
In updating the app I decided to change the names of the pref file from what had had previously used.
Unfortunately I missed an occurrence.
Sorry
In updating the app I decided to change the names of the pref file from what had had previously used.
Unfortunately I missed an occurrence.
Sorry
- Fri May 02, 2025 1:30 am
- Forum: iOS Deployment
- Topic: How to debug writing or reading a file
- Replies: 9
- Views: 38439
Re: How to debug writing or reading a file
When I open the app, the first thing it does is check for the presence of a pref file.
if it doesn't exist it creates one.
Well it creates the folder and then the file.
This works.
There is indeed a pref file.
if it doesn't exist it creates one.
Well it creates the folder and then the file.
This works.
There is indeed a pref file.
- Thu May 01, 2025 8:21 am
- Forum: iOS Deployment
- Topic: How to debug writing or reading a file
- Replies: 9
- Views: 38439
Re: How to debug writing or reading a file
Well removed “/“, thanks @klaus.
Tested in IDE and the simulator and it worked fine.
Tested on my iPad and it fails.
The save file returns “can’t open file”
Tested in IDE and the simulator and it worked fine.
Tested on my iPad and it fails.
The save file returns “can’t open file”
- Tue Apr 29, 2025 3:15 pm
- Forum: iOS Deployment
- Topic: How to debug writing or reading a file
- Replies: 9
- Views: 38439
Re: How to debug writing or reading a file
I realised I can try the remote debugger. I can set a breakpoint and put the result after each read and write. put specialFolderPath("documents") into thisfolder put thisfolder &"/Heartease/Heartease.pref" into preffile put the result if there is a file preffile then --load prefs put the result and ...
- Tue Apr 29, 2025 10:26 am
- Forum: iOS Deployment
- Topic: How to debug writing or reading a file
- Replies: 9
- Views: 38439
How to debug writing or reading a file
Hi, I am in the process of updating my iOS app and have hit a snag that has me baffled. Me app writes an reads preference file. This worked ine in my initial app. However when building under the latest xcode and LC 10 my app shows no evidence of reading in the prefs. So the code that previously work...
- Tue Apr 15, 2025 2:02 am
- Forum: iOS Deployment
- Topic: Navbar widget only responds to labels being touched
- Replies: 1
- Views: 35195
Re: Navbar widget only responds to labels being touched
Sorry.
It was a layering error on my part.
I had a text field that covered the icons.
On updating the app I musts have reversed the layering from my previous version.
Interestingly running the app in the IDE did not show this.
It was a layering error on my part.
I had a text field that covered the icons.
On updating the app I musts have reversed the layering from my previous version.
Interestingly running the app in the IDE did not show this.