Spatie in AppleScript
13 februari 2007 - 17:26   
geplaatst door: Island
Hoi,

Ik ben bezig met AppleScript een Colloquy plugin te maken om je Safari status te tonen. Dit werkt nu dus via /safari. Maar ik wil ook /safari open http://... enzo maken? Hoe werkt dit juist?

Ik dacht om dit


if c is "safari" then
tell view to send message my get_current_link()
return true

Zo te doen

if c is "safari link" then
tell view to send message my get_current_link()
return true
(bijvoorbeeld)

Maar als ik dan /safari link druk dan neemt hij enkel maar /safari ..


Hopelijk kan iemand helpen  :thumbs-up:

Spatie in AppleScript
13 februari 2007 - 21:00    reactie #1
geplaatst door: bert
Ik snap hier niets van, maar is de oplossing dat die spatie %20 moet zijn?

Bert

Spatie in AppleScript
13 februari 2007 - 21:12    reactie #2
geplaatst door: Island
Laat maar, met arguments lukte het me  :boring:  :woot:

(Bewerkt door Island om 13:57, 14-02-2007)