Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Mac Software
Programming
AppleScript
Apple Script - Take User Input and Open URLs (replacing part of context URL with user input string) in Safari
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="btkr, post: 1565005, member: 24534"] Hi All - I am new user of MacBook and new to Apple Scripting. I am looking for help on Apple script which takes user input and open the URLs (by replacing string in URL with user input) in Safari tabs. Let me explain what I am looking for. I have two URLs as follows: [URL]https://www.mycompticketss.com/tickets/ticket-number[/URL] [URL]https://www.mycomptikcetss.com/tickets/ticket-number/history[/URL] In above URLs you will find ticket-number as an example, this ticket number should be replaced with what ever the user input number which is provided when running apple script. for e.g. if we run apple script and provide user input as 1234, apple script should open below URLs in safari tabs. [URL]https://www.mycompticketss.com/tickets/1234[/URL] [URL]https://www.mycomptikcetss.com/tickets/1234/history[/URL] I have multiple URLs as above, I just listed two as an example. Can someone let me know the apple script which can implement above for me? thanks! [/QUOTE]
Verification
Post reply
Forums
Mac Software
Programming
AppleScript
Apple Script - Take User Input and Open URLs (replacing part of context URL with user input string) in Safari
Top